tint/hlsl: widen scope of workaround of DXC bug with const structs/arrays

Initial fix was not good enough:
https://dawn-review.googlesource.com/c/dawn/+/156900

In HLSL, composite types are all treated the same: arrays, structs,
vectors, and matrices. The bug happens when intializing a const variable
of composite type with another composite type. Any dynamic writes to the
rhs beforehand are ignored. To fix this, we simply will not emit 'const'
for any lets.

I've updated the upstream issue with these findings:
https://github.com/microsoft/DirectXShaderCompiler/issues/5883

Bug: tint:2059
Bug: tint:2150
Change-Id: I1df1017ee130514b3f6564791d1679145d8b1e7e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171880
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/lang/hlsl/writer/ast_printer/assign_test.cc b/src/tint/lang/hlsl/writer/ast_printer/assign_test.cc
index c7fc2e8..f2734ca 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/assign_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/assign_test.cc
@@ -76,7 +76,7 @@
 void fn() {
   float3 lhs = float3(0.0f, 0.0f, 0.0f);
   float rhs = 0.0f;
-  const uint index = 0u;
+  uint index = 0u;
   set_vector_element(lhs, index, rhs);
 }
 )");
@@ -154,7 +154,7 @@
 void fn() {
   float4x2 lhs = float4x2(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float2 rhs = float2(0.0f, 0.0f);
-  const uint index = 0u;
+  uint index = 0u;
   set_matrix_column(lhs, index, rhs);
 }
 )");
@@ -248,8 +248,8 @@
 void fn() {
   float4x2 lhs = float4x2(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float rhs = 0.0f;
-  const uint col = 0u;
-  const uint row = 1u;
+  uint col = 0u;
+  uint row = 1u;
   set_matrix_scalar(lhs, col, row, rhs);
 }
 )");
@@ -348,7 +348,7 @@
 void fn() {
   vector<float16_t, 3> lhs = vector<float16_t, 3>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
   float16_t rhs = float16_t(0.0h);
-  const uint index = 0u;
+  uint index = 0u;
   set_vector_element(lhs, index, rhs);
 }
 )");
@@ -382,7 +382,7 @@
 void fn() {
   matrix<float16_t, 4, 2> lhs = matrix<float16_t, 4, 2>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
   vector<float16_t, 2> rhs = vector<float16_t, 2>(float16_t(0.0h), float16_t(0.0h));
-  const uint index = 0u;
+  uint index = 0u;
   set_matrix_column(lhs, index, rhs);
 }
 )");
@@ -427,8 +427,8 @@
 void fn() {
   matrix<float16_t, 4, 2> lhs = matrix<float16_t, 4, 2>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
   float16_t rhs = float16_t(0.0h);
-  const uint col = 0u;
-  const uint row = 1u;
+  uint col = 0u;
+  uint row = 1u;
   set_matrix_scalar(lhs, col, row, rhs);
 }
 )");
diff --git a/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc b/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc
index 057b0d7..9070b70 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc
@@ -4665,41 +4665,11 @@
     return true;
 }
 
-bool ASTPrinter::IsStructOrArrayOfMatrix(const core::type::Type* ty) {
-    if (!ty->IsAnyOf<core::type::Struct, core::type::Array>()) {
-        return false;
-    }
-    return GetOrCreate(is_struct_or_array_of_matrix_, ty, [&]() {
-        Vector<const core::type::Type*, 4> to_visit({ty});
-        while (!to_visit.IsEmpty()) {
-            auto* curr = to_visit.Pop();
-            if (curr->Is<core::type::Matrix>()) {
-                return true;
-            }
-            auto [child_ty, child_count] = curr->Elements();
-            if (child_ty) {
-                to_visit.Push(child_ty);
-            } else {
-                for (uint32_t i = 0; i < child_count; ++i) {
-                    to_visit.Push(curr->Element(i));
-                }
-            }
-        }
-        return false;
-    });
-}
-
 bool ASTPrinter::EmitLet(const ast::Let* let) {
     auto* sem = builder_.Sem().Get(let);
     auto* type = sem->Type()->UnwrapRef();
 
     auto out = Line();
-
-    // TODO(crbug.com/tint/2059): Workaround DXC bug with const instances of struct/array-of-matrix.
-    if (!IsStructOrArrayOfMatrix(type)) {
-        out << "const ";
-    }
-
     if (!EmitTypeAndName(out, type, core::AddressSpace::kUndefined, core::Access::kUndefined,
                          let->name->symbol.Name())) {
         return false;
diff --git a/src/tint/lang/hlsl/writer/ast_printer/ast_printer.h b/src/tint/lang/hlsl/writer/ast_printer/ast_printer.h
index 3d14eac..9e60718 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/ast_printer.h
+++ b/src/tint/lang/hlsl/writer/ast_printer/ast_printer.h
@@ -596,10 +596,6 @@
         return builder_.TypeOf(ptr);
     }
 
-    /// @return true if ty is a struct or array with a matrix member (recursively), false otherwise.
-    /// @param ty the type that will be queried.
-    bool IsStructOrArrayOfMatrix(const core::type::Type* ty);
-
     ProgramBuilder builder_;
 
     /// Helper functions emitted at the top of the output
@@ -618,7 +614,6 @@
     std::unordered_map<const core::type::Matrix*, std::string> dynamic_matrix_scalar_write_;
     std::unordered_map<const core::type::Type*, std::string> value_or_one_if_zero_;
     std::unordered_set<const core::type::Struct*> emitted_structs_;
-    std::unordered_map<const core::type::Type*, bool> is_struct_or_array_of_matrix_;
 
     // The line index in current_buffer_ of the current global declaration / function.
     size_t global_insertion_point_ = 0;
diff --git a/src/tint/lang/hlsl/writer/ast_printer/bitcast_test.cc b/src/tint/lang/hlsl/writer/ast_printer/bitcast_test.cc
index 8c5b101..bb89d6f 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/bitcast_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/bitcast_test.cc
@@ -128,13 +128,13 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
-  const int b = tint_bitcast_from_f16(a);
-  const vector<float16_t, 2> c = tint_bitcast_to_f16(b);
-  const float d = tint_bitcast_from_f16_1(c);
-  const vector<float16_t, 2> e = tint_bitcast_to_f16_1(d);
-  const uint f = tint_bitcast_from_f16_2(e);
-  const vector<float16_t, 2> g = tint_bitcast_to_f16_2(f);
+  vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  int b = tint_bitcast_from_f16(a);
+  vector<float16_t, 2> c = tint_bitcast_to_f16(b);
+  float d = tint_bitcast_from_f16_1(c);
+  vector<float16_t, 2> e = tint_bitcast_to_f16_1(d);
+  uint f = tint_bitcast_from_f16_2(e);
+  vector<float16_t, 2> g = tint_bitcast_to_f16_2(f);
   return;
 }
 )");
@@ -194,13 +194,13 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h));
-  const int2 b = tint_bitcast_from_f16(a);
-  const vector<float16_t, 4> c = tint_bitcast_to_f16(b);
-  const float2 d = tint_bitcast_from_f16_1(c);
-  const vector<float16_t, 4> e = tint_bitcast_to_f16_1(d);
-  const uint2 f = tint_bitcast_from_f16_2(e);
-  const vector<float16_t, 4> g = tint_bitcast_to_f16_2(f);
+  vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h));
+  int2 b = tint_bitcast_from_f16(a);
+  vector<float16_t, 4> c = tint_bitcast_to_f16(b);
+  float2 d = tint_bitcast_from_f16_1(c);
+  vector<float16_t, 4> e = tint_bitcast_to_f16_1(d);
+  uint2 f = tint_bitcast_from_f16_2(e);
+  vector<float16_t, 4> g = tint_bitcast_to_f16_2(f);
   return;
 }
 )");
diff --git a/src/tint/lang/hlsl/writer/ast_printer/builtin_test.cc b/src/tint/lang/hlsl/writer/ast_printer/builtin_test.cc
index 803be81..00788ed 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/builtin_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/builtin_test.cc
@@ -407,8 +407,8 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const float f = 1.5f;
-  const modf_result_f32 v = tint_modf(f);
+  float f = 1.5f;
+  modf_result_f32 v = tint_modf(f);
   return;
 }
 )");
@@ -435,8 +435,8 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const float16_t f = float16_t(1.5h);
-  const modf_result_f16 v = tint_modf(f);
+  float16_t f = float16_t(1.5h);
+  modf_result_f16 v = tint_modf(f);
   return;
 }
 )");
@@ -461,8 +461,8 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const float3 f = float3(1.5f, 2.5f, 3.5f);
-  const modf_result_vec3_f32 v = tint_modf(f);
+  float3 f = float3(1.5f, 2.5f, 3.5f);
+  modf_result_vec3_f32 v = tint_modf(f);
   return;
 }
 )");
@@ -489,8 +489,8 @@
 
 [numthreads(1, 1, 1)]
 void test_function() {
-  const vector<float16_t, 3> f = vector<float16_t, 3>(float16_t(1.5h), float16_t(2.5h), float16_t(3.5h));
-  const modf_result_vec3_f16 v = tint_modf(f);
+  vector<float16_t, 3> f = vector<float16_t, 3>(float16_t(1.5h), float16_t(2.5h), float16_t(3.5h));
+  modf_result_vec3_f16 v = tint_modf(f);
   return;
 }
 )");
@@ -508,7 +508,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const modf_result_f32 v = {0.5f, 1.0f};
+  modf_result_f32 v = {0.5f, 1.0f};
   return;
 }
 )");
@@ -528,7 +528,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const modf_result_f16 v = {float16_t(0.5h), float16_t(1.0h)};
+  modf_result_f16 v = {float16_t(0.5h), float16_t(1.0h)};
   return;
 }
 )");
@@ -546,7 +546,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const modf_result_vec3_f32 v = {(0.5f).xxx, float3(1.0f, 2.0f, 3.0f)};
+  modf_result_vec3_f32 v = {(0.5f).xxx, float3(1.0f, 2.0f, 3.0f)};
   return;
 }
 )");
@@ -566,7 +566,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const modf_result_vec3_f16 v = {(float16_t(0.5h)).xxx, vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h))};
+  modf_result_vec3_f16 v = {(float16_t(0.5h)).xxx, vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h))};
   return;
 }
 )");
@@ -722,7 +722,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const frexp_result_f32 v = {0.5f, 1};
+  frexp_result_f32 v = {0.5f, 1};
   return;
 }
 )");
@@ -742,7 +742,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const frexp_result_f16 v = {float16_t(0.5h), 1};
+  frexp_result_f16 v = {float16_t(0.5h), 1};
   return;
 }
 )");
@@ -760,7 +760,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const frexp_result_vec3_f32 v = (frexp_result_vec3_f32)0;
+  frexp_result_vec3_f32 v = (frexp_result_vec3_f32)0;
   return;
 }
 )");
@@ -780,7 +780,7 @@
 };
 [numthreads(1, 1, 1)]
 void test_function() {
-  const frexp_result_vec3_f16 v = (frexp_result_vec3_f16)0;
+  frexp_result_vec3_f16 v = (frexp_result_vec3_f16)0;
   return;
 }
 )");
@@ -827,7 +827,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float val = 0.0f;
-  const float tint_symbol = tint_degrees(val);
+  float tint_symbol = tint_degrees(val);
   return;
 }
 )");
@@ -848,7 +848,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float3 val = float3(0.0f, 0.0f, 0.0f);
-  const float3 tint_symbol = tint_degrees(val);
+  float3 tint_symbol = tint_degrees(val);
   return;
 }
 )");
@@ -871,7 +871,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float16_t val = float16_t(0.0h);
-  const float16_t tint_symbol = tint_degrees(val);
+  float16_t tint_symbol = tint_degrees(val);
   return;
 }
 )");
@@ -894,7 +894,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   vector<float16_t, 3> val = vector<float16_t, 3>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
-  const vector<float16_t, 3> tint_symbol = tint_degrees(val);
+  vector<float16_t, 3> tint_symbol = tint_degrees(val);
   return;
 }
 )");
@@ -915,7 +915,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float val = 0.0f;
-  const float tint_symbol = tint_radians(val);
+  float tint_symbol = tint_radians(val);
   return;
 }
 )");
@@ -936,7 +936,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float3 val = float3(0.0f, 0.0f, 0.0f);
-  const float3 tint_symbol = tint_radians(val);
+  float3 tint_symbol = tint_radians(val);
   return;
 }
 )");
@@ -959,7 +959,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float16_t val = float16_t(0.0h);
-  const float16_t tint_symbol = tint_radians(val);
+  float16_t tint_symbol = tint_radians(val);
   return;
 }
 )");
@@ -982,7 +982,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   vector<float16_t, 3> val = vector<float16_t, 3>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
-  const vector<float16_t, 3> tint_symbol = tint_radians(val);
+  vector<float16_t, 3> tint_symbol = tint_radians(val);
   return;
 }
 )");
@@ -999,7 +999,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   int val = 0;
-  const int tint_symbol = int(sign(val));
+  int tint_symbol = int(sign(val));
   return;
 }
 )");
@@ -1016,7 +1016,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   int3 val = int3(0, 0, 0);
-  const int3 tint_symbol = int3(sign(val));
+  int3 tint_symbol = int3(sign(val));
   return;
 }
 )");
@@ -1033,7 +1033,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   float val = 0.0f;
-  const float tint_symbol = float(sign(val));
+  float tint_symbol = float(sign(val));
   return;
 }
 )");
@@ -1050,7 +1050,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   float3 val = float3(0.0f, 0.0f, 0.0f);
-  const float3 tint_symbol = float3(sign(val));
+  float3 tint_symbol = float3(sign(val));
   return;
 }
 )");
@@ -1069,7 +1069,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   float16_t val = float16_t(0.0h);
-  const float16_t tint_symbol = float16_t(sign(val));
+  float16_t tint_symbol = float16_t(sign(val));
   return;
 }
 )");
@@ -1088,7 +1088,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   vector<float16_t, 3> val = vector<float16_t, 3>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
-  const vector<float16_t, 3> tint_symbol = vector<float16_t, 3>(sign(val));
+  vector<float16_t, 3> tint_symbol = vector<float16_t, 3>(sign(val));
   return;
 }
 )");
@@ -1109,7 +1109,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float val = 0.0f;
-  const float tint_symbol = tint_trunc(val);
+  float tint_symbol = tint_trunc(val);
   return;
 }
 )");
@@ -1130,7 +1130,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float3 val = float3(0.0f, 0.0f, 0.0f);
-  const float3 tint_symbol = tint_trunc(val);
+  float3 tint_symbol = tint_trunc(val);
   return;
 }
 )");
@@ -1153,7 +1153,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   float16_t val = float16_t(0.0h);
-  const float16_t tint_symbol = tint_trunc(val);
+  float16_t tint_symbol = tint_trunc(val);
   return;
 }
 )");
@@ -1176,7 +1176,7 @@
 [numthreads(1, 1, 1)]
 void test_function() {
   vector<float16_t, 3> val = vector<float16_t, 3>(float16_t(0.0h), float16_t(0.0h), float16_t(0.0h));
-  const vector<float16_t, 3> tint_symbol = tint_trunc(val);
+  vector<float16_t, 3> tint_symbol = tint_trunc(val);
   return;
 }
 )");
@@ -1468,7 +1468,7 @@
 void test_function() {
   uint val1 = 0u;
   uint val2 = 0u;
-  const int tint_symbol = tint_dot4I8Packed(val1, val2);
+  int tint_symbol = tint_dot4I8Packed(val1, val2);
   return;
 }
 )");
@@ -1494,7 +1494,7 @@
 void test_function() {
   uint val1 = 0u;
   uint val2 = 0u;
-  const uint tint_symbol = tint_dot4U8Packed(val1, val2);
+  uint tint_symbol = tint_dot4U8Packed(val1, val2);
   return;
 }
 )");
@@ -1511,7 +1511,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   int val1 = 0;
-  const int tint_symbol = asint(countbits(asuint(val1)));
+  int tint_symbol = asint(countbits(asuint(val1)));
   return;
 }
 )");
@@ -1528,7 +1528,7 @@
     EXPECT_EQ(gen.Result(), R"([numthreads(1, 1, 1)]
 void test_function() {
   int val1 = 0;
-  const int tint_symbol = asint(reversebits(asuint(val1)));
+  int tint_symbol = asint(reversebits(asuint(val1)));
   return;
 }
 )");
diff --git a/src/tint/lang/hlsl/writer/ast_printer/constructor_test.cc b/src/tint/lang/hlsl/writer/ast_printer/constructor_test.cc
index 7b8b51b..5a9a9a3 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/constructor_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/constructor_test.cc
@@ -204,7 +204,7 @@
 
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
     EXPECT_THAT(gen.Result(), HasSubstr(R"(float v = 2.0f;
-  const float3 tint_symbol = float3((v).xxx);)"));
+  float3 tint_symbol = float3((v).xxx);)"));
 }
 
 TEST_F(HlslASTPrinterTest_Constructor, Type_Vec_SingleScalar_F16_Var) {
@@ -218,7 +218,7 @@
 
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
     EXPECT_THAT(gen.Result(), HasSubstr(R"(float16_t v = float16_t(2.0h);
-  const vector<float16_t, 3> tint_symbol = vector<float16_t, 3>((v).xxx);)"));
+  vector<float16_t, 3> tint_symbol = vector<float16_t, 3>((v).xxx);)"));
 }
 
 TEST_F(HlslASTPrinterTest_Constructor, Type_Vec_SingleScalar_Bool_Literal) {
@@ -239,7 +239,7 @@
 
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
     EXPECT_THAT(gen.Result(), HasSubstr(R"(bool v = true;
-  const bool3 tint_symbol = bool3((v).xxx);)"));
+  bool3 tint_symbol = bool3((v).xxx);)"));
 }
 
 TEST_F(HlslASTPrinterTest_Constructor, Type_Vec_SingleScalar_Int) {
diff --git a/src/tint/lang/hlsl/writer/ast_printer/function_test.cc b/src/tint/lang/hlsl/writer/ast_printer/function_test.cc
index 6158a91..2f6822c 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/function_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/function_test.cc
@@ -158,7 +158,7 @@
 }
 
 tint_symbol_2 frag_main(tint_symbol_1 tint_symbol) {
-  const float inner_result = frag_main_inner(tint_symbol.foo);
+  float inner_result = frag_main_inner(tint_symbol.foo);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -197,7 +197,7 @@
 }
 
 tint_symbol_2 frag_main(tint_symbol_1 tint_symbol) {
-  const float inner_result = frag_main_inner(float4(tint_symbol.coord.xyz, (1.0f / tint_symbol.coord.w)));
+  float inner_result = frag_main_inner(float4(tint_symbol.coord.xyz, (1.0f / tint_symbol.coord.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -256,12 +256,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_3 = {(0.0f).xxxx, 0.5f, 0.25f};
+  Interface tint_symbol_3 = {(0.0f).xxxx, 0.5f, 0.25f};
   return tint_symbol_3;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   wrapper_result.col1 = inner_result.col1;
@@ -276,13 +276,13 @@
 };
 
 void frag_main_inner(Interface inputs) {
-  const float r = inputs.col1;
-  const float g = inputs.col2;
-  const float4 p = inputs.pos;
+  float r = inputs.col1;
+  float g = inputs.col2;
+  float4 p = inputs.pos;
 }
 
 void frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_4 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.col1, tint_symbol_1.col2};
+  Interface tint_symbol_4 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.col1, tint_symbol_1.col2};
   frag_main_inner(tint_symbol_4);
   return;
 }
@@ -332,7 +332,7 @@
 };
 
 VertexOutput foo(float x) {
-  const VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f)};
+  VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f)};
   return tint_symbol_2;
 }
 
@@ -345,7 +345,7 @@
 }
 
 tint_symbol vert_main1() {
-  const VertexOutput inner_result = vert_main1_inner();
+  VertexOutput inner_result = vert_main1_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   return wrapper_result;
@@ -360,7 +360,7 @@
 }
 
 tint_symbol_1 vert_main2() {
-  const VertexOutput inner_result_1 = vert_main2_inner();
+  VertexOutput inner_result_1 = vert_main2_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.pos = inner_result_1.pos;
   return wrapper_result_1;
diff --git a/src/tint/lang/hlsl/writer/ast_printer/member_accessor_test.cc b/src/tint/lang/hlsl/writer/ast_printer/member_accessor_test.cc
index 20ebf39..f06ef68 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/member_accessor_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/member_accessor_test.cc
@@ -1405,7 +1405,7 @@
 RWByteAddressBuffer data : register(u0, space1);
 
 Inner data_load(uint offset) {
-  const Inner tint_symbol = {asint(data.Load((offset + 0u)))};
+  Inner tint_symbol = {asint(data.Load((offset + 0u)))};
   return tint_symbol;
 }
 
@@ -1458,7 +1458,7 @@
 
 Inner data_load(uint offset) {
   const uint scalar_offset = ((offset + 0u)) / 4;
-  const Inner tint_symbol = {asint(data[scalar_offset / 4][scalar_offset % 4])};
+  Inner tint_symbol = {asint(data[scalar_offset / 4][scalar_offset % 4])};
   return tint_symbol;
 }
 
diff --git a/src/tint/lang/hlsl/writer/ast_printer/module_constant_test.cc b/src/tint/lang/hlsl/writer/ast_printer/module_constant_test.cc
index 59f3289..17559d3 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/module_constant_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/module_constant_test.cc
@@ -45,7 +45,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int l = 1;
+  int l = 1;
 }
 )");
 }
@@ -59,7 +59,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l = 1.0f;
+  float l = 1.0f;
 }
 )");
 }
@@ -73,7 +73,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int l = 1;
+  int l = 1;
 }
 )");
 }
@@ -87,7 +87,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const uint l = 1u;
+  uint l = 1u;
 }
 )");
 }
@@ -101,7 +101,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l = 1.0f;
+  float l = 1.0f;
 }
 )");
 }
@@ -117,7 +117,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float16_t l = float16_t(1.0h);
+  float16_t l = float16_t(1.0h);
 }
 )");
 }
@@ -131,7 +131,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int3 l = int3(1, 2, 3);
+  int3 l = int3(1, 2, 3);
 }
 )");
 }
@@ -145,7 +145,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float3 l = float3(1.0f, 2.0f, 3.0f);
+  float3 l = float3(1.0f, 2.0f, 3.0f);
 }
 )");
 }
@@ -159,7 +159,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float3 l = float3(1.0f, 2.0f, 3.0f);
+  float3 l = float3(1.0f, 2.0f, 3.0f);
 }
 )");
 }
@@ -175,7 +175,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const vector<float16_t, 3> l = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> l = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
 }
 )");
 }
@@ -189,7 +189,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
+  float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
 }
 )");
 }
@@ -203,7 +203,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
+  float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
 }
 )");
 }
@@ -219,7 +219,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const matrix<float16_t, 2, 3> l = matrix<float16_t, 2, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)));
+  matrix<float16_t, 2, 3> l = matrix<float16_t, 2, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)));
 }
 )");
 }
@@ -233,7 +233,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l[3] = {1.0f, 2.0f, 3.0f};
+  float l[3] = {1.0f, 2.0f, 3.0f};
 }
 )");
 }
@@ -250,7 +250,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const bool2 l[3] = {bool2(true, false), bool2(false, true), (true).xx};
+  bool2 l[3] = {bool2(true, false), bool2(false, true), (true).xx};
 }
 )");
 }
diff --git a/src/tint/lang/hlsl/writer/ast_printer/sanitizer_test.cc b/src/tint/lang/hlsl/writer/ast_printer/sanitizer_test.cc
index d9ebaf3..5823771 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/sanitizer_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/sanitizer_test.cc
@@ -61,7 +61,7 @@
 void a_func() {
   uint tint_symbol_1 = 0u;
   b.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
   uint len = tint_symbol_2;
   return;
 }
@@ -95,7 +95,7 @@
 void a_func() {
   uint tint_symbol_1 = 0u;
   b.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 4u) / 4u);
+  uint tint_symbol_2 = ((tint_symbol_1 - 4u) / 4u);
   uint len = tint_symbol_2;
   return;
 }
@@ -132,7 +132,7 @@
 void a_func() {
   uint tint_symbol_1 = 0u;
   b.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
   uint len = tint_symbol_2;
   return;
 }
@@ -175,7 +175,7 @@
 void a_func() {
   uint tint_symbol_3 = 0u;
   b.GetDimensions(tint_symbol_3);
-  const uint tint_symbol_4 = ((tint_symbol_3 - 0u) / 4u);
+  uint tint_symbol_4 = ((tint_symbol_3 - 0u) / 4u);
   uint len = (tint_symbol_4 + ((tint_symbol_1[1].w - 0u) / 4u));
   return;
 }
@@ -202,7 +202,7 @@
     auto got = gen.Result();
     auto* expect = R"(void main() {
   int idx = 3;
-  const int tint_symbol[4] = {1, 2, 3, 4};
+  int tint_symbol[4] = {1, 2, 3, 4};
   int pos = tint_symbol[idx];
   return;
 }
@@ -243,7 +243,7 @@
 
 void main() {
   float runtime_value = 3.0f;
-  const S tint_symbol = {1, float3(2.0f, runtime_value, 4.0f), 4};
+  S tint_symbol = {1, float3(2.0f, runtime_value, 4.0f), 4};
   float3 pos = tint_symbol.b;
   return;
 }
diff --git a/src/tint/lang/hlsl/writer/ast_printer/variable_decl_statement_test.cc b/src/tint/lang/hlsl/writer/ast_printer/variable_decl_statement_test.cc
index 8e52ea8..e546046 100644
--- a/src/tint/lang/hlsl/writer/ast_printer/variable_decl_statement_test.cc
+++ b/src/tint/lang/hlsl/writer/ast_printer/variable_decl_statement_test.cc
@@ -62,7 +62,7 @@
     gen.IncrementIndent();
 
     ASSERT_TRUE(gen.EmitStatement(stmt)) << gen.Diagnostics();
-    EXPECT_EQ(gen.Result(), "  const float a = 0.0f;\n");
+    EXPECT_EQ(gen.Result(), "  float a = 0.0f;\n");
 }
 
 TEST_F(HlslASTPrinterTest_VariableDecl, Emit_VariableDeclStatement_Const) {
@@ -91,7 +91,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int l = 1;
+  int l = 1;
 }
 )");
 }
@@ -109,7 +109,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l = 1.0f;
+  float l = 1.0f;
 }
 )");
 }
@@ -127,7 +127,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int l = 1;
+  int l = 1;
 }
 )");
 }
@@ -145,7 +145,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const uint l = 1u;
+  uint l = 1u;
 }
 )");
 }
@@ -163,7 +163,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l = 1.0f;
+  float l = 1.0f;
 }
 )");
 }
@@ -183,7 +183,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float16_t l = float16_t(1.0h);
+  float16_t l = float16_t(1.0h);
 }
 )");
 }
@@ -201,7 +201,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const int3 l = int3(1, 2, 3);
+  int3 l = int3(1, 2, 3);
 }
 )");
 }
@@ -219,7 +219,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float3 l = float3(1.0f, 2.0f, 3.0f);
+  float3 l = float3(1.0f, 2.0f, 3.0f);
 }
 )");
 }
@@ -237,7 +237,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float3 l = float3(1.0f, 2.0f, 3.0f);
+  float3 l = float3(1.0f, 2.0f, 3.0f);
 }
 )");
 }
@@ -257,7 +257,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const vector<float16_t, 3> l = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> l = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
 }
 )");
 }
@@ -275,7 +275,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
+  float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
 }
 )");
 }
@@ -293,7 +293,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
+  float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
 }
 )");
 }
@@ -313,7 +313,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const matrix<float16_t, 2, 3> l = matrix<float16_t, 2, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)));
+  matrix<float16_t, 2, 3> l = matrix<float16_t, 2, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)));
 }
 )");
 }
@@ -331,7 +331,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float l[3] = {1.0f, 2.0f, 3.0f};
+  float l[3] = {1.0f, 2.0f, 3.0f};
 }
 )");
 }
@@ -352,7 +352,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const bool2 l[3] = {bool2(true, false), bool2(false, true), (true).xx};
+  bool2 l[3] = {bool2(true, false), bool2(false, true), (true).xx};
 }
 )");
 }
@@ -456,7 +456,7 @@
     ASSERT_TRUE(gen.Generate()) << gen.Diagnostics();
 
     EXPECT_EQ(gen.Result(), R"(void f() {
-  const float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
+  float2x3 l = float2x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f));
 }
 )");
 }
diff --git a/test/tint/access/let/matrix.spvasm.expected.dxc.hlsl b/test/tint/access/let/matrix.spvasm.expected.dxc.hlsl
index a78b2e6..cfb71b6 100644
--- a/test/tint/access/let/matrix.spvasm.expected.dxc.hlsl
+++ b/test/tint/access/let/matrix.spvasm.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 void main_1() {
-  const float x_24 = 5.0f;
+  float x_24 = 5.0f;
   return;
 }
 
diff --git a/test/tint/access/let/matrix.spvasm.expected.fxc.hlsl b/test/tint/access/let/matrix.spvasm.expected.fxc.hlsl
index a78b2e6..cfb71b6 100644
--- a/test/tint/access/let/matrix.spvasm.expected.fxc.hlsl
+++ b/test/tint/access/let/matrix.spvasm.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 void main_1() {
-  const float x_24 = 5.0f;
+  float x_24 = 5.0f;
   return;
 }
 
diff --git a/test/tint/access/let/matrix.wgsl.expected.dxc.hlsl b/test/tint/access/let/matrix.wgsl.expected.dxc.hlsl
index 10d9f08..7f6892d 100644
--- a/test/tint/access/let/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/access/let/matrix.wgsl.expected.dxc.hlsl
@@ -2,9 +2,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3 v = m[1];
-  const float f = v[1];
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3 v = m[1];
+  float f = v[1];
   s.Store(0u, asuint(f));
   return;
 }
diff --git a/test/tint/access/let/matrix.wgsl.expected.fxc.hlsl b/test/tint/access/let/matrix.wgsl.expected.fxc.hlsl
index 10d9f08..7f6892d 100644
--- a/test/tint/access/let/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/access/let/matrix.wgsl.expected.fxc.hlsl
@@ -2,9 +2,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3 v = m[1];
-  const float f = v[1];
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3 v = m[1];
+  float f = v[1];
   s.Store(0u, asuint(f));
   return;
 }
diff --git a/test/tint/access/let/vector.spvasm.expected.dxc.hlsl b/test/tint/access/let/vector.spvasm.expected.dxc.hlsl
index d5e689b..362277e 100644
--- a/test/tint/access/let/vector.spvasm.expected.dxc.hlsl
+++ b/test/tint/access/let/vector.spvasm.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 void main_1() {
-  const float x_11 = 2.0f;
-  const float2 x_13 = float2(1.0f, 3.0f);
-  const float3 x_14 = float3(1.0f, 3.0f, 2.0f);
+  float x_11 = 2.0f;
+  float2 x_13 = float2(1.0f, 3.0f);
+  float3 x_14 = float3(1.0f, 3.0f, 2.0f);
   return;
 }
 
diff --git a/test/tint/access/let/vector.spvasm.expected.fxc.hlsl b/test/tint/access/let/vector.spvasm.expected.fxc.hlsl
index d5e689b..362277e 100644
--- a/test/tint/access/let/vector.spvasm.expected.fxc.hlsl
+++ b/test/tint/access/let/vector.spvasm.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 void main_1() {
-  const float x_11 = 2.0f;
-  const float2 x_13 = float2(1.0f, 3.0f);
-  const float3 x_14 = float3(1.0f, 3.0f, 2.0f);
+  float x_11 = 2.0f;
+  float2 x_13 = float2(1.0f, 3.0f);
+  float3 x_14 = float3(1.0f, 3.0f, 2.0f);
   return;
 }
 
diff --git a/test/tint/access/let/vector.wgsl.expected.dxc.hlsl b/test/tint/access/let/vector.wgsl.expected.dxc.hlsl
index 89c501a..2f19e5e 100644
--- a/test/tint/access/let/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/access/let/vector.wgsl.expected.dxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const float scalar = v.y;
-  const float2 swizzle2 = v.xz;
-  const float3 swizzle3 = v.xzy;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  float scalar = v.y;
+  float2 swizzle2 = v.xz;
+  float3 swizzle3 = v.xzy;
   s.Store3(0u, asuint(((float3((scalar).xxx) + float3(swizzle2, 1.0f)) + swizzle3)));
   return;
 }
diff --git a/test/tint/access/let/vector.wgsl.expected.fxc.hlsl b/test/tint/access/let/vector.wgsl.expected.fxc.hlsl
index 89c501a..2f19e5e 100644
--- a/test/tint/access/let/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/access/let/vector.wgsl.expected.fxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const float scalar = v.y;
-  const float2 swizzle2 = v.xz;
-  const float3 swizzle3 = v.xzy;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  float scalar = v.y;
+  float2 swizzle2 = v.xz;
+  float3 swizzle3 = v.xzy;
   s.Store3(0u, asuint(((float3((scalar).xxx) + float3(swizzle2, 1.0f)) + swizzle3)));
   return;
 }
diff --git a/test/tint/access/ptr.wgsl.expected.dxc.hlsl b/test/tint/access/ptr.wgsl.expected.dxc.hlsl
index 4391e25..bdee599 100644
--- a/test/tint/access/ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/access/ptr.wgsl.expected.dxc.hlsl
@@ -15,14 +15,14 @@
 }
 
 int accept_ptr_deref_call_func(inout int val) {
-  const int tint_symbol_2 = val;
-  const int tint_symbol_3 = accept_value(val);
+  int tint_symbol_2 = val;
+  int tint_symbol_3 = accept_value(val);
   return (tint_symbol_2 + tint_symbol_3);
 }
 
 int accept_ptr_deref_pass_through(inout int val) {
-  const int tint_symbol = val;
-  const int tint_symbol_1 = accept_ptr_deref_call_func(val);
+  int tint_symbol = val;
+  int tint_symbol_1 = accept_ptr_deref_call_func(val);
   return (tint_symbol + tint_symbol_1);
 }
 
@@ -61,13 +61,13 @@
   float3 v4 = (0.0f).xxx;
   int atomic_result_2 = 0;
   InterlockedOr(g1, 0, atomic_result_2);
-  const int t1 = atomic_result_2;
-  const int tint_symbol_4 = accept_ptr_deref_pass_through(v1);
-  const int tint_symbol_5 = accept_ptr_to_struct_and_access(v2);
-  const int tint_symbol_6 = accept_ptr_to_struct_and_access(v2);
-  const int tint_symbol_7 = accept_ptr_vec_access_elements(v4);
-  const int tint_symbol_8 = accept_ptr_to_struct_access_pass_ptr(v2);
-  const int tint_symbol_9 = call_builtin_with_mod_scope_ptr();
+  int t1 = atomic_result_2;
+  int tint_symbol_4 = accept_ptr_deref_pass_through(v1);
+  int tint_symbol_5 = accept_ptr_to_struct_and_access(v2);
+  int tint_symbol_6 = accept_ptr_to_struct_and_access(v2);
+  int tint_symbol_7 = accept_ptr_vec_access_elements(v4);
+  int tint_symbol_8 = accept_ptr_to_struct_access_pass_ptr(v2);
+  int tint_symbol_9 = call_builtin_with_mod_scope_ptr();
   s.Store(0u, asuint(((((((tint_symbol_4 + tint_symbol_5) + tint_symbol_6) + tint_symbol_7) + tint_symbol_8) + tint_symbol_9) + t1)));
 }
 
diff --git a/test/tint/access/ptr.wgsl.expected.fxc.hlsl b/test/tint/access/ptr.wgsl.expected.fxc.hlsl
index 4391e25..bdee599 100644
--- a/test/tint/access/ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/access/ptr.wgsl.expected.fxc.hlsl
@@ -15,14 +15,14 @@
 }
 
 int accept_ptr_deref_call_func(inout int val) {
-  const int tint_symbol_2 = val;
-  const int tint_symbol_3 = accept_value(val);
+  int tint_symbol_2 = val;
+  int tint_symbol_3 = accept_value(val);
   return (tint_symbol_2 + tint_symbol_3);
 }
 
 int accept_ptr_deref_pass_through(inout int val) {
-  const int tint_symbol = val;
-  const int tint_symbol_1 = accept_ptr_deref_call_func(val);
+  int tint_symbol = val;
+  int tint_symbol_1 = accept_ptr_deref_call_func(val);
   return (tint_symbol + tint_symbol_1);
 }
 
@@ -61,13 +61,13 @@
   float3 v4 = (0.0f).xxx;
   int atomic_result_2 = 0;
   InterlockedOr(g1, 0, atomic_result_2);
-  const int t1 = atomic_result_2;
-  const int tint_symbol_4 = accept_ptr_deref_pass_through(v1);
-  const int tint_symbol_5 = accept_ptr_to_struct_and_access(v2);
-  const int tint_symbol_6 = accept_ptr_to_struct_and_access(v2);
-  const int tint_symbol_7 = accept_ptr_vec_access_elements(v4);
-  const int tint_symbol_8 = accept_ptr_to_struct_access_pass_ptr(v2);
-  const int tint_symbol_9 = call_builtin_with_mod_scope_ptr();
+  int t1 = atomic_result_2;
+  int tint_symbol_4 = accept_ptr_deref_pass_through(v1);
+  int tint_symbol_5 = accept_ptr_to_struct_and_access(v2);
+  int tint_symbol_6 = accept_ptr_to_struct_and_access(v2);
+  int tint_symbol_7 = accept_ptr_vec_access_elements(v4);
+  int tint_symbol_8 = accept_ptr_to_struct_access_pass_ptr(v2);
+  int tint_symbol_9 = call_builtin_with_mod_scope_ptr();
   s.Store(0u, asuint(((((((tint_symbol_4 + tint_symbol_5) + tint_symbol_6) + tint_symbol_7) + tint_symbol_8) + tint_symbol_9) + t1)));
 }
 
diff --git a/test/tint/access/var/matrix.spvasm.expected.dxc.hlsl b/test/tint/access/var/matrix.spvasm.expected.dxc.hlsl
index 65f31f4..d55afe7 100644
--- a/test/tint/access/var/matrix.spvasm.expected.dxc.hlsl
+++ b/test/tint/access/var/matrix.spvasm.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 void main_1() {
   float3x3 m = float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
-  const float x_16 = m[1].y;
+  float x_16 = m[1].y;
   return;
 }
 
diff --git a/test/tint/access/var/matrix.spvasm.expected.fxc.hlsl b/test/tint/access/var/matrix.spvasm.expected.fxc.hlsl
index 65f31f4..d55afe7 100644
--- a/test/tint/access/var/matrix.spvasm.expected.fxc.hlsl
+++ b/test/tint/access/var/matrix.spvasm.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 void main_1() {
   float3x3 m = float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
-  const float x_16 = m[1].y;
+  float x_16 = m[1].y;
   return;
 }
 
diff --git a/test/tint/access/var/matrix.wgsl.expected.dxc.hlsl b/test/tint/access/var/matrix.wgsl.expected.dxc.hlsl
index 8653170..9cc660f 100644
--- a/test/tint/access/var/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/access/var/matrix.wgsl.expected.dxc.hlsl
@@ -3,8 +3,8 @@
 [numthreads(1, 1, 1)]
 void main() {
   float3x3 m = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float3 v = m[1];
-  const float f = v[1];
+  float3 v = m[1];
+  float f = v[1];
   s.Store(0u, asuint(f));
   return;
 }
diff --git a/test/tint/access/var/matrix.wgsl.expected.fxc.hlsl b/test/tint/access/var/matrix.wgsl.expected.fxc.hlsl
index 8653170..9cc660f 100644
--- a/test/tint/access/var/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/access/var/matrix.wgsl.expected.fxc.hlsl
@@ -3,8 +3,8 @@
 [numthreads(1, 1, 1)]
 void main() {
   float3x3 m = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float3 v = m[1];
-  const float f = v[1];
+  float3 v = m[1];
+  float f = v[1];
   s.Store(0u, asuint(f));
   return;
 }
diff --git a/test/tint/access/var/vector.spvasm.expected.dxc.hlsl b/test/tint/access/var/vector.spvasm.expected.dxc.hlsl
index 3936e78..fd8cef1 100644
--- a/test/tint/access/var/vector.spvasm.expected.dxc.hlsl
+++ b/test/tint/access/var/vector.spvasm.expected.dxc.hlsl
@@ -1,8 +1,8 @@
 void main_1() {
   float3 v = (0.0f).xxx;
-  const float x_14 = v.y;
-  const float2 x_17 = v.xz;
-  const float3 x_19 = v.xzy;
+  float x_14 = v.y;
+  float2 x_17 = v.xz;
+  float3 x_19 = v.xzy;
   return;
 }
 
diff --git a/test/tint/access/var/vector.spvasm.expected.fxc.hlsl b/test/tint/access/var/vector.spvasm.expected.fxc.hlsl
index 3936e78..fd8cef1 100644
--- a/test/tint/access/var/vector.spvasm.expected.fxc.hlsl
+++ b/test/tint/access/var/vector.spvasm.expected.fxc.hlsl
@@ -1,8 +1,8 @@
 void main_1() {
   float3 v = (0.0f).xxx;
-  const float x_14 = v.y;
-  const float2 x_17 = v.xz;
-  const float3 x_19 = v.xzy;
+  float x_14 = v.y;
+  float2 x_17 = v.xz;
+  float3 x_19 = v.xzy;
   return;
 }
 
diff --git a/test/tint/access/var/vector.wgsl.expected.dxc.hlsl b/test/tint/access/var/vector.wgsl.expected.dxc.hlsl
index bb92af0..7b1fb4f 100644
--- a/test/tint/access/var/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/access/var/vector.wgsl.expected.dxc.hlsl
@@ -3,9 +3,9 @@
 [numthreads(1, 1, 1)]
 void main() {
   float3 v = float3(0.0f, 0.0f, 0.0f);
-  const float scalar = v.y;
-  const float2 swizzle2 = v.xz;
-  const float3 swizzle3 = v.xzy;
+  float scalar = v.y;
+  float2 swizzle2 = v.xz;
+  float3 swizzle3 = v.xzy;
   s.Store3(0u, asuint(((float3((scalar).xxx) + float3(swizzle2, 1.0f)) + swizzle3)));
   return;
 }
diff --git a/test/tint/access/var/vector.wgsl.expected.fxc.hlsl b/test/tint/access/var/vector.wgsl.expected.fxc.hlsl
index bb92af0..7b1fb4f 100644
--- a/test/tint/access/var/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/access/var/vector.wgsl.expected.fxc.hlsl
@@ -3,9 +3,9 @@
 [numthreads(1, 1, 1)]
 void main() {
   float3 v = float3(0.0f, 0.0f, 0.0f);
-  const float scalar = v.y;
-  const float2 swizzle2 = v.xz;
-  const float3 swizzle3 = v.xzy;
+  float scalar = v.y;
+  float2 swizzle2 = v.xz;
+  float3 swizzle3 = v.xzy;
   s.Store3(0u, asuint(((float3((scalar).xxx) + float3(swizzle2, 1.0f)) + swizzle3)));
   return;
 }
diff --git a/test/tint/array/assign_to_function_var.wgsl.expected.dxc.hlsl b/test/tint/array/assign_to_function_var.wgsl.expected.dxc.hlsl
index cdd7609..1281e6c 100644
--- a/test/tint/array/assign_to_function_var.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/assign_to_function_var.wgsl.expected.dxc.hlsl
@@ -11,12 +11,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -46,16 +46,16 @@
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
   int4 tint_symbol[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,12 +71,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 val[4] = (int4[4])0;
+  int4 val[4] = (int4[4])0;
   foo(val);
 }
 
diff --git a/test/tint/array/assign_to_function_var.wgsl.expected.fxc.hlsl b/test/tint/array/assign_to_function_var.wgsl.expected.fxc.hlsl
index cdd7609..1281e6c 100644
--- a/test/tint/array/assign_to_function_var.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/assign_to_function_var.wgsl.expected.fxc.hlsl
@@ -11,12 +11,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -46,16 +46,16 @@
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
   int4 tint_symbol[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,12 +71,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 val[4] = (int4[4])0;
+  int4 val[4] = (int4[4])0;
   foo(val);
 }
 
diff --git a/test/tint/array/assign_to_private_var.wgsl.expected.dxc.hlsl b/test/tint/array/assign_to_private_var.wgsl.expected.dxc.hlsl
index cef276f..5086d61 100644
--- a/test/tint/array/assign_to_private_var.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/assign_to_private_var.wgsl.expected.dxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -47,16 +47,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,12 +71,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 a[4] = (int4[4])0;
+  int4 a[4] = (int4[4])0;
   foo(a);
 }
 
diff --git a/test/tint/array/assign_to_private_var.wgsl.expected.fxc.hlsl b/test/tint/array/assign_to_private_var.wgsl.expected.fxc.hlsl
index cef276f..5086d61 100644
--- a/test/tint/array/assign_to_private_var.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/assign_to_private_var.wgsl.expected.fxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -47,16 +47,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,12 +71,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 a[4] = (int4[4])0;
+  int4 a[4] = (int4[4])0;
   foo(a);
 }
 
diff --git a/test/tint/array/assign_to_storage_var.wgsl.expected.dxc.hlsl b/test/tint/array/assign_to_storage_var.wgsl.expected.dxc.hlsl
index 105b407..e14c34b 100644
--- a/test/tint/array/assign_to_storage_var.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/assign_to_storage_var.wgsl.expected.dxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -83,16 +83,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol_store(0u, tint_symbol_6);
   tint_symbol_store(0u, src_param);
   tint_symbol_store(0u, ret_arr());
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol_store(0u, src_let);
   tint_symbol_store(0u, src_function);
   tint_symbol_store(0u, src_private);
   tint_symbol_store(0u, src_workgroup);
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol_store(0u, tint_symbol_1.arr);
   tint_symbol_store(0u, src_uniform_load(0u));
   tint_symbol_store(0u, src_storage_load(0u));
@@ -107,12 +107,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 ary[4] = (int4[4])0;
+  int4 ary[4] = (int4[4])0;
   foo(ary);
 }
 
diff --git a/test/tint/array/assign_to_storage_var.wgsl.expected.fxc.hlsl b/test/tint/array/assign_to_storage_var.wgsl.expected.fxc.hlsl
index 105b407..e14c34b 100644
--- a/test/tint/array/assign_to_storage_var.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/assign_to_storage_var.wgsl.expected.fxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -83,16 +83,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol_store(0u, tint_symbol_6);
   tint_symbol_store(0u, src_param);
   tint_symbol_store(0u, ret_arr());
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol_store(0u, src_let);
   tint_symbol_store(0u, src_function);
   tint_symbol_store(0u, src_private);
   tint_symbol_store(0u, src_workgroup);
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol_store(0u, tint_symbol_1.arr);
   tint_symbol_store(0u, src_uniform_load(0u));
   tint_symbol_store(0u, src_storage_load(0u));
@@ -107,12 +107,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 ary[4] = (int4[4])0;
+  int4 ary[4] = (int4[4])0;
   foo(ary);
 }
 
diff --git a/test/tint/array/assign_to_subexpr.wgsl.expected.dxc.hlsl b/test/tint/array/assign_to_subexpr.wgsl.expected.dxc.hlsl
index eaffe68..8dcdff6 100644
--- a/test/tint/array/assign_to_subexpr.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/assign_to_subexpr.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 };
 
 int foo() {
-  const int src[4] = (int[4])0;
+  int src[4] = (int[4])0;
   int tint_symbol[4] = (int[4])0;
   S dst_struct = (S)0;
   int dst_array[2][4] = (int[2][4])0;
diff --git a/test/tint/array/assign_to_subexpr.wgsl.expected.fxc.hlsl b/test/tint/array/assign_to_subexpr.wgsl.expected.fxc.hlsl
index eaffe68..8dcdff6 100644
--- a/test/tint/array/assign_to_subexpr.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/assign_to_subexpr.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 };
 
 int foo() {
-  const int src[4] = (int[4])0;
+  int src[4] = (int[4])0;
   int tint_symbol[4] = (int[4])0;
   S dst_struct = (S)0;
   int dst_array[2][4] = (int[2][4])0;
diff --git a/test/tint/array/assign_to_workgroup_var.wgsl.expected.dxc.hlsl b/test/tint/array/assign_to_workgroup_var.wgsl.expected.dxc.hlsl
index 9393b1c..c9e7a31 100644
--- a/test/tint/array/assign_to_workgroup_var.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/assign_to_workgroup_var.wgsl.expected.dxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -47,16 +47,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,21 +71,21 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       tint_symbol[i] = (0).xxxx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   {
     for(uint idx_1 = local_invocation_index; (idx_1 < 24u); idx_1 = (idx_1 + 1u)) {
-      const uint i_1 = (idx_1 / 6u);
-      const uint i_2 = ((idx_1 % 6u) / 2u);
-      const uint i_3 = (idx_1 % 2u);
+      uint i_1 = (idx_1 / 6u);
+      uint i_2 = ((idx_1 % 6u) / 2u);
+      uint i_3 = (idx_1 % 2u);
       dst_nested[i_1][i_2][i_3] = 0;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 val[4] = (int4[4])0;
+  int4 val[4] = (int4[4])0;
   foo(val);
 }
 
diff --git a/test/tint/array/assign_to_workgroup_var.wgsl.expected.fxc.hlsl b/test/tint/array/assign_to_workgroup_var.wgsl.expected.fxc.hlsl
index 9393b1c..c9e7a31 100644
--- a/test/tint/array/assign_to_workgroup_var.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/assign_to_workgroup_var.wgsl.expected.fxc.hlsl
@@ -13,12 +13,12 @@
 
 typedef int4 ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const int4 tint_symbol_4[4] = (int4[4])0;
+  int4 tint_symbol_4[4] = (int4[4])0;
   return tint_symbol_4;
 }
 
 S ret_struct_arr() {
-  const S tint_symbol_5 = (S)0;
+  S tint_symbol_5 = (S)0;
   return tint_symbol_5;
 }
 
@@ -47,16 +47,16 @@
 
 void foo(int4 src_param[4]) {
   int4 src_function[4] = (int4[4])0;
-  const int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
+  int4 tint_symbol_6[4] = {(1).xxxx, (2).xxxx, (3).xxxx, (3).xxxx};
   tint_symbol = tint_symbol_6;
   tint_symbol = src_param;
   tint_symbol = ret_arr();
-  const int4 src_let[4] = (int4[4])0;
+  int4 src_let[4] = (int4[4])0;
   tint_symbol = src_let;
   tint_symbol = src_function;
   tint_symbol = src_private;
   tint_symbol = src_workgroup;
-  const S tint_symbol_1 = ret_struct_arr();
+  S tint_symbol_1 = ret_struct_arr();
   tint_symbol = tint_symbol_1.arr;
   tint_symbol = src_uniform_load(0u);
   tint_symbol = src_storage_load(0u);
@@ -71,21 +71,21 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       tint_symbol[i] = (0).xxxx;
       src_workgroup[i] = (0).xxxx;
     }
   }
   {
     for(uint idx_1 = local_invocation_index; (idx_1 < 24u); idx_1 = (idx_1 + 1u)) {
-      const uint i_1 = (idx_1 / 6u);
-      const uint i_2 = ((idx_1 % 6u) / 2u);
-      const uint i_3 = (idx_1 % 2u);
+      uint i_1 = (idx_1 / 6u);
+      uint i_2 = ((idx_1 % 6u) / 2u);
+      uint i_3 = (idx_1 % 2u);
       dst_nested[i_1][i_2][i_3] = 0;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int4 val[4] = (int4[4])0;
+  int4 val[4] = (int4[4])0;
   foo(val);
 }
 
diff --git a/test/tint/array/function_parameter.wgsl.expected.dxc.hlsl b/test/tint/array/function_parameter.wgsl.expected.dxc.hlsl
index 3d959e8..4f957cd 100644
--- a/test/tint/array/function_parameter.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/function_parameter.wgsl.expected.dxc.hlsl
@@ -14,12 +14,12 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float a1[4] = (float[4])0;
-  const float a2[3][4] = (float[3][4])0;
-  const float a3[2][3][4] = (float[2][3][4])0;
-  const float v1 = f1(a1);
-  const float v2 = f2(a2);
-  const float v3 = f3(a3);
+  float a1[4] = (float[4])0;
+  float a2[3][4] = (float[3][4])0;
+  float a3[2][3][4] = (float[2][3][4])0;
+  float v1 = f1(a1);
+  float v2 = f2(a2);
+  float v3 = f3(a3);
   s.Store(0u, asuint(((v1 + v2) + v3)));
   return;
 }
diff --git a/test/tint/array/function_parameter.wgsl.expected.fxc.hlsl b/test/tint/array/function_parameter.wgsl.expected.fxc.hlsl
index 3d959e8..4f957cd 100644
--- a/test/tint/array/function_parameter.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/function_parameter.wgsl.expected.fxc.hlsl
@@ -14,12 +14,12 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float a1[4] = (float[4])0;
-  const float a2[3][4] = (float[3][4])0;
-  const float a3[2][3][4] = (float[2][3][4])0;
-  const float v1 = f1(a1);
-  const float v2 = f2(a2);
-  const float v3 = f3(a3);
+  float a1[4] = (float[4])0;
+  float a2[3][4] = (float[3][4])0;
+  float a3[2][3][4] = (float[2][3][4])0;
+  float v1 = f1(a1);
+  float v2 = f2(a2);
+  float v3 = f3(a3);
   s.Store(0u, asuint(((v1 + v2) + v3)));
   return;
 }
diff --git a/test/tint/array/function_return_type.wgsl.expected.dxc.hlsl b/test/tint/array/function_return_type.wgsl.expected.dxc.hlsl
index db96ae5..9abdaaf 100644
--- a/test/tint/array/function_return_type.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/function_return_type.wgsl.expected.dxc.hlsl
@@ -2,32 +2,32 @@
 
 typedef float f1_ret[4];
 f1_ret f1() {
-  const float tint_symbol_5[4] = (float[4])0;
+  float tint_symbol_5[4] = (float[4])0;
   return tint_symbol_5;
 }
 
 typedef float f2_ret[3][4];
 f2_ret f2() {
-  const float tint_symbol[4] = f1();
-  const float tint_symbol_1[4] = f1();
-  const float tint_symbol_2[4] = f1();
-  const float tint_symbol_6[3][4] = {tint_symbol, tint_symbol_1, tint_symbol_2};
+  float tint_symbol[4] = f1();
+  float tint_symbol_1[4] = f1();
+  float tint_symbol_2[4] = f1();
+  float tint_symbol_6[3][4] = {tint_symbol, tint_symbol_1, tint_symbol_2};
   return tint_symbol_6;
 }
 
 typedef float f3_ret[2][3][4];
 f3_ret f3() {
-  const float tint_symbol_3[3][4] = f2();
-  const float tint_symbol_4[3][4] = f2();
-  const float tint_symbol_7[2][3][4] = {tint_symbol_3, tint_symbol_4};
+  float tint_symbol_3[3][4] = f2();
+  float tint_symbol_4[3][4] = f2();
+  float tint_symbol_7[2][3][4] = {tint_symbol_3, tint_symbol_4};
   return tint_symbol_7;
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float a1[4] = f1();
-  const float a2[3][4] = f2();
-  const float a3[2][3][4] = f3();
+  float a1[4] = f1();
+  float a2[3][4] = f2();
+  float a3[2][3][4] = f3();
   s.Store(0u, asuint(((a1[0] + a2[0][0]) + a3[0][0][0])));
   return;
 }
diff --git a/test/tint/array/function_return_type.wgsl.expected.fxc.hlsl b/test/tint/array/function_return_type.wgsl.expected.fxc.hlsl
index db96ae5..9abdaaf 100644
--- a/test/tint/array/function_return_type.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/function_return_type.wgsl.expected.fxc.hlsl
@@ -2,32 +2,32 @@
 
 typedef float f1_ret[4];
 f1_ret f1() {
-  const float tint_symbol_5[4] = (float[4])0;
+  float tint_symbol_5[4] = (float[4])0;
   return tint_symbol_5;
 }
 
 typedef float f2_ret[3][4];
 f2_ret f2() {
-  const float tint_symbol[4] = f1();
-  const float tint_symbol_1[4] = f1();
-  const float tint_symbol_2[4] = f1();
-  const float tint_symbol_6[3][4] = {tint_symbol, tint_symbol_1, tint_symbol_2};
+  float tint_symbol[4] = f1();
+  float tint_symbol_1[4] = f1();
+  float tint_symbol_2[4] = f1();
+  float tint_symbol_6[3][4] = {tint_symbol, tint_symbol_1, tint_symbol_2};
   return tint_symbol_6;
 }
 
 typedef float f3_ret[2][3][4];
 f3_ret f3() {
-  const float tint_symbol_3[3][4] = f2();
-  const float tint_symbol_4[3][4] = f2();
-  const float tint_symbol_7[2][3][4] = {tint_symbol_3, tint_symbol_4};
+  float tint_symbol_3[3][4] = f2();
+  float tint_symbol_4[3][4] = f2();
+  float tint_symbol_7[2][3][4] = {tint_symbol_3, tint_symbol_4};
   return tint_symbol_7;
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float a1[4] = f1();
-  const float a2[3][4] = f2();
-  const float a3[2][3][4] = f3();
+  float a1[4] = f1();
+  float a2[3][4] = f2();
+  float a3[2][3][4] = f3();
   s.Store(0u, asuint(((a1[0] + a2[0][0]) + a3[0][0][0])));
   return;
 }
diff --git a/test/tint/array/strides.spvasm.expected.dxc.hlsl b/test/tint/array/strides.spvasm.expected.dxc.hlsl
index 646221a..8925925 100644
--- a/test/tint/array/strides.spvasm.expected.dxc.hlsl
+++ b/test/tint/array/strides.spvasm.expected.dxc.hlsl
@@ -8,7 +8,7 @@
 RWByteAddressBuffer s : register(u0);
 
 strided_arr s_load_4(uint offset) {
-  const strided_arr tint_symbol = {asfloat(s.Load((offset + 0u)))};
+  strided_arr tint_symbol = {asfloat(s.Load((offset + 0u)))};
   return tint_symbol;
 }
 
@@ -35,7 +35,7 @@
 }
 
 strided_arr_1 s_load_1(uint offset) {
-  const strided_arr_1 tint_symbol_1 = {s_load_2((offset + 0u))};
+  strided_arr_1 tint_symbol_1 = {s_load_2((offset + 0u))};
   return tint_symbol_1;
 }
 
@@ -86,11 +86,11 @@
 }
 
 void f_1() {
-  const strided_arr_1 x_19[4] = s_load(0u);
-  const strided_arr x_24[3][2] = s_load_2(384u);
-  const strided_arr x_28[2] = s_load_3(416u);
-  const float x_32 = asfloat(s.Load(424u));
-  const strided_arr_1 tint_symbol_2[4] = (strided_arr_1[4])0;
+  strided_arr_1 x_19[4] = s_load(0u);
+  strided_arr x_24[3][2] = s_load_2(384u);
+  strided_arr x_28[2] = s_load_3(416u);
+  float x_32 = asfloat(s.Load(424u));
+  strided_arr_1 tint_symbol_2[4] = (strided_arr_1[4])0;
   s_store(0u, tint_symbol_2);
   s.Store(424u, asuint(5.0f));
   return;
diff --git a/test/tint/array/strides.spvasm.expected.fxc.hlsl b/test/tint/array/strides.spvasm.expected.fxc.hlsl
index 646221a..8925925 100644
--- a/test/tint/array/strides.spvasm.expected.fxc.hlsl
+++ b/test/tint/array/strides.spvasm.expected.fxc.hlsl
@@ -8,7 +8,7 @@
 RWByteAddressBuffer s : register(u0);
 
 strided_arr s_load_4(uint offset) {
-  const strided_arr tint_symbol = {asfloat(s.Load((offset + 0u)))};
+  strided_arr tint_symbol = {asfloat(s.Load((offset + 0u)))};
   return tint_symbol;
 }
 
@@ -35,7 +35,7 @@
 }
 
 strided_arr_1 s_load_1(uint offset) {
-  const strided_arr_1 tint_symbol_1 = {s_load_2((offset + 0u))};
+  strided_arr_1 tint_symbol_1 = {s_load_2((offset + 0u))};
   return tint_symbol_1;
 }
 
@@ -86,11 +86,11 @@
 }
 
 void f_1() {
-  const strided_arr_1 x_19[4] = s_load(0u);
-  const strided_arr x_24[3][2] = s_load_2(384u);
-  const strided_arr x_28[2] = s_load_3(416u);
-  const float x_32 = asfloat(s.Load(424u));
-  const strided_arr_1 tint_symbol_2[4] = (strided_arr_1[4])0;
+  strided_arr_1 x_19[4] = s_load(0u);
+  strided_arr x_24[3][2] = s_load_2(384u);
+  strided_arr x_28[2] = s_load_3(416u);
+  float x_32 = asfloat(s.Load(424u));
+  strided_arr_1 tint_symbol_2[4] = (strided_arr_1[4])0;
   s_store(0u, tint_symbol_2);
   s.Store(424u, asuint(5.0f));
   return;
diff --git a/test/tint/array/type_initializer.wgsl.expected.dxc.hlsl b/test/tint/array/type_initializer.wgsl.expected.dxc.hlsl
index b43a887..e0991cd 100644
--- a/test/tint/array/type_initializer.wgsl.expected.dxc.hlsl
+++ b/test/tint/array/type_initializer.wgsl.expected.dxc.hlsl
@@ -2,25 +2,25 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = 42;
-  const int empty[4] = (int[4])0;
-  const int nonempty[4] = {1, 2, 3, 4};
-  const int nonempty_with_expr[4] = {1, x, (x + 1), nonempty[3]};
-  const int nested_empty[2][3][4] = (int[2][3][4])0;
-  const int nested_nonempty[2][3][4] = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}};
-  const int tint_symbol[4] = {1, 2, x, (x + 1)};
-  const int tint_symbol_1[4] = {5, 6, nonempty[2], (nonempty[3] + 1)};
-  const int tint_symbol_2[3][4] = {tint_symbol, tint_symbol_1, nonempty};
-  const int nested_nonempty_with_expr[2][3][4] = {tint_symbol_2, nested_nonempty[1]};
-  const int subexpr_empty = 0;
-  const int subexpr_nonempty = 3;
-  const int tint_symbol_3[4] = {1, x, (x + 1), nonempty[3]};
-  const int subexpr_nonempty_with_expr = tint_symbol_3[2];
-  const int subexpr_nested_empty[4] = (int[4])0;
-  const int subexpr_nested_nonempty[4] = {5, 6, 7, 8};
-  const int tint_symbol_4[4] = {1, x, (x + 1), nonempty[3]};
-  const int tint_symbol_5[2][4] = {tint_symbol_4, nested_nonempty[1][2]};
-  const int subexpr_nested_nonempty_with_expr[4] = tint_symbol_5[1];
+  int x = 42;
+  int empty[4] = (int[4])0;
+  int nonempty[4] = {1, 2, 3, 4};
+  int nonempty_with_expr[4] = {1, x, (x + 1), nonempty[3]};
+  int nested_empty[2][3][4] = (int[2][3][4])0;
+  int nested_nonempty[2][3][4] = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}};
+  int tint_symbol[4] = {1, 2, x, (x + 1)};
+  int tint_symbol_1[4] = {5, 6, nonempty[2], (nonempty[3] + 1)};
+  int tint_symbol_2[3][4] = {tint_symbol, tint_symbol_1, nonempty};
+  int nested_nonempty_with_expr[2][3][4] = {tint_symbol_2, nested_nonempty[1]};
+  int subexpr_empty = 0;
+  int subexpr_nonempty = 3;
+  int tint_symbol_3[4] = {1, x, (x + 1), nonempty[3]};
+  int subexpr_nonempty_with_expr = tint_symbol_3[2];
+  int subexpr_nested_empty[4] = (int[4])0;
+  int subexpr_nested_nonempty[4] = {5, 6, 7, 8};
+  int tint_symbol_4[4] = {1, x, (x + 1), nonempty[3]};
+  int tint_symbol_5[2][4] = {tint_symbol_4, nested_nonempty[1][2]};
+  int subexpr_nested_nonempty_with_expr[4] = tint_symbol_5[1];
   s.Store(0u, asuint((((((((((((empty[0] + nonempty[0]) + nonempty_with_expr[0]) + nested_empty[0][0][0]) + nested_nonempty[0][0][0]) + nested_nonempty_with_expr[0][0][0]) + subexpr_empty) + subexpr_nonempty) + subexpr_nonempty_with_expr) + subexpr_nested_empty[0]) + subexpr_nested_nonempty[0]) + subexpr_nested_nonempty_with_expr[0])));
   return;
 }
diff --git a/test/tint/array/type_initializer.wgsl.expected.fxc.hlsl b/test/tint/array/type_initializer.wgsl.expected.fxc.hlsl
index b43a887..e0991cd 100644
--- a/test/tint/array/type_initializer.wgsl.expected.fxc.hlsl
+++ b/test/tint/array/type_initializer.wgsl.expected.fxc.hlsl
@@ -2,25 +2,25 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = 42;
-  const int empty[4] = (int[4])0;
-  const int nonempty[4] = {1, 2, 3, 4};
-  const int nonempty_with_expr[4] = {1, x, (x + 1), nonempty[3]};
-  const int nested_empty[2][3][4] = (int[2][3][4])0;
-  const int nested_nonempty[2][3][4] = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}};
-  const int tint_symbol[4] = {1, 2, x, (x + 1)};
-  const int tint_symbol_1[4] = {5, 6, nonempty[2], (nonempty[3] + 1)};
-  const int tint_symbol_2[3][4] = {tint_symbol, tint_symbol_1, nonempty};
-  const int nested_nonempty_with_expr[2][3][4] = {tint_symbol_2, nested_nonempty[1]};
-  const int subexpr_empty = 0;
-  const int subexpr_nonempty = 3;
-  const int tint_symbol_3[4] = {1, x, (x + 1), nonempty[3]};
-  const int subexpr_nonempty_with_expr = tint_symbol_3[2];
-  const int subexpr_nested_empty[4] = (int[4])0;
-  const int subexpr_nested_nonempty[4] = {5, 6, 7, 8};
-  const int tint_symbol_4[4] = {1, x, (x + 1), nonempty[3]};
-  const int tint_symbol_5[2][4] = {tint_symbol_4, nested_nonempty[1][2]};
-  const int subexpr_nested_nonempty_with_expr[4] = tint_symbol_5[1];
+  int x = 42;
+  int empty[4] = (int[4])0;
+  int nonempty[4] = {1, 2, 3, 4};
+  int nonempty_with_expr[4] = {1, x, (x + 1), nonempty[3]};
+  int nested_empty[2][3][4] = (int[2][3][4])0;
+  int nested_nonempty[2][3][4] = {{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}, {{13, 14, 15, 16}, {17, 18, 19, 20}, {21, 22, 23, 24}}};
+  int tint_symbol[4] = {1, 2, x, (x + 1)};
+  int tint_symbol_1[4] = {5, 6, nonempty[2], (nonempty[3] + 1)};
+  int tint_symbol_2[3][4] = {tint_symbol, tint_symbol_1, nonempty};
+  int nested_nonempty_with_expr[2][3][4] = {tint_symbol_2, nested_nonempty[1]};
+  int subexpr_empty = 0;
+  int subexpr_nonempty = 3;
+  int tint_symbol_3[4] = {1, x, (x + 1), nonempty[3]};
+  int subexpr_nonempty_with_expr = tint_symbol_3[2];
+  int subexpr_nested_empty[4] = (int[4])0;
+  int subexpr_nested_nonempty[4] = {5, 6, 7, 8};
+  int tint_symbol_4[4] = {1, x, (x + 1), nonempty[3]};
+  int tint_symbol_5[2][4] = {tint_symbol_4, nested_nonempty[1][2]};
+  int subexpr_nested_nonempty_with_expr[4] = tint_symbol_5[1];
   s.Store(0u, asuint((((((((((((empty[0] + nonempty[0]) + nonempty_with_expr[0]) + nested_empty[0][0][0]) + nested_nonempty[0][0][0]) + nested_nonempty_with_expr[0][0][0]) + subexpr_empty) + subexpr_nonempty) + subexpr_nonempty_with_expr) + subexpr_nested_empty[0]) + subexpr_nested_nonempty[0]) + subexpr_nested_nonempty_with_expr[0])));
   return;
 }
diff --git a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.dxc.hlsl
index 2bf86f8..fd3469f 100644
--- a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.dxc.hlsl
@@ -57,28 +57,28 @@
 }
 
 void main_inner(uint idx) {
-  const float scalar_f32 = asfloat(sb.Load((544u * idx)));
-  const int scalar_i32 = asint(sb.Load(((544u * idx) + 4u)));
-  const uint scalar_u32 = sb.Load(((544u * idx) + 8u));
-  const float2 vec2_f32 = asfloat(sb.Load2(((544u * idx) + 16u)));
-  const int2 vec2_i32 = asint(sb.Load2(((544u * idx) + 24u)));
-  const uint2 vec2_u32 = sb.Load2(((544u * idx) + 32u));
-  const float3 vec3_f32 = asfloat(sb.Load3(((544u * idx) + 48u)));
-  const int3 vec3_i32 = asint(sb.Load3(((544u * idx) + 64u)));
-  const uint3 vec3_u32 = sb.Load3(((544u * idx) + 80u));
-  const float4 vec4_f32 = asfloat(sb.Load4(((544u * idx) + 96u)));
-  const int4 vec4_i32 = asint(sb.Load4(((544u * idx) + 112u)));
-  const uint4 vec4_u32 = sb.Load4(((544u * idx) + 128u));
-  const float2x2 mat2x2_f32 = sb_load_12(((544u * idx) + 144u));
-  const float2x3 mat2x3_f32 = sb_load_13(((544u * idx) + 160u));
-  const float2x4 mat2x4_f32 = sb_load_14(((544u * idx) + 192u));
-  const float3x2 mat3x2_f32 = sb_load_15(((544u * idx) + 224u));
-  const float3x3 mat3x3_f32 = sb_load_16(((544u * idx) + 256u));
-  const float3x4 mat3x4_f32 = sb_load_17(((544u * idx) + 304u));
-  const float4x2 mat4x2_f32 = sb_load_18(((544u * idx) + 352u));
-  const float4x3 mat4x3_f32 = sb_load_19(((544u * idx) + 384u));
-  const float4x4 mat4x4_f32 = sb_load_20(((544u * idx) + 448u));
-  const float3 arr2_vec3_f32[2] = sb_load_21(((544u * idx) + 512u));
+  float scalar_f32 = asfloat(sb.Load((544u * idx)));
+  int scalar_i32 = asint(sb.Load(((544u * idx) + 4u)));
+  uint scalar_u32 = sb.Load(((544u * idx) + 8u));
+  float2 vec2_f32 = asfloat(sb.Load2(((544u * idx) + 16u)));
+  int2 vec2_i32 = asint(sb.Load2(((544u * idx) + 24u)));
+  uint2 vec2_u32 = sb.Load2(((544u * idx) + 32u));
+  float3 vec3_f32 = asfloat(sb.Load3(((544u * idx) + 48u)));
+  int3 vec3_i32 = asint(sb.Load3(((544u * idx) + 64u)));
+  uint3 vec3_u32 = sb.Load3(((544u * idx) + 80u));
+  float4 vec4_f32 = asfloat(sb.Load4(((544u * idx) + 96u)));
+  int4 vec4_i32 = asint(sb.Load4(((544u * idx) + 112u)));
+  uint4 vec4_u32 = sb.Load4(((544u * idx) + 128u));
+  float2x2 mat2x2_f32 = sb_load_12(((544u * idx) + 144u));
+  float2x3 mat2x3_f32 = sb_load_13(((544u * idx) + 160u));
+  float2x4 mat2x4_f32 = sb_load_14(((544u * idx) + 192u));
+  float3x2 mat3x2_f32 = sb_load_15(((544u * idx) + 224u));
+  float3x3 mat3x3_f32 = sb_load_16(((544u * idx) + 256u));
+  float3x4 mat3x4_f32 = sb_load_17(((544u * idx) + 304u));
+  float4x2 mat4x2_f32 = sb_load_18(((544u * idx) + 352u));
+  float4x3 mat4x3_f32 = sb_load_19(((544u * idx) + 384u));
+  float4x4 mat4x4_f32 = sb_load_20(((544u * idx) + 448u));
+  float3 arr2_vec3_f32[2] = sb_load_21(((544u * idx) + 512u));
   s.Store(0u, asuint((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
 }
 
diff --git a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.fxc.hlsl b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.fxc.hlsl
index 2bf86f8..fd3469f 100644
--- a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.fxc.hlsl
@@ -57,28 +57,28 @@
 }
 
 void main_inner(uint idx) {
-  const float scalar_f32 = asfloat(sb.Load((544u * idx)));
-  const int scalar_i32 = asint(sb.Load(((544u * idx) + 4u)));
-  const uint scalar_u32 = sb.Load(((544u * idx) + 8u));
-  const float2 vec2_f32 = asfloat(sb.Load2(((544u * idx) + 16u)));
-  const int2 vec2_i32 = asint(sb.Load2(((544u * idx) + 24u)));
-  const uint2 vec2_u32 = sb.Load2(((544u * idx) + 32u));
-  const float3 vec3_f32 = asfloat(sb.Load3(((544u * idx) + 48u)));
-  const int3 vec3_i32 = asint(sb.Load3(((544u * idx) + 64u)));
-  const uint3 vec3_u32 = sb.Load3(((544u * idx) + 80u));
-  const float4 vec4_f32 = asfloat(sb.Load4(((544u * idx) + 96u)));
-  const int4 vec4_i32 = asint(sb.Load4(((544u * idx) + 112u)));
-  const uint4 vec4_u32 = sb.Load4(((544u * idx) + 128u));
-  const float2x2 mat2x2_f32 = sb_load_12(((544u * idx) + 144u));
-  const float2x3 mat2x3_f32 = sb_load_13(((544u * idx) + 160u));
-  const float2x4 mat2x4_f32 = sb_load_14(((544u * idx) + 192u));
-  const float3x2 mat3x2_f32 = sb_load_15(((544u * idx) + 224u));
-  const float3x3 mat3x3_f32 = sb_load_16(((544u * idx) + 256u));
-  const float3x4 mat3x4_f32 = sb_load_17(((544u * idx) + 304u));
-  const float4x2 mat4x2_f32 = sb_load_18(((544u * idx) + 352u));
-  const float4x3 mat4x3_f32 = sb_load_19(((544u * idx) + 384u));
-  const float4x4 mat4x4_f32 = sb_load_20(((544u * idx) + 448u));
-  const float3 arr2_vec3_f32[2] = sb_load_21(((544u * idx) + 512u));
+  float scalar_f32 = asfloat(sb.Load((544u * idx)));
+  int scalar_i32 = asint(sb.Load(((544u * idx) + 4u)));
+  uint scalar_u32 = sb.Load(((544u * idx) + 8u));
+  float2 vec2_f32 = asfloat(sb.Load2(((544u * idx) + 16u)));
+  int2 vec2_i32 = asint(sb.Load2(((544u * idx) + 24u)));
+  uint2 vec2_u32 = sb.Load2(((544u * idx) + 32u));
+  float3 vec3_f32 = asfloat(sb.Load3(((544u * idx) + 48u)));
+  int3 vec3_i32 = asint(sb.Load3(((544u * idx) + 64u)));
+  uint3 vec3_u32 = sb.Load3(((544u * idx) + 80u));
+  float4 vec4_f32 = asfloat(sb.Load4(((544u * idx) + 96u)));
+  int4 vec4_i32 = asint(sb.Load4(((544u * idx) + 112u)));
+  uint4 vec4_u32 = sb.Load4(((544u * idx) + 128u));
+  float2x2 mat2x2_f32 = sb_load_12(((544u * idx) + 144u));
+  float2x3 mat2x3_f32 = sb_load_13(((544u * idx) + 160u));
+  float2x4 mat2x4_f32 = sb_load_14(((544u * idx) + 192u));
+  float3x2 mat3x2_f32 = sb_load_15(((544u * idx) + 224u));
+  float3x3 mat3x3_f32 = sb_load_16(((544u * idx) + 256u));
+  float3x4 mat3x4_f32 = sb_load_17(((544u * idx) + 304u));
+  float4x2 mat4x2_f32 = sb_load_18(((544u * idx) + 352u));
+  float4x3 mat4x3_f32 = sb_load_19(((544u * idx) + 384u));
+  float4x4 mat4x4_f32 = sb_load_20(((544u * idx) + 448u));
+  float3 arr2_vec3_f32[2] = sb_load_21(((544u * idx) + 512u));
   s.Store(0u, asuint((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
 }
 
diff --git a/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
index 2bf9779..959820f 100644
--- a/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
@@ -104,41 +104,41 @@
 }
 
 void main_inner(uint idx) {
-  const float scalar_f32 = asfloat(sb.Load((800u * idx)));
-  const int scalar_i32 = asint(sb.Load(((800u * idx) + 4u)));
-  const uint scalar_u32 = sb.Load(((800u * idx) + 8u));
-  const float16_t scalar_f16 = sb.Load<float16_t>(((800u * idx) + 12u));
-  const float2 vec2_f32 = asfloat(sb.Load2(((800u * idx) + 16u)));
-  const int2 vec2_i32 = asint(sb.Load2(((800u * idx) + 24u)));
-  const uint2 vec2_u32 = sb.Load2(((800u * idx) + 32u));
-  const vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(((800u * idx) + 40u));
-  const float3 vec3_f32 = asfloat(sb.Load3(((800u * idx) + 48u)));
-  const int3 vec3_i32 = asint(sb.Load3(((800u * idx) + 64u)));
-  const uint3 vec3_u32 = sb.Load3(((800u * idx) + 80u));
-  const vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(((800u * idx) + 96u));
-  const float4 vec4_f32 = asfloat(sb.Load4(((800u * idx) + 112u)));
-  const int4 vec4_i32 = asint(sb.Load4(((800u * idx) + 128u)));
-  const uint4 vec4_u32 = sb.Load4(((800u * idx) + 144u));
-  const vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(((800u * idx) + 160u));
-  const float2x2 mat2x2_f32 = sb_load_16(((800u * idx) + 168u));
-  const float2x3 mat2x3_f32 = sb_load_17(((800u * idx) + 192u));
-  const float2x4 mat2x4_f32 = sb_load_18(((800u * idx) + 224u));
-  const float3x2 mat3x2_f32 = sb_load_19(((800u * idx) + 256u));
-  const float3x3 mat3x3_f32 = sb_load_20(((800u * idx) + 288u));
-  const float3x4 mat3x4_f32 = sb_load_21(((800u * idx) + 336u));
-  const float4x2 mat4x2_f32 = sb_load_22(((800u * idx) + 384u));
-  const float4x3 mat4x3_f32 = sb_load_23(((800u * idx) + 416u));
-  const float4x4 mat4x4_f32 = sb_load_24(((800u * idx) + 480u));
-  const matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(((800u * idx) + 544u));
-  const matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(((800u * idx) + 552u));
-  const matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(((800u * idx) + 568u));
-  const matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(((800u * idx) + 584u));
-  const matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(((800u * idx) + 600u));
-  const matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(((800u * idx) + 624u));
-  const matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(((800u * idx) + 648u));
-  const matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(((800u * idx) + 664u));
-  const matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(((800u * idx) + 696u));
-  const float3 arr2_vec3_f32[2] = sb_load_34(((800u * idx) + 736u));
+  float scalar_f32 = asfloat(sb.Load((800u * idx)));
+  int scalar_i32 = asint(sb.Load(((800u * idx) + 4u)));
+  uint scalar_u32 = sb.Load(((800u * idx) + 8u));
+  float16_t scalar_f16 = sb.Load<float16_t>(((800u * idx) + 12u));
+  float2 vec2_f32 = asfloat(sb.Load2(((800u * idx) + 16u)));
+  int2 vec2_i32 = asint(sb.Load2(((800u * idx) + 24u)));
+  uint2 vec2_u32 = sb.Load2(((800u * idx) + 32u));
+  vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(((800u * idx) + 40u));
+  float3 vec3_f32 = asfloat(sb.Load3(((800u * idx) + 48u)));
+  int3 vec3_i32 = asint(sb.Load3(((800u * idx) + 64u)));
+  uint3 vec3_u32 = sb.Load3(((800u * idx) + 80u));
+  vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(((800u * idx) + 96u));
+  float4 vec4_f32 = asfloat(sb.Load4(((800u * idx) + 112u)));
+  int4 vec4_i32 = asint(sb.Load4(((800u * idx) + 128u)));
+  uint4 vec4_u32 = sb.Load4(((800u * idx) + 144u));
+  vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(((800u * idx) + 160u));
+  float2x2 mat2x2_f32 = sb_load_16(((800u * idx) + 168u));
+  float2x3 mat2x3_f32 = sb_load_17(((800u * idx) + 192u));
+  float2x4 mat2x4_f32 = sb_load_18(((800u * idx) + 224u));
+  float3x2 mat3x2_f32 = sb_load_19(((800u * idx) + 256u));
+  float3x3 mat3x3_f32 = sb_load_20(((800u * idx) + 288u));
+  float3x4 mat3x4_f32 = sb_load_21(((800u * idx) + 336u));
+  float4x2 mat4x2_f32 = sb_load_22(((800u * idx) + 384u));
+  float4x3 mat4x3_f32 = sb_load_23(((800u * idx) + 416u));
+  float4x4 mat4x4_f32 = sb_load_24(((800u * idx) + 480u));
+  matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(((800u * idx) + 544u));
+  matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(((800u * idx) + 552u));
+  matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(((800u * idx) + 568u));
+  matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(((800u * idx) + 584u));
+  matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(((800u * idx) + 600u));
+  matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(((800u * idx) + 624u));
+  matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(((800u * idx) + 648u));
+  matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(((800u * idx) + 664u));
+  matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(((800u * idx) + 696u));
+  float3 arr2_vec3_f32[2] = sb_load_34(((800u * idx) + 736u));
   matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(((800u * idx) + 768u));
   s.Store(0u, asuint((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + int(arr2_mat4x2_f16[0][0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
 }
diff --git a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.dxc.hlsl
index ac3b67a..def10b2 100644
--- a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.dxc.hlsl
@@ -89,7 +89,7 @@
   sb_store_18(((544u * idx) + 352u), float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
   sb_store_19(((544u * idx) + 384u), float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
   sb_store_20(((544u * idx) + 448u), float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
-  const float3 tint_symbol_2[2] = (float3[2])0;
+  float3 tint_symbol_2[2] = (float3[2])0;
   sb_store_21(((544u * idx) + 512u), tint_symbol_2);
 }
 
diff --git a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.fxc.hlsl b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.fxc.hlsl
index ac3b67a..def10b2 100644
--- a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.fxc.hlsl
@@ -89,7 +89,7 @@
   sb_store_18(((544u * idx) + 352u), float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
   sb_store_19(((544u * idx) + 384u), float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
   sb_store_20(((544u * idx) + 448u), float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
-  const float3 tint_symbol_2[2] = (float3[2])0;
+  float3 tint_symbol_2[2] = (float3[2])0;
   sb_store_21(((544u * idx) + 512u), tint_symbol_2);
 }
 
diff --git a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.dxc.hlsl
index 5f763f9..38a7f03 100644
--- a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.dxc.hlsl
@@ -165,7 +165,7 @@
   sb_store_31(((800u * idx) + 648u), matrix<float16_t, 4, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
   sb_store_32(((800u * idx) + 664u), matrix<float16_t, 4, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
   sb_store_33(((800u * idx) + 696u), matrix<float16_t, 4, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
-  const float3 tint_symbol_2[2] = (float3[2])0;
+  float3 tint_symbol_2[2] = (float3[2])0;
   sb_store_34(((800u * idx) + 736u), tint_symbol_2);
   matrix<float16_t, 4, 2> tint_symbol_3[2] = (matrix<float16_t, 4, 2>[2])0;
   sb_store_35(((800u * idx) + 768u), tint_symbol_3);
diff --git a/test/tint/buffer/storage/static_index/read.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/static_index/read.wgsl.expected.dxc.hlsl
index aa94d2f..85fee8d 100644
--- a/test/tint/buffer/storage/static_index/read.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/static_index/read.wgsl.expected.dxc.hlsl
@@ -58,7 +58,7 @@
 }
 
 Inner sb_load_22(uint offset) {
-  const Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u)))};
+  Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u)))};
   return tint_symbol;
 }
 
@@ -75,30 +75,30 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(sb.Load(0u));
-  const int scalar_i32 = asint(sb.Load(4u));
-  const uint scalar_u32 = sb.Load(8u);
-  const float2 vec2_f32 = asfloat(sb.Load2(16u));
-  const int2 vec2_i32 = asint(sb.Load2(24u));
-  const uint2 vec2_u32 = sb.Load2(32u);
-  const float3 vec3_f32 = asfloat(sb.Load3(48u));
-  const int3 vec3_i32 = asint(sb.Load3(64u));
-  const uint3 vec3_u32 = sb.Load3(80u);
-  const float4 vec4_f32 = asfloat(sb.Load4(96u));
-  const int4 vec4_i32 = asint(sb.Load4(112u));
-  const uint4 vec4_u32 = sb.Load4(128u);
-  const float2x2 mat2x2_f32 = sb_load_12(144u);
-  const float2x3 mat2x3_f32 = sb_load_13(160u);
-  const float2x4 mat2x4_f32 = sb_load_14(192u);
-  const float3x2 mat3x2_f32 = sb_load_15(224u);
-  const float3x3 mat3x3_f32 = sb_load_16(256u);
-  const float3x4 mat3x4_f32 = sb_load_17(304u);
-  const float4x2 mat4x2_f32 = sb_load_18(352u);
-  const float4x3 mat4x3_f32 = sb_load_19(384u);
-  const float4x4 mat4x4_f32 = sb_load_20(448u);
-  const float3 arr2_vec3_f32[2] = sb_load_21(512u);
-  const Inner struct_inner = sb_load_22(544u);
-  const Inner array_struct_inner[4] = sb_load_23(552u);
+  float scalar_f32 = asfloat(sb.Load(0u));
+  int scalar_i32 = asint(sb.Load(4u));
+  uint scalar_u32 = sb.Load(8u);
+  float2 vec2_f32 = asfloat(sb.Load2(16u));
+  int2 vec2_i32 = asint(sb.Load2(24u));
+  uint2 vec2_u32 = sb.Load2(32u);
+  float3 vec3_f32 = asfloat(sb.Load3(48u));
+  int3 vec3_i32 = asint(sb.Load3(64u));
+  uint3 vec3_u32 = sb.Load3(80u);
+  float4 vec4_f32 = asfloat(sb.Load4(96u));
+  int4 vec4_i32 = asint(sb.Load4(112u));
+  uint4 vec4_u32 = sb.Load4(128u);
+  float2x2 mat2x2_f32 = sb_load_12(144u);
+  float2x3 mat2x3_f32 = sb_load_13(160u);
+  float2x4 mat2x4_f32 = sb_load_14(192u);
+  float3x2 mat3x2_f32 = sb_load_15(224u);
+  float3x3 mat3x3_f32 = sb_load_16(256u);
+  float3x4 mat3x4_f32 = sb_load_17(304u);
+  float4x2 mat4x2_f32 = sb_load_18(352u);
+  float4x3 mat4x3_f32 = sb_load_19(384u);
+  float4x4 mat4x4_f32 = sb_load_20(448u);
+  float3 arr2_vec3_f32[2] = sb_load_21(512u);
+  Inner struct_inner = sb_load_22(544u);
+  Inner array_struct_inner[4] = sb_load_23(552u);
   s.Store(0u, asuint((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/storage/static_index/read.wgsl.expected.fxc.hlsl b/test/tint/buffer/storage/static_index/read.wgsl.expected.fxc.hlsl
index aa94d2f..85fee8d 100644
--- a/test/tint/buffer/storage/static_index/read.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/storage/static_index/read.wgsl.expected.fxc.hlsl
@@ -58,7 +58,7 @@
 }
 
 Inner sb_load_22(uint offset) {
-  const Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u)))};
+  Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u)))};
   return tint_symbol;
 }
 
@@ -75,30 +75,30 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(sb.Load(0u));
-  const int scalar_i32 = asint(sb.Load(4u));
-  const uint scalar_u32 = sb.Load(8u);
-  const float2 vec2_f32 = asfloat(sb.Load2(16u));
-  const int2 vec2_i32 = asint(sb.Load2(24u));
-  const uint2 vec2_u32 = sb.Load2(32u);
-  const float3 vec3_f32 = asfloat(sb.Load3(48u));
-  const int3 vec3_i32 = asint(sb.Load3(64u));
-  const uint3 vec3_u32 = sb.Load3(80u);
-  const float4 vec4_f32 = asfloat(sb.Load4(96u));
-  const int4 vec4_i32 = asint(sb.Load4(112u));
-  const uint4 vec4_u32 = sb.Load4(128u);
-  const float2x2 mat2x2_f32 = sb_load_12(144u);
-  const float2x3 mat2x3_f32 = sb_load_13(160u);
-  const float2x4 mat2x4_f32 = sb_load_14(192u);
-  const float3x2 mat3x2_f32 = sb_load_15(224u);
-  const float3x3 mat3x3_f32 = sb_load_16(256u);
-  const float3x4 mat3x4_f32 = sb_load_17(304u);
-  const float4x2 mat4x2_f32 = sb_load_18(352u);
-  const float4x3 mat4x3_f32 = sb_load_19(384u);
-  const float4x4 mat4x4_f32 = sb_load_20(448u);
-  const float3 arr2_vec3_f32[2] = sb_load_21(512u);
-  const Inner struct_inner = sb_load_22(544u);
-  const Inner array_struct_inner[4] = sb_load_23(552u);
+  float scalar_f32 = asfloat(sb.Load(0u));
+  int scalar_i32 = asint(sb.Load(4u));
+  uint scalar_u32 = sb.Load(8u);
+  float2 vec2_f32 = asfloat(sb.Load2(16u));
+  int2 vec2_i32 = asint(sb.Load2(24u));
+  uint2 vec2_u32 = sb.Load2(32u);
+  float3 vec3_f32 = asfloat(sb.Load3(48u));
+  int3 vec3_i32 = asint(sb.Load3(64u));
+  uint3 vec3_u32 = sb.Load3(80u);
+  float4 vec4_f32 = asfloat(sb.Load4(96u));
+  int4 vec4_i32 = asint(sb.Load4(112u));
+  uint4 vec4_u32 = sb.Load4(128u);
+  float2x2 mat2x2_f32 = sb_load_12(144u);
+  float2x3 mat2x3_f32 = sb_load_13(160u);
+  float2x4 mat2x4_f32 = sb_load_14(192u);
+  float3x2 mat3x2_f32 = sb_load_15(224u);
+  float3x3 mat3x3_f32 = sb_load_16(256u);
+  float3x4 mat3x4_f32 = sb_load_17(304u);
+  float4x2 mat4x2_f32 = sb_load_18(352u);
+  float4x3 mat4x3_f32 = sb_load_19(384u);
+  float4x4 mat4x4_f32 = sb_load_20(448u);
+  float3 arr2_vec3_f32[2] = sb_load_21(512u);
+  Inner struct_inner = sb_load_22(544u);
+  Inner array_struct_inner[4] = sb_load_23(552u);
   s.Store(0u, asuint((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.dxc.hlsl
index ed43aad..c956eff 100644
--- a/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.dxc.hlsl
@@ -106,7 +106,7 @@
 }
 
 Inner sb_load_36(uint offset) {
-  const Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u))), sb.Load<float16_t>((offset + 8u))};
+  Inner tint_symbol = {asint(sb.Load((offset + 0u))), asfloat(sb.Load((offset + 4u))), sb.Load<float16_t>((offset + 8u))};
   return tint_symbol;
 }
 
@@ -123,44 +123,44 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(sb.Load(0u));
-  const int scalar_i32 = asint(sb.Load(4u));
-  const uint scalar_u32 = sb.Load(8u);
-  const float16_t scalar_f16 = sb.Load<float16_t>(12u);
-  const float2 vec2_f32 = asfloat(sb.Load2(16u));
-  const int2 vec2_i32 = asint(sb.Load2(24u));
-  const uint2 vec2_u32 = sb.Load2(32u);
-  const vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(40u);
-  const float3 vec3_f32 = asfloat(sb.Load3(48u));
-  const int3 vec3_i32 = asint(sb.Load3(64u));
-  const uint3 vec3_u32 = sb.Load3(80u);
-  const vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(96u);
-  const float4 vec4_f32 = asfloat(sb.Load4(112u));
-  const int4 vec4_i32 = asint(sb.Load4(128u));
-  const uint4 vec4_u32 = sb.Load4(144u);
-  const vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(160u);
-  const float2x2 mat2x2_f32 = sb_load_16(168u);
-  const float2x3 mat2x3_f32 = sb_load_17(192u);
-  const float2x4 mat2x4_f32 = sb_load_18(224u);
-  const float3x2 mat3x2_f32 = sb_load_19(256u);
-  const float3x3 mat3x3_f32 = sb_load_20(288u);
-  const float3x4 mat3x4_f32 = sb_load_21(336u);
-  const float4x2 mat4x2_f32 = sb_load_22(384u);
-  const float4x3 mat4x3_f32 = sb_load_23(416u);
-  const float4x4 mat4x4_f32 = sb_load_24(480u);
-  const matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(544u);
-  const matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(552u);
-  const matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(568u);
-  const matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(584u);
-  const matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(600u);
-  const matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(624u);
-  const matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(648u);
-  const matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(664u);
-  const matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(696u);
-  const float3 arr2_vec3_f32[2] = sb_load_34(736u);
+  float scalar_f32 = asfloat(sb.Load(0u));
+  int scalar_i32 = asint(sb.Load(4u));
+  uint scalar_u32 = sb.Load(8u);
+  float16_t scalar_f16 = sb.Load<float16_t>(12u);
+  float2 vec2_f32 = asfloat(sb.Load2(16u));
+  int2 vec2_i32 = asint(sb.Load2(24u));
+  uint2 vec2_u32 = sb.Load2(32u);
+  vector<float16_t, 2> vec2_f16 = sb.Load<vector<float16_t, 2> >(40u);
+  float3 vec3_f32 = asfloat(sb.Load3(48u));
+  int3 vec3_i32 = asint(sb.Load3(64u));
+  uint3 vec3_u32 = sb.Load3(80u);
+  vector<float16_t, 3> vec3_f16 = sb.Load<vector<float16_t, 3> >(96u);
+  float4 vec4_f32 = asfloat(sb.Load4(112u));
+  int4 vec4_i32 = asint(sb.Load4(128u));
+  uint4 vec4_u32 = sb.Load4(144u);
+  vector<float16_t, 4> vec4_f16 = sb.Load<vector<float16_t, 4> >(160u);
+  float2x2 mat2x2_f32 = sb_load_16(168u);
+  float2x3 mat2x3_f32 = sb_load_17(192u);
+  float2x4 mat2x4_f32 = sb_load_18(224u);
+  float3x2 mat3x2_f32 = sb_load_19(256u);
+  float3x3 mat3x3_f32 = sb_load_20(288u);
+  float3x4 mat3x4_f32 = sb_load_21(336u);
+  float4x2 mat4x2_f32 = sb_load_22(384u);
+  float4x3 mat4x3_f32 = sb_load_23(416u);
+  float4x4 mat4x4_f32 = sb_load_24(480u);
+  matrix<float16_t, 2, 2> mat2x2_f16 = sb_load_25(544u);
+  matrix<float16_t, 2, 3> mat2x3_f16 = sb_load_26(552u);
+  matrix<float16_t, 2, 4> mat2x4_f16 = sb_load_27(568u);
+  matrix<float16_t, 3, 2> mat3x2_f16 = sb_load_28(584u);
+  matrix<float16_t, 3, 3> mat3x3_f16 = sb_load_29(600u);
+  matrix<float16_t, 3, 4> mat3x4_f16 = sb_load_30(624u);
+  matrix<float16_t, 4, 2> mat4x2_f16 = sb_load_31(648u);
+  matrix<float16_t, 4, 3> mat4x3_f16 = sb_load_32(664u);
+  matrix<float16_t, 4, 4> mat4x4_f16 = sb_load_33(696u);
+  float3 arr2_vec3_f32[2] = sb_load_34(736u);
   matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = sb_load_35(768u);
-  const Inner struct_inner = sb_load_36(800u);
-  const Inner array_struct_inner[4] = sb_load_37(812u);
+  Inner struct_inner = sb_load_36(800u);
+  Inner array_struct_inner[4] = sb_load_37(812u);
   s.Store(0u, asuint((((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + int(arr2_mat4x2_f16[0][0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/storage/static_index/write.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/static_index/write.wgsl.expected.dxc.hlsl
index 2d7bcc1..acd3f48 100644
--- a/test/tint/buffer/storage/static_index/write.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/static_index/write.wgsl.expected.dxc.hlsl
@@ -105,11 +105,11 @@
   sb_store_18(352u, float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
   sb_store_19(384u, float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
   sb_store_20(448u, float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
-  const float3 tint_symbol[2] = (float3[2])0;
+  float3 tint_symbol[2] = (float3[2])0;
   sb_store_21(512u, tint_symbol);
-  const Inner tint_symbol_1 = (Inner)0;
+  Inner tint_symbol_1 = (Inner)0;
   sb_store_22(544u, tint_symbol_1);
-  const Inner tint_symbol_2[4] = (Inner[4])0;
+  Inner tint_symbol_2[4] = (Inner[4])0;
   sb_store_23(552u, tint_symbol_2);
   return;
 }
diff --git a/test/tint/buffer/storage/static_index/write.wgsl.expected.fxc.hlsl b/test/tint/buffer/storage/static_index/write.wgsl.expected.fxc.hlsl
index 2d7bcc1..acd3f48 100644
--- a/test/tint/buffer/storage/static_index/write.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/storage/static_index/write.wgsl.expected.fxc.hlsl
@@ -105,11 +105,11 @@
   sb_store_18(352u, float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx));
   sb_store_19(384u, float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx));
   sb_store_20(448u, float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx));
-  const float3 tint_symbol[2] = (float3[2])0;
+  float3 tint_symbol[2] = (float3[2])0;
   sb_store_21(512u, tint_symbol);
-  const Inner tint_symbol_1 = (Inner)0;
+  Inner tint_symbol_1 = (Inner)0;
   sb_store_22(544u, tint_symbol_1);
-  const Inner tint_symbol_2[4] = (Inner[4])0;
+  Inner tint_symbol_2[4] = (Inner[4])0;
   sb_store_23(552u, tint_symbol_2);
   return;
 }
diff --git a/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.dxc.hlsl
index 916cbb8..22b1f6f 100644
--- a/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/storage/static_index/write_f16.wgsl.expected.dxc.hlsl
@@ -183,13 +183,13 @@
   sb_store_31(648u, matrix<float16_t, 4, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx));
   sb_store_32(664u, matrix<float16_t, 4, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx));
   sb_store_33(696u, matrix<float16_t, 4, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx));
-  const float3 tint_symbol[2] = (float3[2])0;
+  float3 tint_symbol[2] = (float3[2])0;
   sb_store_34(736u, tint_symbol);
   matrix<float16_t, 4, 2> tint_symbol_1[2] = (matrix<float16_t, 4, 2>[2])0;
   sb_store_35(768u, tint_symbol_1);
-  const Inner tint_symbol_2 = (Inner)0;
+  Inner tint_symbol_2 = (Inner)0;
   sb_store_36(800u, tint_symbol_2);
-  const Inner tint_symbol_3[4] = (Inner[4])0;
+  Inner tint_symbol_3[4] = (Inner[4])0;
   sb_store_37(812u, tint_symbol_3);
   return;
 }
diff --git a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.dxc.hlsl
index d01c08d..520d345 100644
--- a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.dxc.hlsl
@@ -97,42 +97,42 @@
 
 void main_inner(uint idx) {
   const uint scalar_offset_28 = ((544u * idx)) / 4;
-  const float scalar_f32 = asfloat(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]);
+  float scalar_f32 = asfloat(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]);
   const uint scalar_offset_29 = (((544u * idx) + 4u)) / 4;
-  const int scalar_i32 = asint(ub[scalar_offset_29 / 4][scalar_offset_29 % 4]);
+  int scalar_i32 = asint(ub[scalar_offset_29 / 4][scalar_offset_29 % 4]);
   const uint scalar_offset_30 = (((544u * idx) + 8u)) / 4;
-  const uint scalar_u32 = ub[scalar_offset_30 / 4][scalar_offset_30 % 4];
+  uint scalar_u32 = ub[scalar_offset_30 / 4][scalar_offset_30 % 4];
   const uint scalar_offset_31 = (((544u * idx) + 16u)) / 4;
   uint4 ubo_load_9 = ub[scalar_offset_31 / 4];
-  const float2 vec2_f32 = asfloat(((scalar_offset_31 & 2) ? ubo_load_9.zw : ubo_load_9.xy));
+  float2 vec2_f32 = asfloat(((scalar_offset_31 & 2) ? ubo_load_9.zw : ubo_load_9.xy));
   const uint scalar_offset_32 = (((544u * idx) + 24u)) / 4;
   uint4 ubo_load_10 = ub[scalar_offset_32 / 4];
-  const int2 vec2_i32 = asint(((scalar_offset_32 & 2) ? ubo_load_10.zw : ubo_load_10.xy));
+  int2 vec2_i32 = asint(((scalar_offset_32 & 2) ? ubo_load_10.zw : ubo_load_10.xy));
   const uint scalar_offset_33 = (((544u * idx) + 32u)) / 4;
   uint4 ubo_load_11 = ub[scalar_offset_33 / 4];
-  const uint2 vec2_u32 = ((scalar_offset_33 & 2) ? ubo_load_11.zw : ubo_load_11.xy);
+  uint2 vec2_u32 = ((scalar_offset_33 & 2) ? ubo_load_11.zw : ubo_load_11.xy);
   const uint scalar_offset_34 = (((544u * idx) + 48u)) / 4;
-  const float3 vec3_f32 = asfloat(ub[scalar_offset_34 / 4].xyz);
+  float3 vec3_f32 = asfloat(ub[scalar_offset_34 / 4].xyz);
   const uint scalar_offset_35 = (((544u * idx) + 64u)) / 4;
-  const int3 vec3_i32 = asint(ub[scalar_offset_35 / 4].xyz);
+  int3 vec3_i32 = asint(ub[scalar_offset_35 / 4].xyz);
   const uint scalar_offset_36 = (((544u * idx) + 80u)) / 4;
-  const uint3 vec3_u32 = ub[scalar_offset_36 / 4].xyz;
+  uint3 vec3_u32 = ub[scalar_offset_36 / 4].xyz;
   const uint scalar_offset_37 = (((544u * idx) + 96u)) / 4;
-  const float4 vec4_f32 = asfloat(ub[scalar_offset_37 / 4]);
+  float4 vec4_f32 = asfloat(ub[scalar_offset_37 / 4]);
   const uint scalar_offset_38 = (((544u * idx) + 112u)) / 4;
-  const int4 vec4_i32 = asint(ub[scalar_offset_38 / 4]);
+  int4 vec4_i32 = asint(ub[scalar_offset_38 / 4]);
   const uint scalar_offset_39 = (((544u * idx) + 128u)) / 4;
-  const uint4 vec4_u32 = ub[scalar_offset_39 / 4];
-  const float2x2 mat2x2_f32 = ub_load_12(((544u * idx) + 144u));
-  const float2x3 mat2x3_f32 = ub_load_13(((544u * idx) + 160u));
-  const float2x4 mat2x4_f32 = ub_load_14(((544u * idx) + 192u));
-  const float3x2 mat3x2_f32 = ub_load_15(((544u * idx) + 224u));
-  const float3x3 mat3x3_f32 = ub_load_16(((544u * idx) + 256u));
-  const float3x4 mat3x4_f32 = ub_load_17(((544u * idx) + 304u));
-  const float4x2 mat4x2_f32 = ub_load_18(((544u * idx) + 352u));
-  const float4x3 mat4x3_f32 = ub_load_19(((544u * idx) + 384u));
-  const float4x4 mat4x4_f32 = ub_load_20(((544u * idx) + 448u));
-  const float3 arr2_vec3_f32[2] = ub_load_21(((544u * idx) + 512u));
+  uint4 vec4_u32 = ub[scalar_offset_39 / 4];
+  float2x2 mat2x2_f32 = ub_load_12(((544u * idx) + 144u));
+  float2x3 mat2x3_f32 = ub_load_13(((544u * idx) + 160u));
+  float2x4 mat2x4_f32 = ub_load_14(((544u * idx) + 192u));
+  float3x2 mat3x2_f32 = ub_load_15(((544u * idx) + 224u));
+  float3x3 mat3x3_f32 = ub_load_16(((544u * idx) + 256u));
+  float3x4 mat3x4_f32 = ub_load_17(((544u * idx) + 304u));
+  float4x2 mat4x2_f32 = ub_load_18(((544u * idx) + 352u));
+  float4x3 mat4x3_f32 = ub_load_19(((544u * idx) + 384u));
+  float4x4 mat4x4_f32 = ub_load_20(((544u * idx) + 448u));
+  float3 arr2_vec3_f32[2] = ub_load_21(((544u * idx) + 512u));
   s.Store(0u, asuint((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
 }
 
diff --git a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.fxc.hlsl
index d01c08d..520d345 100644
--- a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.fxc.hlsl
@@ -97,42 +97,42 @@
 
 void main_inner(uint idx) {
   const uint scalar_offset_28 = ((544u * idx)) / 4;
-  const float scalar_f32 = asfloat(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]);
+  float scalar_f32 = asfloat(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]);
   const uint scalar_offset_29 = (((544u * idx) + 4u)) / 4;
-  const int scalar_i32 = asint(ub[scalar_offset_29 / 4][scalar_offset_29 % 4]);
+  int scalar_i32 = asint(ub[scalar_offset_29 / 4][scalar_offset_29 % 4]);
   const uint scalar_offset_30 = (((544u * idx) + 8u)) / 4;
-  const uint scalar_u32 = ub[scalar_offset_30 / 4][scalar_offset_30 % 4];
+  uint scalar_u32 = ub[scalar_offset_30 / 4][scalar_offset_30 % 4];
   const uint scalar_offset_31 = (((544u * idx) + 16u)) / 4;
   uint4 ubo_load_9 = ub[scalar_offset_31 / 4];
-  const float2 vec2_f32 = asfloat(((scalar_offset_31 & 2) ? ubo_load_9.zw : ubo_load_9.xy));
+  float2 vec2_f32 = asfloat(((scalar_offset_31 & 2) ? ubo_load_9.zw : ubo_load_9.xy));
   const uint scalar_offset_32 = (((544u * idx) + 24u)) / 4;
   uint4 ubo_load_10 = ub[scalar_offset_32 / 4];
-  const int2 vec2_i32 = asint(((scalar_offset_32 & 2) ? ubo_load_10.zw : ubo_load_10.xy));
+  int2 vec2_i32 = asint(((scalar_offset_32 & 2) ? ubo_load_10.zw : ubo_load_10.xy));
   const uint scalar_offset_33 = (((544u * idx) + 32u)) / 4;
   uint4 ubo_load_11 = ub[scalar_offset_33 / 4];
-  const uint2 vec2_u32 = ((scalar_offset_33 & 2) ? ubo_load_11.zw : ubo_load_11.xy);
+  uint2 vec2_u32 = ((scalar_offset_33 & 2) ? ubo_load_11.zw : ubo_load_11.xy);
   const uint scalar_offset_34 = (((544u * idx) + 48u)) / 4;
-  const float3 vec3_f32 = asfloat(ub[scalar_offset_34 / 4].xyz);
+  float3 vec3_f32 = asfloat(ub[scalar_offset_34 / 4].xyz);
   const uint scalar_offset_35 = (((544u * idx) + 64u)) / 4;
-  const int3 vec3_i32 = asint(ub[scalar_offset_35 / 4].xyz);
+  int3 vec3_i32 = asint(ub[scalar_offset_35 / 4].xyz);
   const uint scalar_offset_36 = (((544u * idx) + 80u)) / 4;
-  const uint3 vec3_u32 = ub[scalar_offset_36 / 4].xyz;
+  uint3 vec3_u32 = ub[scalar_offset_36 / 4].xyz;
   const uint scalar_offset_37 = (((544u * idx) + 96u)) / 4;
-  const float4 vec4_f32 = asfloat(ub[scalar_offset_37 / 4]);
+  float4 vec4_f32 = asfloat(ub[scalar_offset_37 / 4]);
   const uint scalar_offset_38 = (((544u * idx) + 112u)) / 4;
-  const int4 vec4_i32 = asint(ub[scalar_offset_38 / 4]);
+  int4 vec4_i32 = asint(ub[scalar_offset_38 / 4]);
   const uint scalar_offset_39 = (((544u * idx) + 128u)) / 4;
-  const uint4 vec4_u32 = ub[scalar_offset_39 / 4];
-  const float2x2 mat2x2_f32 = ub_load_12(((544u * idx) + 144u));
-  const float2x3 mat2x3_f32 = ub_load_13(((544u * idx) + 160u));
-  const float2x4 mat2x4_f32 = ub_load_14(((544u * idx) + 192u));
-  const float3x2 mat3x2_f32 = ub_load_15(((544u * idx) + 224u));
-  const float3x3 mat3x3_f32 = ub_load_16(((544u * idx) + 256u));
-  const float3x4 mat3x4_f32 = ub_load_17(((544u * idx) + 304u));
-  const float4x2 mat4x2_f32 = ub_load_18(((544u * idx) + 352u));
-  const float4x3 mat4x3_f32 = ub_load_19(((544u * idx) + 384u));
-  const float4x4 mat4x4_f32 = ub_load_20(((544u * idx) + 448u));
-  const float3 arr2_vec3_f32[2] = ub_load_21(((544u * idx) + 512u));
+  uint4 vec4_u32 = ub[scalar_offset_39 / 4];
+  float2x2 mat2x2_f32 = ub_load_12(((544u * idx) + 144u));
+  float2x3 mat2x3_f32 = ub_load_13(((544u * idx) + 160u));
+  float2x4 mat2x4_f32 = ub_load_14(((544u * idx) + 192u));
+  float3x2 mat3x2_f32 = ub_load_15(((544u * idx) + 224u));
+  float3x3 mat3x3_f32 = ub_load_16(((544u * idx) + 256u));
+  float3x4 mat3x4_f32 = ub_load_17(((544u * idx) + 304u));
+  float4x2 mat4x2_f32 = ub_load_18(((544u * idx) + 352u));
+  float4x3 mat4x3_f32 = ub_load_19(((544u * idx) + 384u));
+  float4x4 mat4x4_f32 = ub_load_20(((544u * idx) + 448u));
+  float3 arr2_vec3_f32[2] = ub_load_21(((544u * idx) + 512u));
   s.Store(0u, asuint((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x))));
 }
 
diff --git a/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
index 48d087f..79dd94a 100644
--- a/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.dxc.hlsl
@@ -252,69 +252,69 @@
 
 void main_inner(uint idx) {
   const uint scalar_offset_55 = ((800u * idx)) / 4;
-  const float scalar_f32 = asfloat(ub[scalar_offset_55 / 4][scalar_offset_55 % 4]);
+  float scalar_f32 = asfloat(ub[scalar_offset_55 / 4][scalar_offset_55 % 4]);
   const uint scalar_offset_56 = (((800u * idx) + 4u)) / 4;
-  const int scalar_i32 = asint(ub[scalar_offset_56 / 4][scalar_offset_56 % 4]);
+  int scalar_i32 = asint(ub[scalar_offset_56 / 4][scalar_offset_56 % 4]);
   const uint scalar_offset_57 = (((800u * idx) + 8u)) / 4;
-  const uint scalar_u32 = ub[scalar_offset_57 / 4][scalar_offset_57 % 4];
+  uint scalar_u32 = ub[scalar_offset_57 / 4][scalar_offset_57 % 4];
   const uint scalar_offset_bytes = (((800u * idx) + 12u));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t scalar_f16 = float16_t(f16tof32(((ub[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t scalar_f16 = float16_t(f16tof32(((ub[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   const uint scalar_offset_58 = (((800u * idx) + 16u)) / 4;
   uint4 ubo_load_54 = ub[scalar_offset_58 / 4];
-  const float2 vec2_f32 = asfloat(((scalar_offset_58 & 2) ? ubo_load_54.zw : ubo_load_54.xy));
+  float2 vec2_f32 = asfloat(((scalar_offset_58 & 2) ? ubo_load_54.zw : ubo_load_54.xy));
   const uint scalar_offset_59 = (((800u * idx) + 24u)) / 4;
   uint4 ubo_load_55 = ub[scalar_offset_59 / 4];
-  const int2 vec2_i32 = asint(((scalar_offset_59 & 2) ? ubo_load_55.zw : ubo_load_55.xy));
+  int2 vec2_i32 = asint(((scalar_offset_59 & 2) ? ubo_load_55.zw : ubo_load_55.xy));
   const uint scalar_offset_60 = (((800u * idx) + 32u)) / 4;
   uint4 ubo_load_56 = ub[scalar_offset_60 / 4];
-  const uint2 vec2_u32 = ((scalar_offset_60 & 2) ? ubo_load_56.zw : ubo_load_56.xy);
+  uint2 vec2_u32 = ((scalar_offset_60 & 2) ? ubo_load_56.zw : ubo_load_56.xy);
   const uint scalar_offset_61 = (((800u * idx) + 40u)) / 4;
   uint ubo_load_57 = ub[scalar_offset_61 / 4][scalar_offset_61 % 4];
-  const vector<float16_t, 2> vec2_f16 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_57 & 0xFFFF)), float16_t(f16tof32(ubo_load_57 >> 16)));
+  vector<float16_t, 2> vec2_f16 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_57 & 0xFFFF)), float16_t(f16tof32(ubo_load_57 >> 16)));
   const uint scalar_offset_62 = (((800u * idx) + 48u)) / 4;
-  const float3 vec3_f32 = asfloat(ub[scalar_offset_62 / 4].xyz);
+  float3 vec3_f32 = asfloat(ub[scalar_offset_62 / 4].xyz);
   const uint scalar_offset_63 = (((800u * idx) + 64u)) / 4;
-  const int3 vec3_i32 = asint(ub[scalar_offset_63 / 4].xyz);
+  int3 vec3_i32 = asint(ub[scalar_offset_63 / 4].xyz);
   const uint scalar_offset_64 = (((800u * idx) + 80u)) / 4;
-  const uint3 vec3_u32 = ub[scalar_offset_64 / 4].xyz;
+  uint3 vec3_u32 = ub[scalar_offset_64 / 4].xyz;
   const uint scalar_offset_65 = (((800u * idx) + 96u)) / 4;
   uint4 ubo_load_59 = ub[scalar_offset_65 / 4];
   uint2 ubo_load_58 = ((scalar_offset_65 & 2) ? ubo_load_59.zw : ubo_load_59.xy);
   vector<float16_t, 2> ubo_load_58_xz = vector<float16_t, 2>(f16tof32(ubo_load_58 & 0xFFFF));
   float16_t ubo_load_58_y = f16tof32(ubo_load_58[0] >> 16);
-  const vector<float16_t, 3> vec3_f16 = vector<float16_t, 3>(ubo_load_58_xz[0], ubo_load_58_y, ubo_load_58_xz[1]);
+  vector<float16_t, 3> vec3_f16 = vector<float16_t, 3>(ubo_load_58_xz[0], ubo_load_58_y, ubo_load_58_xz[1]);
   const uint scalar_offset_66 = (((800u * idx) + 112u)) / 4;
-  const float4 vec4_f32 = asfloat(ub[scalar_offset_66 / 4]);
+  float4 vec4_f32 = asfloat(ub[scalar_offset_66 / 4]);
   const uint scalar_offset_67 = (((800u * idx) + 128u)) / 4;
-  const int4 vec4_i32 = asint(ub[scalar_offset_67 / 4]);
+  int4 vec4_i32 = asint(ub[scalar_offset_67 / 4]);
   const uint scalar_offset_68 = (((800u * idx) + 144u)) / 4;
-  const uint4 vec4_u32 = ub[scalar_offset_68 / 4];
+  uint4 vec4_u32 = ub[scalar_offset_68 / 4];
   const uint scalar_offset_69 = (((800u * idx) + 160u)) / 4;
   uint4 ubo_load_61 = ub[scalar_offset_69 / 4];
   uint2 ubo_load_60 = ((scalar_offset_69 & 2) ? ubo_load_61.zw : ubo_load_61.xy);
   vector<float16_t, 2> ubo_load_60_xz = vector<float16_t, 2>(f16tof32(ubo_load_60 & 0xFFFF));
   vector<float16_t, 2> ubo_load_60_yw = vector<float16_t, 2>(f16tof32(ubo_load_60 >> 16));
-  const vector<float16_t, 4> vec4_f16 = vector<float16_t, 4>(ubo_load_60_xz[0], ubo_load_60_yw[0], ubo_load_60_xz[1], ubo_load_60_yw[1]);
-  const float2x2 mat2x2_f32 = ub_load_16(((800u * idx) + 168u));
-  const float2x3 mat2x3_f32 = ub_load_17(((800u * idx) + 192u));
-  const float2x4 mat2x4_f32 = ub_load_18(((800u * idx) + 224u));
-  const float3x2 mat3x2_f32 = ub_load_19(((800u * idx) + 256u));
-  const float3x3 mat3x3_f32 = ub_load_20(((800u * idx) + 288u));
-  const float3x4 mat3x4_f32 = ub_load_21(((800u * idx) + 336u));
-  const float4x2 mat4x2_f32 = ub_load_22(((800u * idx) + 384u));
-  const float4x3 mat4x3_f32 = ub_load_23(((800u * idx) + 416u));
-  const float4x4 mat4x4_f32 = ub_load_24(((800u * idx) + 480u));
-  const matrix<float16_t, 2, 2> mat2x2_f16 = ub_load_25(((800u * idx) + 544u));
-  const matrix<float16_t, 2, 3> mat2x3_f16 = ub_load_26(((800u * idx) + 552u));
-  const matrix<float16_t, 2, 4> mat2x4_f16 = ub_load_27(((800u * idx) + 568u));
-  const matrix<float16_t, 3, 2> mat3x2_f16 = ub_load_28(((800u * idx) + 584u));
-  const matrix<float16_t, 3, 3> mat3x3_f16 = ub_load_29(((800u * idx) + 600u));
-  const matrix<float16_t, 3, 4> mat3x4_f16 = ub_load_30(((800u * idx) + 624u));
-  const matrix<float16_t, 4, 2> mat4x2_f16 = ub_load_31(((800u * idx) + 648u));
-  const matrix<float16_t, 4, 3> mat4x3_f16 = ub_load_32(((800u * idx) + 664u));
-  const matrix<float16_t, 4, 4> mat4x4_f16 = ub_load_33(((800u * idx) + 696u));
-  const float3 arr2_vec3_f32[2] = ub_load_34(((800u * idx) + 736u));
+  vector<float16_t, 4> vec4_f16 = vector<float16_t, 4>(ubo_load_60_xz[0], ubo_load_60_yw[0], ubo_load_60_xz[1], ubo_load_60_yw[1]);
+  float2x2 mat2x2_f32 = ub_load_16(((800u * idx) + 168u));
+  float2x3 mat2x3_f32 = ub_load_17(((800u * idx) + 192u));
+  float2x4 mat2x4_f32 = ub_load_18(((800u * idx) + 224u));
+  float3x2 mat3x2_f32 = ub_load_19(((800u * idx) + 256u));
+  float3x3 mat3x3_f32 = ub_load_20(((800u * idx) + 288u));
+  float3x4 mat3x4_f32 = ub_load_21(((800u * idx) + 336u));
+  float4x2 mat4x2_f32 = ub_load_22(((800u * idx) + 384u));
+  float4x3 mat4x3_f32 = ub_load_23(((800u * idx) + 416u));
+  float4x4 mat4x4_f32 = ub_load_24(((800u * idx) + 480u));
+  matrix<float16_t, 2, 2> mat2x2_f16 = ub_load_25(((800u * idx) + 544u));
+  matrix<float16_t, 2, 3> mat2x3_f16 = ub_load_26(((800u * idx) + 552u));
+  matrix<float16_t, 2, 4> mat2x4_f16 = ub_load_27(((800u * idx) + 568u));
+  matrix<float16_t, 3, 2> mat3x2_f16 = ub_load_28(((800u * idx) + 584u));
+  matrix<float16_t, 3, 3> mat3x3_f16 = ub_load_29(((800u * idx) + 600u));
+  matrix<float16_t, 3, 4> mat3x4_f16 = ub_load_30(((800u * idx) + 624u));
+  matrix<float16_t, 4, 2> mat4x2_f16 = ub_load_31(((800u * idx) + 648u));
+  matrix<float16_t, 4, 3> mat4x3_f16 = ub_load_32(((800u * idx) + 664u));
+  matrix<float16_t, 4, 4> mat4x4_f16 = ub_load_33(((800u * idx) + 696u));
+  float3 arr2_vec3_f32[2] = ub_load_34(((800u * idx) + 736u));
   matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = ub_load_35(((800u * idx) + 768u));
   s.Store(0u, asuint((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + int(arr2_mat4x2_f16[0][0].x))));
 }
diff --git a/test/tint/buffer/uniform/static_index/read.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/static_index/read.wgsl.expected.dxc.hlsl
index 82251d3..fb9d819 100644
--- a/test/tint/buffer/uniform/static_index/read.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/static_index/read.wgsl.expected.dxc.hlsl
@@ -99,7 +99,7 @@
 Inner ub_load_22(uint offset) {
   const uint scalar_offset_28 = ((offset + 0u)) / 4;
   const uint scalar_offset_29 = ((offset + 16u)) / 4;
-  const Inner tint_symbol = {asint(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]), asfloat(ub[scalar_offset_29 / 4][scalar_offset_29 % 4])};
+  Inner tint_symbol = {asint(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]), asfloat(ub[scalar_offset_29 / 4][scalar_offset_29 % 4])};
   return tint_symbol;
 }
 
@@ -116,30 +116,30 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(ub[0].x);
-  const int scalar_i32 = asint(ub[0].y);
-  const uint scalar_u32 = ub[0].z;
-  const float2 vec2_f32 = asfloat(ub[1].xy);
-  const int2 vec2_i32 = asint(ub[1].zw);
-  const uint2 vec2_u32 = ub[2].xy;
-  const float3 vec3_f32 = asfloat(ub[3].xyz);
-  const int3 vec3_i32 = asint(ub[4].xyz);
-  const uint3 vec3_u32 = ub[5].xyz;
-  const float4 vec4_f32 = asfloat(ub[6]);
-  const int4 vec4_i32 = asint(ub[7]);
-  const uint4 vec4_u32 = ub[8];
-  const float2x2 mat2x2_f32 = ub_load_12(144u);
-  const float2x3 mat2x3_f32 = ub_load_13(160u);
-  const float2x4 mat2x4_f32 = ub_load_14(192u);
-  const float3x2 mat3x2_f32 = ub_load_15(224u);
-  const float3x3 mat3x3_f32 = ub_load_16(256u);
-  const float3x4 mat3x4_f32 = ub_load_17(304u);
-  const float4x2 mat4x2_f32 = ub_load_18(352u);
-  const float4x3 mat4x3_f32 = ub_load_19(384u);
-  const float4x4 mat4x4_f32 = ub_load_20(448u);
-  const float3 arr2_vec3_f32[2] = ub_load_21(512u);
-  const Inner struct_inner = ub_load_22(544u);
-  const Inner array_struct_inner[4] = ub_load_23(576u);
+  float scalar_f32 = asfloat(ub[0].x);
+  int scalar_i32 = asint(ub[0].y);
+  uint scalar_u32 = ub[0].z;
+  float2 vec2_f32 = asfloat(ub[1].xy);
+  int2 vec2_i32 = asint(ub[1].zw);
+  uint2 vec2_u32 = ub[2].xy;
+  float3 vec3_f32 = asfloat(ub[3].xyz);
+  int3 vec3_i32 = asint(ub[4].xyz);
+  uint3 vec3_u32 = ub[5].xyz;
+  float4 vec4_f32 = asfloat(ub[6]);
+  int4 vec4_i32 = asint(ub[7]);
+  uint4 vec4_u32 = ub[8];
+  float2x2 mat2x2_f32 = ub_load_12(144u);
+  float2x3 mat2x3_f32 = ub_load_13(160u);
+  float2x4 mat2x4_f32 = ub_load_14(192u);
+  float3x2 mat3x2_f32 = ub_load_15(224u);
+  float3x3 mat3x3_f32 = ub_load_16(256u);
+  float3x4 mat3x4_f32 = ub_load_17(304u);
+  float4x2 mat4x2_f32 = ub_load_18(352u);
+  float4x3 mat4x3_f32 = ub_load_19(384u);
+  float4x4 mat4x4_f32 = ub_load_20(448u);
+  float3 arr2_vec3_f32[2] = ub_load_21(512u);
+  Inner struct_inner = ub_load_22(544u);
+  Inner array_struct_inner[4] = ub_load_23(576u);
   s.Store(0u, asuint((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/uniform/static_index/read.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/static_index/read.wgsl.expected.fxc.hlsl
index 82251d3..fb9d819 100644
--- a/test/tint/buffer/uniform/static_index/read.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/static_index/read.wgsl.expected.fxc.hlsl
@@ -99,7 +99,7 @@
 Inner ub_load_22(uint offset) {
   const uint scalar_offset_28 = ((offset + 0u)) / 4;
   const uint scalar_offset_29 = ((offset + 16u)) / 4;
-  const Inner tint_symbol = {asint(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]), asfloat(ub[scalar_offset_29 / 4][scalar_offset_29 % 4])};
+  Inner tint_symbol = {asint(ub[scalar_offset_28 / 4][scalar_offset_28 % 4]), asfloat(ub[scalar_offset_29 / 4][scalar_offset_29 % 4])};
   return tint_symbol;
 }
 
@@ -116,30 +116,30 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(ub[0].x);
-  const int scalar_i32 = asint(ub[0].y);
-  const uint scalar_u32 = ub[0].z;
-  const float2 vec2_f32 = asfloat(ub[1].xy);
-  const int2 vec2_i32 = asint(ub[1].zw);
-  const uint2 vec2_u32 = ub[2].xy;
-  const float3 vec3_f32 = asfloat(ub[3].xyz);
-  const int3 vec3_i32 = asint(ub[4].xyz);
-  const uint3 vec3_u32 = ub[5].xyz;
-  const float4 vec4_f32 = asfloat(ub[6]);
-  const int4 vec4_i32 = asint(ub[7]);
-  const uint4 vec4_u32 = ub[8];
-  const float2x2 mat2x2_f32 = ub_load_12(144u);
-  const float2x3 mat2x3_f32 = ub_load_13(160u);
-  const float2x4 mat2x4_f32 = ub_load_14(192u);
-  const float3x2 mat3x2_f32 = ub_load_15(224u);
-  const float3x3 mat3x3_f32 = ub_load_16(256u);
-  const float3x4 mat3x4_f32 = ub_load_17(304u);
-  const float4x2 mat4x2_f32 = ub_load_18(352u);
-  const float4x3 mat4x3_f32 = ub_load_19(384u);
-  const float4x4 mat4x4_f32 = ub_load_20(448u);
-  const float3 arr2_vec3_f32[2] = ub_load_21(512u);
-  const Inner struct_inner = ub_load_22(544u);
-  const Inner array_struct_inner[4] = ub_load_23(576u);
+  float scalar_f32 = asfloat(ub[0].x);
+  int scalar_i32 = asint(ub[0].y);
+  uint scalar_u32 = ub[0].z;
+  float2 vec2_f32 = asfloat(ub[1].xy);
+  int2 vec2_i32 = asint(ub[1].zw);
+  uint2 vec2_u32 = ub[2].xy;
+  float3 vec3_f32 = asfloat(ub[3].xyz);
+  int3 vec3_i32 = asint(ub[4].xyz);
+  uint3 vec3_u32 = ub[5].xyz;
+  float4 vec4_f32 = asfloat(ub[6]);
+  int4 vec4_i32 = asint(ub[7]);
+  uint4 vec4_u32 = ub[8];
+  float2x2 mat2x2_f32 = ub_load_12(144u);
+  float2x3 mat2x3_f32 = ub_load_13(160u);
+  float2x4 mat2x4_f32 = ub_load_14(192u);
+  float3x2 mat3x2_f32 = ub_load_15(224u);
+  float3x3 mat3x3_f32 = ub_load_16(256u);
+  float3x4 mat3x4_f32 = ub_load_17(304u);
+  float4x2 mat4x2_f32 = ub_load_18(352u);
+  float4x3 mat4x3_f32 = ub_load_19(384u);
+  float4x4 mat4x4_f32 = ub_load_20(448u);
+  float3 arr2_vec3_f32[2] = ub_load_21(512u);
+  Inner struct_inner = ub_load_22(544u);
+  Inner array_struct_inner[4] = ub_load_23(576u);
   s.Store(0u, asuint((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.dxc.hlsl
index 4b6d528..426a04c 100644
--- a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.dxc.hlsl
@@ -257,7 +257,7 @@
   const uint scalar_offset_56 = ((offset + 4u)) / 4;
   const uint scalar_offset_bytes = ((offset + 8u));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const Inner tint_symbol = {asint(ub[scalar_offset_55 / 4][scalar_offset_55 % 4]), asfloat(ub[scalar_offset_56 / 4][scalar_offset_56 % 4]), float16_t(f16tof32(((ub[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)))};
+  Inner tint_symbol = {asint(ub[scalar_offset_55 / 4][scalar_offset_55 % 4]), asfloat(ub[scalar_offset_56 / 4][scalar_offset_56 % 4]), float16_t(f16tof32(((ub[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)))};
   return tint_symbol;
 }
 
@@ -274,51 +274,51 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float scalar_f32 = asfloat(ub[0].x);
-  const int scalar_i32 = asint(ub[0].y);
-  const uint scalar_u32 = ub[0].z;
-  const float16_t scalar_f16 = float16_t(f16tof32(((ub[0].w) & 0xFFFF)));
-  const float2 vec2_f32 = asfloat(ub[1].xy);
-  const int2 vec2_i32 = asint(ub[1].zw);
-  const uint2 vec2_u32 = ub[2].xy;
+  float scalar_f32 = asfloat(ub[0].x);
+  int scalar_i32 = asint(ub[0].y);
+  uint scalar_u32 = ub[0].z;
+  float16_t scalar_f16 = float16_t(f16tof32(((ub[0].w) & 0xFFFF)));
+  float2 vec2_f32 = asfloat(ub[1].xy);
+  int2 vec2_i32 = asint(ub[1].zw);
+  uint2 vec2_u32 = ub[2].xy;
   uint ubo_load_54 = ub[2].z;
-  const vector<float16_t, 2> vec2_f16 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_54 & 0xFFFF)), float16_t(f16tof32(ubo_load_54 >> 16)));
-  const float3 vec3_f32 = asfloat(ub[3].xyz);
-  const int3 vec3_i32 = asint(ub[4].xyz);
-  const uint3 vec3_u32 = ub[5].xyz;
+  vector<float16_t, 2> vec2_f16 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_54 & 0xFFFF)), float16_t(f16tof32(ubo_load_54 >> 16)));
+  float3 vec3_f32 = asfloat(ub[3].xyz);
+  int3 vec3_i32 = asint(ub[4].xyz);
+  uint3 vec3_u32 = ub[5].xyz;
   uint2 ubo_load_55 = ub[6].xy;
   vector<float16_t, 2> ubo_load_55_xz = vector<float16_t, 2>(f16tof32(ubo_load_55 & 0xFFFF));
   float16_t ubo_load_55_y = f16tof32(ubo_load_55[0] >> 16);
-  const vector<float16_t, 3> vec3_f16 = vector<float16_t, 3>(ubo_load_55_xz[0], ubo_load_55_y, ubo_load_55_xz[1]);
-  const float4 vec4_f32 = asfloat(ub[7]);
-  const int4 vec4_i32 = asint(ub[8]);
-  const uint4 vec4_u32 = ub[9];
+  vector<float16_t, 3> vec3_f16 = vector<float16_t, 3>(ubo_load_55_xz[0], ubo_load_55_y, ubo_load_55_xz[1]);
+  float4 vec4_f32 = asfloat(ub[7]);
+  int4 vec4_i32 = asint(ub[8]);
+  uint4 vec4_u32 = ub[9];
   uint2 ubo_load_56 = ub[10].xy;
   vector<float16_t, 2> ubo_load_56_xz = vector<float16_t, 2>(f16tof32(ubo_load_56 & 0xFFFF));
   vector<float16_t, 2> ubo_load_56_yw = vector<float16_t, 2>(f16tof32(ubo_load_56 >> 16));
-  const vector<float16_t, 4> vec4_f16 = vector<float16_t, 4>(ubo_load_56_xz[0], ubo_load_56_yw[0], ubo_load_56_xz[1], ubo_load_56_yw[1]);
-  const float2x2 mat2x2_f32 = ub_load_16(168u);
-  const float2x3 mat2x3_f32 = ub_load_17(192u);
-  const float2x4 mat2x4_f32 = ub_load_18(224u);
-  const float3x2 mat3x2_f32 = ub_load_19(256u);
-  const float3x3 mat3x3_f32 = ub_load_20(288u);
-  const float3x4 mat3x4_f32 = ub_load_21(336u);
-  const float4x2 mat4x2_f32 = ub_load_22(384u);
-  const float4x3 mat4x3_f32 = ub_load_23(416u);
-  const float4x4 mat4x4_f32 = ub_load_24(480u);
-  const matrix<float16_t, 2, 2> mat2x2_f16 = ub_load_25(544u);
-  const matrix<float16_t, 2, 3> mat2x3_f16 = ub_load_26(552u);
-  const matrix<float16_t, 2, 4> mat2x4_f16 = ub_load_27(568u);
-  const matrix<float16_t, 3, 2> mat3x2_f16 = ub_load_28(584u);
-  const matrix<float16_t, 3, 3> mat3x3_f16 = ub_load_29(600u);
-  const matrix<float16_t, 3, 4> mat3x4_f16 = ub_load_30(624u);
-  const matrix<float16_t, 4, 2> mat4x2_f16 = ub_load_31(648u);
-  const matrix<float16_t, 4, 3> mat4x3_f16 = ub_load_32(664u);
-  const matrix<float16_t, 4, 4> mat4x4_f16 = ub_load_33(696u);
-  const float3 arr2_vec3_f32[2] = ub_load_34(736u);
+  vector<float16_t, 4> vec4_f16 = vector<float16_t, 4>(ubo_load_56_xz[0], ubo_load_56_yw[0], ubo_load_56_xz[1], ubo_load_56_yw[1]);
+  float2x2 mat2x2_f32 = ub_load_16(168u);
+  float2x3 mat2x3_f32 = ub_load_17(192u);
+  float2x4 mat2x4_f32 = ub_load_18(224u);
+  float3x2 mat3x2_f32 = ub_load_19(256u);
+  float3x3 mat3x3_f32 = ub_load_20(288u);
+  float3x4 mat3x4_f32 = ub_load_21(336u);
+  float4x2 mat4x2_f32 = ub_load_22(384u);
+  float4x3 mat4x3_f32 = ub_load_23(416u);
+  float4x4 mat4x4_f32 = ub_load_24(480u);
+  matrix<float16_t, 2, 2> mat2x2_f16 = ub_load_25(544u);
+  matrix<float16_t, 2, 3> mat2x3_f16 = ub_load_26(552u);
+  matrix<float16_t, 2, 4> mat2x4_f16 = ub_load_27(568u);
+  matrix<float16_t, 3, 2> mat3x2_f16 = ub_load_28(584u);
+  matrix<float16_t, 3, 3> mat3x3_f16 = ub_load_29(600u);
+  matrix<float16_t, 3, 4> mat3x4_f16 = ub_load_30(624u);
+  matrix<float16_t, 4, 2> mat4x2_f16 = ub_load_31(648u);
+  matrix<float16_t, 4, 3> mat4x3_f16 = ub_load_32(664u);
+  matrix<float16_t, 4, 4> mat4x4_f16 = ub_load_33(696u);
+  float3 arr2_vec3_f32[2] = ub_load_34(736u);
   matrix<float16_t, 4, 2> arr2_mat4x2_f16[2] = ub_load_35(768u);
-  const Inner struct_inner = ub_load_36(800u);
-  const Inner array_struct_inner[4] = ub_load_37(816u);
+  Inner struct_inner = ub_load_36(800u);
+  Inner array_struct_inner[4] = ub_load_37(816u);
   s.Store(0u, asuint((((((((((((((((((((((((((((((((((((((tint_ftoi(scalar_f32) + scalar_i32) + int(scalar_u32)) + int(scalar_f16)) + tint_ftoi(vec2_f32.x)) + vec2_i32.x) + int(vec2_u32.x)) + int(vec2_f16.x)) + tint_ftoi(vec3_f32.y)) + vec3_i32.y) + int(vec3_u32.y)) + int(vec3_f16.y)) + tint_ftoi(vec4_f32.z)) + vec4_i32.z) + int(vec4_u32.z)) + int(vec4_f16.z)) + tint_ftoi(mat2x2_f32[0].x)) + tint_ftoi(mat2x3_f32[0].x)) + tint_ftoi(mat2x4_f32[0].x)) + tint_ftoi(mat3x2_f32[0].x)) + tint_ftoi(mat3x3_f32[0].x)) + tint_ftoi(mat3x4_f32[0].x)) + tint_ftoi(mat4x2_f32[0].x)) + tint_ftoi(mat4x3_f32[0].x)) + tint_ftoi(mat4x4_f32[0].x)) + int(mat2x2_f16[0].x)) + int(mat2x3_f16[0].x)) + int(mat2x4_f16[0].x)) + int(mat3x2_f16[0].x)) + int(mat3x3_f16[0].x)) + int(mat3x4_f16[0].x)) + int(mat4x2_f16[0].x)) + int(mat4x3_f16[0].x)) + int(mat4x4_f16[0].x)) + tint_ftoi(arr2_vec3_f32[0].x)) + int(arr2_mat4x2_f16[0][0].x)) + struct_inner.scalar_i32) + array_struct_inner[0].scalar_i32)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index abc34f7..6282bcb 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -30,13 +30,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x2 l_a[4] = a_load(0u);
-  const float2x2 l_a_i = a_load_1((16u * uint(p_a_i_save)));
+  float2x2 l_a_i = a_load_1((16u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_2 = a[scalar_offset_2 / 4];
-  const float2 l_a_i_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  float2 l_a_i_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
   const uint scalar_offset_3 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index abc34f7..6282bcb 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -30,13 +30,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x2 l_a[4] = a_load(0u);
-  const float2x2 l_a_i = a_load_1((16u * uint(p_a_i_save)));
+  float2x2 l_a_i = a_load_1((16u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_2 = a[scalar_offset_2 / 4];
-  const float2 l_a_i_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  float2 l_a_i_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
   const uint scalar_offset_3 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 11d37de..3725098 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x2 l_a[4] = a_load(0u);
-  const float2x2 l_a_i = a_load_1(32u);
-  const float2 l_a_i_i = asfloat(a[2].zw);
+  float2x2 l_a_i = a_load_1(32u);
+  float2 l_a_i_i = asfloat(a[2].zw);
   s.Store(0u, asuint((((asfloat(a[2].z) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 11d37de..3725098 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x2 l_a[4] = a_load(0u);
-  const float2x2 l_a_i = a_load_1(32u);
-  const float2 l_a_i_i = asfloat(a[2].zw);
+  float2x2 l_a_i = a_load_1(32u);
+  float2 l_a_i_i = asfloat(a[2].zw);
   s.Store(0u, asuint((((asfloat(a[2].z) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 9ac8684..76adeb2 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(32u));
-  const float l = length(asfloat(u[0].zw).yx);
-  const float a = abs(asfloat(u[0].zw).yx.x);
+  float2x2 t = transpose(u_load(32u));
+  float l = length(asfloat(u[0].zw).yx);
+  float a = abs(asfloat(u[0].zw).yx.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 9ac8684..76adeb2 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(32u));
-  const float l = length(asfloat(u[0].zw).yx);
-  const float a = abs(asfloat(u[0].zw).yx.x);
+  float2x2 t = transpose(u_load(32u));
+  float l = length(asfloat(u[0].zw).yx);
+  float a = abs(asfloat(u[0].zw).yx.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.dxc.hlsl
index 377e623..6e2f4cc 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(16u));
-  const float tint_symbol_2 = c(asfloat(u[1].xy).yx);
-  const float tint_symbol_3 = d(asfloat(u[1].xy).yx.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(16u));
+  float tint_symbol_2 = c(asfloat(u[1].xy).yx);
+  float tint_symbol_3 = d(asfloat(u[1].xy).yx.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.fxc.hlsl
index 377e623..6e2f4cc 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(16u));
-  const float tint_symbol_2 = c(asfloat(u[1].xy).yx);
-  const float tint_symbol_3 = d(asfloat(u[1].xy).yx.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(16u));
+  float tint_symbol_2 = c(asfloat(u[1].xy).yx);
+  float tint_symbol_3 = d(asfloat(u[1].xy).yx.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 3d0cc90..d64926f 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x2((0.0f).xx, (0.0f).xx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 3d0cc90..d64926f 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x2((0.0f).xx, (0.0f).xx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 5fb51af..7dbffa1 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -36,16 +36,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   matrix<float16_t, 2, 3> l_a[4] = a_load(0u);
-  const matrix<float16_t, 2, 3> l_a_i = a_load_1((16u * uint(p_a_i_save)));
+  matrix<float16_t, 2, 3> l_a_i = a_load_1((16u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_5 = a[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
   const uint scalar_offset_bytes = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index a359ac5..53e96c3 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -31,11 +31,11 @@
 [numthreads(1, 1, 1)]
 void f() {
   matrix<float16_t, 2, 3> l_a[4] = a_load(0u);
-  const matrix<float16_t, 2, 3> l_a_i = a_load_1(32u);
+  matrix<float16_t, 2, 3> l_a_i = a_load_1(32u);
   uint2 ubo_load_4 = a[2].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[2].z) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 5bc5afb..2339d78 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -19,15 +19,15 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 2> t = transpose(u_load(32u));
+  matrix<float16_t, 3, 2> t = transpose(u_load(32u));
   uint2 ubo_load_4 = u[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
+  float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
   uint2 ubo_load_5 = u[0].zw;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   float16_t ubo_load_5_y = f16tof32(ubo_load_5[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
   s.Store<float16_t>(0u, ((float16_t(a) + float16_t(l)) + t[0].x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.dxc.hlsl
index 5fb53c1..def7c99 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_fn.wgsl.expected.dxc.hlsl
@@ -46,16 +46,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t tint_symbol = a(u_load(0u));
-  const float16_t tint_symbol_1 = b(u_load_1(16u));
+  float16_t tint_symbol = a(u_load(0u));
+  float16_t tint_symbol_1 = b(u_load_1(16u));
   uint2 ubo_load_4 = u[1].xy;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const float16_t tint_symbol_2 = c(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
+  float16_t tint_symbol_2 = c(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
   uint2 ubo_load_5 = u[1].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   float16_t ubo_load_5_y = f16tof32(ubo_load_5[0] >> 16);
-  const float16_t tint_symbol_3 = d(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
+  float16_t tint_symbol_3 = d(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
   s.Store<float16_t>(0u, (((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
index ff045ba..1305904 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -36,7 +36,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = matrix<float16_t, 2, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 505e3eb..62bcef4 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -28,12 +28,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x3 l_a[4] = a_load(0u);
-  const float2x3 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float2x3 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_2 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_2 / 4].xyz);
   const uint scalar_offset_3 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 505e3eb..62bcef4 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -28,12 +28,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x3 l_a[4] = a_load(0u);
-  const float2x3 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float2x3 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_2 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_2 / 4].xyz);
   const uint scalar_offset_3 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 623a3ad..7dcfbcd 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -23,8 +23,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x3 l_a[4] = a_load(0u);
-  const float2x3 l_a_i = a_load_1(64u);
-  const float3 l_a_i_i = asfloat(a[5].xyz);
+  float2x3 l_a_i = a_load_1(64u);
+  float3 l_a_i_i = asfloat(a[5].xyz);
   s.Store(0u, asuint((((asfloat(a[5].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 623a3ad..7dcfbcd 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -23,8 +23,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x3 l_a[4] = a_load(0u);
-  const float2x3 l_a_i = a_load_1(64u);
-  const float3 l_a_i_i = asfloat(a[5].xyz);
+  float2x3 l_a_i = a_load_1(64u);
+  float3 l_a_i_i = asfloat(a[5].xyz);
   s.Store(0u, asuint((((asfloat(a[5].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 71527fd..b8dec30 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x2 t = transpose(u_load(64u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 71527fd..b8dec30 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x2 t = transpose(u_load(64u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.dxc.hlsl
index a41ca7f..f31173f 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -38,10 +38,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[2].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[2].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.fxc.hlsl
index a41ca7f..f31173f 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -38,10 +38,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[2].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[2].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index afa2b0f..4b83955 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -27,7 +27,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x3((0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index afa2b0f..4b83955 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -27,7 +27,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x3((0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index cd2305f..0e3d604 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -36,16 +36,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   matrix<float16_t, 2, 4> l_a[4] = a_load(0u);
-  const matrix<float16_t, 2, 4> l_a_i = a_load_1((16u * uint(p_a_i_save)));
+  matrix<float16_t, 2, 4> l_a_i = a_load_1((16u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_5 = a[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
   const uint scalar_offset_bytes = (((16u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index c80a4ea..089b3b1 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -31,11 +31,11 @@
 [numthreads(1, 1, 1)]
 void f() {
   matrix<float16_t, 2, 4> l_a[4] = a_load(0u);
-  const matrix<float16_t, 2, 4> l_a_i = a_load_1(32u);
+  matrix<float16_t, 2, 4> l_a_i = a_load_1(32u);
   uint2 ubo_load_4 = a[2].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[2].z) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 78e4bd8..e8932fd 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -19,15 +19,15 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 2> t = transpose(u_load(32u));
+  matrix<float16_t, 4, 2> t = transpose(u_load(32u));
   uint2 ubo_load_4 = u[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
+  float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
   uint2 ubo_load_5 = u[0].zw;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   vector<float16_t, 2> ubo_load_5_yw = vector<float16_t, 2>(f16tof32(ubo_load_5 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
   s.Store<float16_t>(0u, ((t[0].x + float16_t(l)) + float16_t(a)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.dxc.hlsl
index 69df145..77240b1 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_fn.wgsl.expected.dxc.hlsl
@@ -46,16 +46,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t tint_symbol = a(u_load(0u));
-  const float16_t tint_symbol_1 = b(u_load_1(16u));
+  float16_t tint_symbol = a(u_load(0u));
+  float16_t tint_symbol_1 = b(u_load_1(16u));
   uint2 ubo_load_4 = u[1].xy;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const float16_t tint_symbol_2 = c(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
+  float16_t tint_symbol_2 = c(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
   uint2 ubo_load_5 = u[1].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   vector<float16_t, 2> ubo_load_5_yw = vector<float16_t, 2>(f16tof32(ubo_load_5 >> 16));
-  const float16_t tint_symbol_3 = d(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
+  float16_t tint_symbol_3 = d(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
   s.Store<float16_t>(0u, (((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 8770418..13cf9b8 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -35,7 +35,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = matrix<float16_t, 2, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index b214b0a..81b5fa5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -28,12 +28,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x4 l_a[4] = a_load(0u);
-  const float2x4 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float2x4 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_2 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_2 / 4]);
   const uint scalar_offset_3 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index b214b0a..81b5fa5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -28,12 +28,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float2x4 l_a[4] = a_load(0u);
-  const float2x4 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float2x4 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_2 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_2 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_2 / 4]);
   const uint scalar_offset_3 = (((32u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index af84a68..5989e0e 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -23,8 +23,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x4 l_a[4] = a_load(0u);
-  const float2x4 l_a_i = a_load_1(64u);
-  const float4 l_a_i_i = asfloat(a[5]);
+  float2x4 l_a_i = a_load_1(64u);
+  float4 l_a_i_i = asfloat(a[5]);
   s.Store(0u, asuint((((asfloat(a[5].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index af84a68..5989e0e 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -23,8 +23,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float2x4 l_a[4] = a_load(0u);
-  const float2x4 l_a_i = a_load_1(64u);
-  const float4 l_a_i_i = asfloat(a[5]);
+  float2x4 l_a_i = a_load_1(64u);
+  float4 l_a_i_i = asfloat(a[5]);
   s.Store(0u, asuint((((asfloat(a[5].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 2e45d95..5088787 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x2 t = transpose(u_load(64u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 2e45d95..5088787 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x2 t = transpose(u_load(64u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.dxc.hlsl
index cf59875..9fd1824 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -38,10 +38,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[2]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[2]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.fxc.hlsl
index cf59875..9fd1824 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -38,10 +38,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[2]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[2]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index dea2c8d..3bc24a4 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -27,7 +27,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x4((0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index dea2c8d..3bc24a4 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -27,7 +27,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float2x4((0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 74fc0d0..49897c2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,12 +29,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float3x3 l_a[4] = a_load(0u);
-  const float3x3 l_a_i = a_load_1((48u * uint(p_a_i_save)));
+  float3x3 l_a_i = a_load_1((48u * uint(p_a_i_save)));
   const uint scalar_offset_3 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_3 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_3 / 4].xyz);
   const uint scalar_offset_4 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 74fc0d0..49897c2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -29,12 +29,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float3x3 l_a[4] = a_load(0u);
-  const float3x3 l_a_i = a_load_1((48u * uint(p_a_i_save)));
+  float3x3 l_a_i = a_load_1((48u * uint(p_a_i_save)));
   const uint scalar_offset_3 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_3 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_3 / 4].xyz);
   const uint scalar_offset_4 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 1211a20..e3b4489 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,8 +24,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float3x3 l_a[4] = a_load(0u);
-  const float3x3 l_a_i = a_load_1(96u);
-  const float3 l_a_i_i = asfloat(a[7].xyz);
+  float3x3 l_a_i = a_load_1(96u);
+  float3 l_a_i_i = asfloat(a[7].xyz);
   s.Store(0u, asuint((((asfloat(a[7].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 1211a20..e3b4489 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -24,8 +24,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float3x3 l_a[4] = a_load(0u);
-  const float3x3 l_a_i = a_load_1(96u);
-  const float3 l_a_i_i = asfloat(a[7].xyz);
+  float3x3 l_a_i = a_load_1(96u);
+  float3 l_a_i_i = asfloat(a[7].xyz);
   s.Store(0u, asuint((((asfloat(a[7].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index e4e6d7b..241caf2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,9 +12,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(96u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x3 t = transpose(u_load(96u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index e4e6d7b..241caf2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,9 +12,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(96u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x3 t = transpose(u_load(96u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.dxc.hlsl
index 4ec0339..091292d 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -39,10 +39,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(48u));
-  const float tint_symbol_2 = c(asfloat(u[3].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[3].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(48u));
+  float tint_symbol_2 = c(asfloat(u[3].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[3].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.fxc.hlsl
index 4ec0339..091292d 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -39,10 +39,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(48u));
-  const float tint_symbol_2 = c(asfloat(u[3].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[3].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(48u));
+  float tint_symbol_2 = c(asfloat(u[3].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[3].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 14bd387..d9350a2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -28,7 +28,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 14bd387..d9350a2 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -28,7 +28,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float3x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index e11e700..cd11ad4 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,12 +29,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float3x4 l_a[4] = a_load(0u);
-  const float3x4 l_a_i = a_load_1((48u * uint(p_a_i_save)));
+  float3x4 l_a_i = a_load_1((48u * uint(p_a_i_save)));
   const uint scalar_offset_3 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_3 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_3 / 4]);
   const uint scalar_offset_4 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index e11e700..cd11ad4 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -29,12 +29,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float3x4 l_a[4] = a_load(0u);
-  const float3x4 l_a_i = a_load_1((48u * uint(p_a_i_save)));
+  float3x4 l_a_i = a_load_1((48u * uint(p_a_i_save)));
   const uint scalar_offset_3 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_3 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_3 / 4]);
   const uint scalar_offset_4 = (((48u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index c1109ae..d55b42c 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,8 +24,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float3x4 l_a[4] = a_load(0u);
-  const float3x4 l_a_i = a_load_1(96u);
-  const float4 l_a_i_i = asfloat(a[7]);
+  float3x4 l_a_i = a_load_1(96u);
+  float4 l_a_i_i = asfloat(a[7]);
   s.Store(0u, asuint((((asfloat(a[7].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index c1109ae..d55b42c 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -24,8 +24,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float3x4 l_a[4] = a_load(0u);
-  const float3x4 l_a_i = a_load_1(96u);
-  const float4 l_a_i_i = asfloat(a[7]);
+  float3x4 l_a_i = a_load_1(96u);
+  float4 l_a_i_i = asfloat(a[7]);
   s.Store(0u, asuint((((asfloat(a[7].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 2a363cf..d55046c 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,9 +12,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(96u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x3 t = transpose(u_load(96u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 2a363cf..d55046c 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,9 +12,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(96u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x3 t = transpose(u_load(96u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.dxc.hlsl
index 7adadca..a68dd81 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -39,10 +39,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(48u));
-  const float tint_symbol_2 = c(asfloat(u[3]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[3]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(48u));
+  float tint_symbol_2 = c(asfloat(u[3]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[3]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.fxc.hlsl
index 7adadca..a68dd81 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -39,10 +39,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(48u));
-  const float tint_symbol_2 = c(asfloat(u[3]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[3]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(48u));
+  float tint_symbol_2 = c(asfloat(u[3]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[3]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index b6894af..681c512 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -28,7 +28,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index b6894af..681c512 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -28,7 +28,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 4cf9f3e..4410d60 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,13 +34,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   matrix<float16_t, 4, 2> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 2> l_a_i = a_load_1((16u * uint(p_a_i_save)));
+  matrix<float16_t, 4, 2> l_a_i = a_load_1((16u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((16u * uint(p_a_i_save)) + (4u * uint(p_a_i_i_save)))) / 4;
   uint ubo_load_4 = a[scalar_offset_4 / 4][scalar_offset_4 % 4];
-  const vector<float16_t, 2> l_a_i_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  vector<float16_t, 2> l_a_i_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
   const uint scalar_offset_bytes = (((16u * uint(p_a_i_save)) + (4u * uint(p_a_i_i_save))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index affaf42..a33bbdd 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,9 +29,9 @@
 [numthreads(1, 1, 1)]
 void f() {
   matrix<float16_t, 4, 2> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 2> l_a_i = a_load_1(32u);
+  matrix<float16_t, 4, 2> l_a_i = a_load_1(32u);
   uint ubo_load_4 = a[2].y;
-  const vector<float16_t, 2> l_a_i_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  vector<float16_t, 2> l_a_i_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[2].y) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index 0ed118e..2334062 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -17,11 +17,11 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 4> t = transpose(u_load(32u));
+  matrix<float16_t, 2, 4> t = transpose(u_load(32u));
   uint ubo_load_4 = u[0].y;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
   uint ubo_load_5 = u[0].y;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
   s.Store<float16_t>(0u, ((t[0].x + float16_t(l)) + float16_t(a)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.dxc.hlsl
index be4737b..3118444 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_fn.wgsl.expected.dxc.hlsl
@@ -44,12 +44,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t tint_symbol = a(u_load(0u));
-  const float16_t tint_symbol_1 = b(u_load_1(16u));
+  float16_t tint_symbol = a(u_load(0u));
+  float16_t tint_symbol_1 = b(u_load_1(16u));
   uint ubo_load_4 = u[1].x;
-  const float16_t tint_symbol_2 = c(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
+  float16_t tint_symbol_2 = c(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
   uint ubo_load_5 = u[1].x;
-  const float16_t tint_symbol_3 = d(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
+  float16_t tint_symbol_3 = d(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
   s.Store<float16_t>(0u, (((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 30f1251..d95da97 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -33,7 +33,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = matrix<float16_t, 4, 2>((float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx, (float16_t(0.0h)).xx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 57db0f8..a60db0b 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,13 +34,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x2 l_a[4] = a_load(0u);
-  const float4x2 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float4x2 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_4 = a[scalar_offset_4 / 4];
-  const float2 l_a_i_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  float2 l_a_i_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
   const uint scalar_offset_5 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 57db0f8..a60db0b 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -34,13 +34,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x2 l_a[4] = a_load(0u);
-  const float4x2 l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  float4x2 l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_4 = a[scalar_offset_4 / 4];
-  const float2 l_a_i_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  float2 l_a_i_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
   const uint scalar_offset_5 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 6773736..5c1548d 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,8 +29,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x2 l_a[4] = a_load(0u);
-  const float4x2 l_a_i = a_load_1(64u);
-  const float2 l_a_i_i = asfloat(a[4].zw);
+  float4x2 l_a_i = a_load_1(64u);
+  float2 l_a_i_i = asfloat(a[4].zw);
   s.Store(0u, asuint((((asfloat(a[4].z) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 6773736..5c1548d 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -29,8 +29,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x2 l_a[4] = a_load(0u);
-  const float4x2 l_a_i = a_load_1(64u);
-  const float2 l_a_i_i = asfloat(a[4].zw);
+  float4x2 l_a_i = a_load_1(64u);
+  float2 l_a_i_i = asfloat(a[4].zw);
   s.Store(0u, asuint((((asfloat(a[4].z) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 0ff7e3f..e837bce 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[0].zw).yx);
-  const float a = abs(asfloat(u[0].zw).yx.x);
+  float2x4 t = transpose(u_load(64u));
+  float l = length(asfloat(u[0].zw).yx);
+  float a = abs(asfloat(u[0].zw).yx.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 0ff7e3f..e837bce 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(64u));
-  const float l = length(asfloat(u[0].zw).yx);
-  const float a = abs(asfloat(u[0].zw).yx.x);
+  float2x4 t = transpose(u_load(64u));
+  float l = length(asfloat(u[0].zw).yx);
+  float a = abs(asfloat(u[0].zw).yx.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.dxc.hlsl
index 42cc5ec..4cd523d 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -44,10 +44,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2].xy).yx);
-  const float tint_symbol_3 = d(asfloat(u[2].xy).yx.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2].xy).yx);
+  float tint_symbol_3 = d(asfloat(u[2].xy).yx.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.fxc.hlsl
index 42cc5ec..4cd523d 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -44,10 +44,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(32u));
-  const float tint_symbol_2 = c(asfloat(u[2].xy).yx);
-  const float tint_symbol_3 = d(asfloat(u[2].xy).yx.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(32u));
+  float tint_symbol_2 = c(asfloat(u[2].xy).yx);
+  float tint_symbol_3 = d(asfloat(u[2].xy).yx.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 515ef35..7192f3f 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -33,7 +33,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 515ef35..7192f3f 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -33,7 +33,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x2((0.0f).xx, (0.0f).xx, (0.0f).xx, (0.0f).xx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 3dfedbd..dbdab23 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -46,16 +46,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   matrix<float16_t, 4, 3> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 3> l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  matrix<float16_t, 4, 3> l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_9 = a[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
   const uint scalar_offset_bytes = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 08715b2..c428a3c 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -41,11 +41,11 @@
 [numthreads(1, 1, 1)]
 void f() {
   matrix<float16_t, 4, 3> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 3> l_a_i = a_load_1(64u);
+  matrix<float16_t, 4, 3> l_a_i = a_load_1(64u);
   uint2 ubo_load_8 = a[4].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  vector<float16_t, 3> l_a_i_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[4].z) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 81ff0b6..5ebb664 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -29,15 +29,15 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 4> t = transpose(u_load(64u));
+  matrix<float16_t, 3, 4> t = transpose(u_load(64u));
   uint2 ubo_load_8 = u[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
+  float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
   uint2 ubo_load_9 = u[0].zw;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   float16_t ubo_load_9_y = f16tof32(ubo_load_9[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
   s.Store<float16_t>(0u, ((t[0].x + float16_t(l)) + float16_t(a)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.dxc.hlsl
index fd4b984..adbf7e5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_fn.wgsl.expected.dxc.hlsl
@@ -56,16 +56,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t tint_symbol = a(u_load(0u));
-  const float16_t tint_symbol_1 = b(u_load_1(32u));
+  float16_t tint_symbol = a(u_load(0u));
+  float16_t tint_symbol_1 = b(u_load_1(32u));
   uint2 ubo_load_8 = u[2].xy;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const float16_t tint_symbol_2 = c(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
+  float16_t tint_symbol_2 = c(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
   uint2 ubo_load_9 = u[2].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   float16_t ubo_load_9_y = f16tof32(ubo_load_9[0] >> 16);
-  const float16_t tint_symbol_3 = d(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
+  float16_t tint_symbol_3 = d(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
   s.Store<float16_t>(0u, (((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
index e95c662..108d1e3 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -45,7 +45,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = matrix<float16_t, 4, 3>((float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx, (float16_t(0.0h)).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 487c600..2df648f 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -30,12 +30,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x3 l_a[4] = a_load(0u);
-  const float4x3 l_a_i = a_load_1((64u * uint(p_a_i_save)));
+  float4x3 l_a_i = a_load_1((64u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_4 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_4 / 4].xyz);
   const uint scalar_offset_5 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 487c600..2df648f 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -30,12 +30,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x3 l_a[4] = a_load(0u);
-  const float4x3 l_a_i = a_load_1((64u * uint(p_a_i_save)));
+  float4x3 l_a_i = a_load_1((64u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float3 l_a_i_i = asfloat(a[scalar_offset_4 / 4].xyz);
+  float3 l_a_i_i = asfloat(a[scalar_offset_4 / 4].xyz);
   const uint scalar_offset_5 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 82d011c..3366307 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x3 l_a[4] = a_load(0u);
-  const float4x3 l_a_i = a_load_1(128u);
-  const float3 l_a_i_i = asfloat(a[9].xyz);
+  float4x3 l_a_i = a_load_1(128u);
+  float3 l_a_i_i = asfloat(a[9].xyz);
   s.Store(0u, asuint((((asfloat(a[9].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 82d011c..3366307 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x3 l_a[4] = a_load(0u);
-  const float4x3 l_a_i = a_load_1(128u);
-  const float3 l_a_i_i = asfloat(a[9].xyz);
+  float4x3 l_a_i = a_load_1(128u);
+  float3 l_a_i_i = asfloat(a[9].xyz);
   s.Store(0u, asuint((((asfloat(a[9].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index bd121d4..7979e55 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(128u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x4 t = transpose(u_load(128u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index bd121d4..7979e55 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(128u));
-  const float l = length(asfloat(u[1].xyz).zxy);
-  const float a = abs(asfloat(u[1].xyz).zxy.x);
+  float3x4 t = transpose(u_load(128u));
+  float l = length(asfloat(u[1].xyz).zxy);
+  float a = abs(asfloat(u[1].xyz).zxy.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.dxc.hlsl
index de448a5..dd1f613 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(64u));
-  const float tint_symbol_2 = c(asfloat(u[4].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[4].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(64u));
+  float tint_symbol_2 = c(asfloat(u[4].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[4].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.fxc.hlsl
index de448a5..dd1f613 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(64u));
-  const float tint_symbol_2 = c(asfloat(u[4].xyz).zxy);
-  const float tint_symbol_3 = d(asfloat(u[4].xyz).zxy.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(64u));
+  float tint_symbol_2 = c(asfloat(u[4].xyz).zxy);
+  float tint_symbol_3 = d(asfloat(u[4].xyz).zxy.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 51c523d..39a2971 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 51c523d..39a2971 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x3((0.0f).xxx, (0.0f).xxx, (0.0f).xxx, (0.0f).xxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 8d96140..4466335 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -46,16 +46,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   matrix<float16_t, 4, 4> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 4> l_a_i = a_load_1((32u * uint(p_a_i_save)));
+  matrix<float16_t, 4, 4> l_a_i = a_load_1((32u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save)))) / 4;
   uint4 ubo_load_9 = a[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
   const uint scalar_offset_bytes = (((32u * uint(p_a_i_save)) + (8u * uint(p_a_i_i_save))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 1379cb1..800e02b 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -41,11 +41,11 @@
 [numthreads(1, 1, 1)]
 void f() {
   matrix<float16_t, 4, 4> l_a[4] = a_load(0u);
-  const matrix<float16_t, 4, 4> l_a_i = a_load_1(64u);
+  matrix<float16_t, 4, 4> l_a_i = a_load_1(64u);
   uint2 ubo_load_8 = a[4].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  vector<float16_t, 4> l_a_i_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
   s.Store<float16_t>(0u, (((float16_t(f16tof32(((a[4].z) & 0xFFFF))) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 7c1e2ac..35aba8d 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -29,15 +29,15 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 4> t = transpose(u_load(64u));
+  matrix<float16_t, 4, 4> t = transpose(u_load(64u));
   uint2 ubo_load_8 = u[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
+  float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
   uint2 ubo_load_9 = u[0].zw;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   vector<float16_t, 2> ubo_load_9_yw = vector<float16_t, 2>(f16tof32(ubo_load_9 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
   s.Store<float16_t>(0u, ((t[0].x + float16_t(l)) + float16_t(a)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.dxc.hlsl
index 841c3ff..4adaabd 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_fn.wgsl.expected.dxc.hlsl
@@ -56,16 +56,16 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t tint_symbol = a(u_load(0u));
-  const float16_t tint_symbol_1 = b(u_load_1(32u));
+  float16_t tint_symbol = a(u_load(0u));
+  float16_t tint_symbol_1 = b(u_load_1(32u));
   uint2 ubo_load_8 = u[2].xy;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const float16_t tint_symbol_2 = c(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
+  float16_t tint_symbol_2 = c(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
   uint2 ubo_load_9 = u[2].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   vector<float16_t, 2> ubo_load_9_yw = vector<float16_t, 2>(f16tof32(ubo_load_9 >> 16));
-  const float16_t tint_symbol_3 = d(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
+  float16_t tint_symbol_3 = d(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
   s.Store<float16_t>(0u, (((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 085c507..958367c 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -45,7 +45,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = matrix<float16_t, 4, 4>((float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx, (float16_t(0.0h)).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index d9ad87b..50400a8 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -30,12 +30,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x4 l_a[4] = a_load(0u);
-  const float4x4 l_a_i = a_load_1((64u * uint(p_a_i_save)));
+  float4x4 l_a_i = a_load_1((64u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_4 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_4 / 4]);
   const uint scalar_offset_5 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index d9ad87b..50400a8 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -30,12 +30,12 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_i_save = i();
   float4x4 l_a[4] = a_load(0u);
-  const float4x4 l_a_i = a_load_1((64u * uint(p_a_i_save)));
+  float4x4 l_a_i = a_load_1((64u * uint(p_a_i_save)));
   const uint scalar_offset_4 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
-  const float4 l_a_i_i = asfloat(a[scalar_offset_4 / 4]);
+  float4 l_a_i_i = asfloat(a[scalar_offset_4 / 4]);
   const uint scalar_offset_5 = (((64u * uint(p_a_i_save)) + (16u * uint(p_a_i_i_save)))) / 4;
   s.Store(0u, asuint((((asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index c7a5cd9..7bc0cfa 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x4 l_a[4] = a_load(0u);
-  const float4x4 l_a_i = a_load_1(128u);
-  const float4 l_a_i_i = asfloat(a[9]);
+  float4x4 l_a_i = a_load_1(128u);
+  float4 l_a_i_i = asfloat(a[9]);
   s.Store(0u, asuint((((asfloat(a[9].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index c7a5cd9..7bc0cfa 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -25,8 +25,8 @@
 [numthreads(1, 1, 1)]
 void f() {
   float4x4 l_a[4] = a_load(0u);
-  const float4x4 l_a_i = a_load_1(128u);
-  const float4 l_a_i_i = asfloat(a[9]);
+  float4x4 l_a_i = a_load_1(128u);
+  float4 l_a_i_i = asfloat(a[9]);
   s.Store(0u, asuint((((asfloat(a[9].x) + l_a[0][0].x) + l_a_i[0].x) + l_a_i_i.x)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 9fe3ac9..0958204 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(128u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x4 t = transpose(u_load(128u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 9fe3ac9..0958204 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -13,9 +13,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(128u));
-  const float l = length(asfloat(u[1]).ywxz);
-  const float a = abs(asfloat(u[1]).ywxz.x);
+  float4x4 t = transpose(u_load(128u));
+  float l = length(asfloat(u[1]).ywxz);
+  float a = abs(asfloat(u[1]).ywxz.x);
   s.Store(0u, asuint(((t[0].x + float(l)) + float(a))));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.dxc.hlsl
index e7c4985..5b494a6 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.dxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(64u));
-  const float tint_symbol_2 = c(asfloat(u[4]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[4]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(64u));
+  float tint_symbol_2 = c(asfloat(u[4]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[4]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.fxc.hlsl
index e7c4985..5b494a6 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_fn.wgsl.expected.fxc.hlsl
@@ -40,10 +40,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float tint_symbol = a(u_load(0u));
-  const float tint_symbol_1 = b(u_load_1(64u));
-  const float tint_symbol_2 = c(asfloat(u[4]).ywxz);
-  const float tint_symbol_3 = d(asfloat(u[4]).ywxz.x);
+  float tint_symbol = a(u_load(0u));
+  float tint_symbol_1 = b(u_load_1(64u));
+  float tint_symbol_2 = c(asfloat(u[4]).ywxz);
+  float tint_symbol_3 = d(asfloat(u[4]).ywxz.x);
   s.Store(0u, asuint((((tint_symbol + tint_symbol_1) + tint_symbol_2) + tint_symbol_3)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index f82c5f3..c6e34a5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index f82c5f3..c6e34a5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -29,7 +29,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       w[i] = float4x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
     }
   }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 137eec7..399a552 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,23 +57,23 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 2, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 2, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (4u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint ubo_load_2 = a[scalar_offset_2 / 4][scalar_offset_2 % 4];
-  const vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (4u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 459a815..c2e1286 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,9 +55,9 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 2, 2> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 2, 2> l_a_3_a_2_m = a_load_4(896u);
   uint ubo_load_2 = a[56].y;
-  const vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
+  vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index cb74ea1..d795845 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,10 +12,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 2> t = transpose(u_load(260u));
+  matrix<float16_t, 2, 2> t = transpose(u_load(260u));
   uint ubo_load_2 = u[0].z;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16))).yx);
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16))).yx);
   uint ubo_load_3 = u[0].z;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 1edfa38..2e4b8fe 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 4041049..949b1ac 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,22 +57,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_2 = a[scalar_offset_2 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 4041049..949b1ac 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -57,22 +57,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_2 = a[scalar_offset_2 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index f94ded1..16e3a5f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float2x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index f94ded1..16e3a5f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float2x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 137f548..03babd9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x2 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 137f548..03babd9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x2 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 2e7cacd..8684dee 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 2e7cacd..8684dee 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index af2225e..816de20 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -63,26 +63,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 2, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 2, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_5 = a[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index c0cb6d3..9a4c7b2 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -61,11 +61,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 2, 3> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 2, 3> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_4 = a[56].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 016032a..87180a7 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -18,14 +18,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 2> t = transpose(u_load(264u));
+  matrix<float16_t, 3, 2> t = transpose(u_load(264u));
   uint2 ubo_load_4 = u[1].xy;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
+  float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]).zxy);
   uint2 ubo_load_5 = u[1].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   float16_t ubo_load_5_y = f16tof32(ubo_load_5[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 0ba1f13..a92397a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -48,7 +48,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 6a6d4b8..4beb18f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,21 +55,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 6a6d4b8..4beb18f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -55,21 +55,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 60b1113..cfdb3be 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -53,8 +53,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float2x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 60b1113..cfdb3be 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -53,8 +53,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float2x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 2c667c5..e01dc87 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x2 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 2c667c5..e01dc87 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x2 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 047e232..cf49e4f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -40,7 +40,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 047e232..cf49e4f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -40,7 +40,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 35638bd..43a6b87 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -63,26 +63,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 2, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 2, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_5 = a[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index a0bd4fa..1ad2b38 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -61,11 +61,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 2, 4> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 2, 4> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_4 = a[56].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 1168a19..d3ab67e 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -18,14 +18,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 2> t = transpose(u_load(264u));
+  matrix<float16_t, 4, 2> t = transpose(u_load(264u));
   uint2 ubo_load_4 = u[1].xy;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
+  float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]).ywxz);
   uint2 ubo_load_5 = u[1].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   vector<float16_t, 2> ubo_load_5_yw = vector<float16_t, 2>(f16tof32(ubo_load_5 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 2a556bd..7c9e7cd 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -48,7 +48,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index d1c8ffe..935a5f9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,21 +55,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index d1c8ffe..935a5f9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -55,21 +55,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float2x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float2x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_2 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_2 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_3 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_3 / 4][scalar_offset_3 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 34a9ccb..228c593 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -53,8 +53,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float2x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 34a9ccb..228c593 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -53,8 +53,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float2x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float2x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index e0430e8..c7c2fb7 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x2 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index e0430e8..c7c2fb7 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x2 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 97cfee3..88fc4f6 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -40,7 +40,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 97cfee3..88fc4f6 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -40,7 +40,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index bb3cd53..29a7ac9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -59,23 +59,23 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 3, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 3, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (4u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint ubo_load_3 = a[scalar_offset_3 / 4][scalar_offset_3 % 4];
-  const vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (4u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 639c29c..44d3402 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,9 +57,9 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 3, 2> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 3, 2> l_a_3_a_2_m = a_load_4(896u);
   uint ubo_load_3 = a[56].y;
-  const vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
+  vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index eb01c7c..d630783 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -14,10 +14,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 3> t = transpose(u_load(260u));
+  matrix<float16_t, 2, 3> t = transpose(u_load(260u));
   uint ubo_load_3 = u[0].z;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx);
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx);
   uint ubo_load_4 = u[0].z;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 2519958..774f5c1 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -44,7 +44,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 215445c..4f2b9e0 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -59,22 +59,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_3 = a[scalar_offset_3 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 215445c..4f2b9e0 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -59,22 +59,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_3 = a[scalar_offset_3 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 729b36c..b39016f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,8 +57,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float3x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 729b36c..b39016f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -57,8 +57,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float3x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 38b63fe..f36702d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -14,8 +14,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x3 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 38b63fe..f36702d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -14,8 +14,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x3 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 8b89e8a..f24bb33 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -44,7 +44,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 8b89e8a..f24bb33 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -44,7 +44,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index b52b050..e0e7ba7 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -68,26 +68,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 3, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 3, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_7 = a[scalar_offset_3 / 4];
   uint2 ubo_load_6 = ((scalar_offset_3 & 2) ? ubo_load_7.zw : ubo_load_7.xy);
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 8b8230f..4780ac2 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -66,11 +66,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 3, 3> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 3, 3> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_6 = a[56].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 3731d7a..4ee9a64 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -23,14 +23,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> t = transpose(u_load(264u));
+  matrix<float16_t, 3, 3> t = transpose(u_load(264u));
   uint2 ubo_load_6 = u[1].xy;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]).zxy);
+  float16_t l = length(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]).zxy);
   uint2 ubo_load_7 = u[1].xy;
   vector<float16_t, 2> ubo_load_7_xz = vector<float16_t, 2>(f16tof32(ubo_load_7 & 0xFFFF));
   float16_t ubo_load_7_y = f16tof32(ubo_load_7[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_7_xz[0], ubo_load_7_y, ubo_load_7_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_7_xz[0], ubo_load_7_y, ubo_load_7_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 6a6f888..7b4d443 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -53,7 +53,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 1b6f7bc..6e898e3 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -56,21 +56,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 1b6f7bc..6e898e3 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -56,21 +56,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 1467639..0336816 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -54,8 +54,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float3x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 1467639..0336816 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -54,8 +54,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float3x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 2c17d7b..838fa27 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x3 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 2c17d7b..838fa27 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x3 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 00eeaf5..1e8c58a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -41,7 +41,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 00eeaf5..1e8c58a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -41,7 +41,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 454bdc5..a8fe52d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -68,26 +68,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 3, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 3, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_7 = a[scalar_offset_3 / 4];
   uint2 ubo_load_6 = ((scalar_offset_3 & 2) ? ubo_load_7.zw : ubo_load_7.xy);
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index fc10274..418225f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -66,11 +66,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 3, 4> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 3, 4> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_6 = a[56].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 352c14d..61b39bc 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -23,14 +23,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 3> t = transpose(u_load(264u));
+  matrix<float16_t, 4, 3> t = transpose(u_load(264u));
   uint2 ubo_load_6 = u[1].xy;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]).ywxz);
+  float16_t l = length(vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]).ywxz);
   uint2 ubo_load_7 = u[1].xy;
   vector<float16_t, 2> ubo_load_7_xz = vector<float16_t, 2>(f16tof32(ubo_load_7 & 0xFFFF));
   vector<float16_t, 2> ubo_load_7_yw = vector<float16_t, 2>(f16tof32(ubo_load_7 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_7_xz[0], ubo_load_7_yw[0], ubo_load_7_xz[1], ubo_load_7_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_7_xz[0], ubo_load_7_yw[0], ubo_load_7_xz[1], ubo_load_7_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 385ece3..fb81394 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -53,7 +53,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 63e5329..4573d02 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -56,21 +56,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 63e5329..4573d02 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -56,21 +56,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float3x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float3x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_3 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_3 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_4 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_4 / 4][scalar_offset_4 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 9b0803d..2a576e5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -54,8 +54,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float3x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 9b0803d..2a576e5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -54,8 +54,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float3x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float3x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 9cd46da..a9d4ccb 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x3 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 9cd46da..a9d4ccb 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(272u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x3 t = transpose(u_load(272u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index a320646..6062808 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -41,7 +41,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index a320646..6062808 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -41,7 +41,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 4b73fd4..62a0236 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -61,23 +61,23 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 4, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 4, 2> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (4u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint ubo_load_4 = a[scalar_offset_4 / 4][scalar_offset_4 % 4];
-  const vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 2> l_a_i_a_i_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (4u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index a43b92f..57ead4a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -59,9 +59,9 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 4, 2> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 4, 2> l_a_3_a_2_m = a_load_4(896u);
   uint ubo_load_4 = a[56].y;
-  const vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
+  vector<float16_t, 2> l_a_3_a_2_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].y) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index 1cfa779..09bcad4 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -16,10 +16,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 4> t = transpose(u_load(260u));
+  matrix<float16_t, 2, 4> t = transpose(u_load(260u));
   uint ubo_load_4 = u[0].z;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx);
   uint ubo_load_5 = u[0].z;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
index d68557c..7a8b338 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -46,7 +46,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 0bcc831..8ae6480 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -61,22 +61,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_4 = a[scalar_offset_4 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 0bcc831..8ae6480 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -61,22 +61,22 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x2 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_4 = a[scalar_offset_4 / 4];
-  const float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float2 l_a_i_a_i_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 13eb36f..c09ed0e 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -59,8 +59,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float4x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 13eb36f..c09ed0e 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -59,8 +59,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x2 l_a_3_a_2_m = a_load_4(896u);
-  const float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
+  float4x2 l_a_3_a_2_m = a_load_4(896u);
+  float2 l_a_3_a_2_m_1 = asfloat(a[56].zw);
+  float l_a_3_a_2_m_1_0 = asfloat(a[56].z);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 888fa7e..c8d8a0d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -16,8 +16,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x4 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 888fa7e..c8d8a0d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -16,8 +16,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(264u));
-  const float l = length(asfloat(u[1].xy).yx);
-  const float a = abs(asfloat(u[1].xy).yx.x);
+  float2x4 t = transpose(u_load(264u));
+  float l = length(asfloat(u[1].xy).yx);
+  float a = abs(asfloat(u[1].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
index a2578c7..f86ce48 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -46,7 +46,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
index a2578c7..f86ce48 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -46,7 +46,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 91836ae..1d3a5ec 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -73,26 +73,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 4, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 4, 3> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_9 = a[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 3> l_a_i_a_i_m_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 50f0441..a2e56a1 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -71,11 +71,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 4, 3> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 4, 3> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_8 = a[56].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 3> l_a_3_a_2_m_1 = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index d5875d3..2f42fc4 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -28,14 +28,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 4> t = transpose(u_load(264u));
+  matrix<float16_t, 3, 4> t = transpose(u_load(264u));
   uint2 ubo_load_8 = u[1].xy;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
+  float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]).zxy);
   uint2 ubo_load_9 = u[1].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   float16_t ubo_load_9_y = f16tof32(ubo_load_9[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
index e4bd8dd..4498538 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -58,7 +58,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 85c18a7..1d51e7a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,21 +57,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 85c18a7..1d51e7a 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -57,21 +57,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x3 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4].xyz);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float3 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4].xyz);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 7c7edd8..f0e5f73 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float4x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 7c7edd8..f0e5f73 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x3 l_a_3_a_2_m = a_load_4(896u);
-  const float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float4x3 l_a_3_a_2_m = a_load_4(896u);
+  float3 l_a_3_a_2_m_1 = asfloat(a[57].xyz);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 405ddd0..e3adc2f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(400u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x4 t = transpose(u_load(400u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 405ddd0..e3adc2f 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(400u));
-  const float l = length(asfloat(u[2].xyz).zxy);
-  const float a = abs(asfloat(u[2].xyz).zxy.x);
+  float3x4 t = transpose(u_load(400u));
+  float l = length(asfloat(u[2].xyz).zxy);
+  float a = abs(asfloat(u[2].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
index c1d7480..fa48108 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
index c1d7480..fa48108 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index aa29abe..1f246d9 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -73,26 +73,26 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const matrix<float16_t, 4, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  matrix<float16_t, 4, 4> l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (8u * uint(p_a_i_a_i_m_i_save)))) / 4;
   uint4 ubo_load_9 = a[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  vector<float16_t, 4> l_a_i_a_i_m_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_bytes = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (8u * uint(tint_symbol_2))) + (2u * uint(tint_symbol_3))));
   const uint scalar_offset_index = scalar_offset_bytes / 4;
-  const float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
+  float16_t l_a_i_a_i_m_i_i = float16_t(f16tof32(((a[scalar_offset_index / 4][scalar_offset_index % 4] >> (scalar_offset_bytes % 4 == 0 ? 0 : 16)) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 61f4529..877a137 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -71,11 +71,11 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const matrix<float16_t, 4, 4> l_a_3_a_2_m = a_load_4(896u);
+  matrix<float16_t, 4, 4> l_a_3_a_2_m = a_load_4(896u);
   uint2 ubo_load_8 = a[56].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
-  const float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
+  vector<float16_t, 4> l_a_3_a_2_m_1 = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  float16_t l_a_3_a_2_m_1_0 = float16_t(f16tof32(((a[56].z) & 0xFFFF)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 70f53d1..060dfbb 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -28,14 +28,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 4> t = transpose(u_load(264u));
+  matrix<float16_t, 4, 4> t = transpose(u_load(264u));
   uint2 ubo_load_8 = u[1].xy;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
+  float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]).ywxz);
   uint2 ubo_load_9 = u[1].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   vector<float16_t, 2> ubo_load_9_yw = vector<float16_t, 2>(f16tof32(ubo_load_9 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
index 938545b..dda850d 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.dxc.hlsl
@@ -58,7 +58,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 8b4059f..262dcc2 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -57,21 +57,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 8b4059f..262dcc2 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -57,21 +57,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_a_i_save = i();
-  const int p_a_i_a_i_save = i();
-  const int p_a_i_a_i_m_i_save = i();
+  int p_a_i_save = i();
+  int p_a_i_a_i_save = i();
+  int p_a_i_a_i_m_i_save = i();
   Outer l_a[4] = a_load(0u);
   Outer l_a_i = a_load_1((256u * uint(p_a_i_save)));
   Inner l_a_i_a[4] = a_load_2((256u * uint(p_a_i_save)));
   Inner l_a_i_a_i = a_load_3(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
-  const float4x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
+  float4x4 l_a_i_a_i_m = a_load_4(((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))));
   const uint scalar_offset_4 = ((((256u * uint(p_a_i_save)) + (64u * uint(p_a_i_a_i_save))) + (16u * uint(p_a_i_a_i_m_i_save)))) / 4;
-  const float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4]);
-  const int tint_symbol = p_a_i_save;
-  const int tint_symbol_1 = p_a_i_a_i_save;
-  const int tint_symbol_2 = p_a_i_a_i_m_i_save;
-  const int tint_symbol_3 = i();
+  float4 l_a_i_a_i_m_i = asfloat(a[scalar_offset_4 / 4]);
+  int tint_symbol = p_a_i_save;
+  int tint_symbol_1 = p_a_i_a_i_save;
+  int tint_symbol_2 = p_a_i_a_i_m_i_save;
+  int tint_symbol_3 = i();
   const uint scalar_offset_5 = (((((256u * uint(tint_symbol)) + (64u * uint(tint_symbol_1))) + (16u * uint(tint_symbol_2))) + (4u * uint(tint_symbol_3)))) / 4;
-  const float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
+  float l_a_i_a_i_m_i_i = asfloat(a[scalar_offset_5 / 4][scalar_offset_5 % 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 7aeb8cd..90c15ba 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float4x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 7aeb8cd..90c15ba 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -55,8 +55,8 @@
   Outer l_a_3 = a_load_1(768u);
   Inner l_a_3_a[4] = a_load_2(768u);
   Inner l_a_3_a_2 = a_load_3(896u);
-  const float4x4 l_a_3_a_2_m = a_load_4(896u);
-  const float4 l_a_3_a_2_m_1 = asfloat(a[57]);
-  const float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
+  float4x4 l_a_3_a_2_m = a_load_4(896u);
+  float4 l_a_3_a_2_m_1 = asfloat(a[57]);
+  float l_a_3_a_2_m_1_0 = asfloat(a[57].x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index bdfc12f..224b187 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(400u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x4 t = transpose(u_load(400u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index bdfc12f..224b187 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(400u));
-  const float l = length(asfloat(u[2]).ywxz);
-  const float a = abs(asfloat(u[2]).ywxz.x);
+  float4x4 t = transpose(u_load(400u));
+  float l = length(asfloat(u[2]).ywxz);
+  float a = abs(asfloat(u[2]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
index 00a3dec2..bc8a9b1 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.dxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
index 00a3dec2..bc8a9b1 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.fxc.hlsl
@@ -42,7 +42,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S tint_symbol_2 = (S)0;
       w[i] = tint_symbol_2;
     }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index ec49097..4a1860d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,10 +18,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 2, 2> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 2, 2> l_m = m_load(0u);
   const uint scalar_offset_2 = ((4u * uint(p_m_i_save))) / 4;
   uint ubo_load_2 = m[scalar_offset_2 / 4][scalar_offset_2 % 4];
-  const vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
+  vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index dbb535d..339e9f5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,8 +18,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 2> l_m = m_load(0u);
+  matrix<float16_t, 2, 2> l_m = m_load(0u);
   uint ubo_load_2 = m[0].y;
-  const vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
+  vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index c207943..d662f94 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,10 +12,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 2> t = transpose(u_load(0u));
+  matrix<float16_t, 2, 2> t = transpose(u_load(0u));
   uint ubo_load_2 = u[0].y;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16))));
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_2 & 0xFFFF)), float16_t(f16tof32(ubo_load_2 >> 16))));
   uint ubo_load_3 = u[0].x;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index f11a915..f93fe64 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,10 +18,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x2 l_m = m_load(0u);
   const uint scalar_offset_2 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_2 = m[scalar_offset_2 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  float2 l_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index f11a915..f93fe64 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,10 +18,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x2 l_m = m_load(0u);
   const uint scalar_offset_2 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_2 = m[scalar_offset_2 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
+  float2 l_m_i = asfloat(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index ec07795..4fcbe58 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float2x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index ec07795..4fcbe58 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float2x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index 5a0e9e8..114848a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index 5a0e9e8..114848a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index df4d8f7..c1921ca 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,13 +24,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 2, 3> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 2, 3> l_m = m_load(0u);
   const uint scalar_offset_2 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_5 = m[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index dd6eec4..e52cbad 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,10 +24,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 3> l_m = m_load(0u);
+  matrix<float16_t, 2, 3> l_m = m_load(0u);
   uint2 ubo_load_4 = m[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
+  vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 179dc55..965326d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -18,14 +18,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 2> t = transpose(u_load(0u));
+  matrix<float16_t, 3, 2> t = transpose(u_load(0u));
   uint2 ubo_load_4 = u[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   float16_t ubo_load_4_y = f16tof32(ubo_load_4[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]));
+  float16_t l = length(vector<float16_t, 3>(ubo_load_4_xz[0], ubo_load_4_y, ubo_load_4_xz[1]));
   uint2 ubo_load_5 = u[0].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   float16_t ubo_load_5_y = f16tof32(ubo_load_5[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_5_xz[0], ubo_load_5_y, ubo_load_5_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 9f23591..5ca1922 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -16,9 +16,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x3 l_m = m_load(0u);
   const uint scalar_offset_2 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_2 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_2 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 9f23591..5ca1922 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -16,9 +16,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x3 l_m = m_load(0u);
   const uint scalar_offset_2 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_2 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_2 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 46c5bb1..3d38507 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float2x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 46c5bb1..3d38507 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float2x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 0e4ca7d..fc39143 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 0e4ca7d..fc39143 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 5d39858..83da068 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,13 +24,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 2, 4> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 2, 4> l_m = m_load(0u);
   const uint scalar_offset_2 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_5 = m[scalar_offset_2 / 4];
   uint2 ubo_load_4 = ((scalar_offset_2 & 2) ? ubo_load_5.zw : ubo_load_5.xy);
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index e97fac6..52a8725 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -24,10 +24,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 4> l_m = m_load(0u);
+  matrix<float16_t, 2, 4> l_m = m_load(0u);
   uint2 ubo_load_4 = m[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
+  vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index a0ab3da..3a47df8 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -18,14 +18,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 2> t = transpose(u_load(0u));
+  matrix<float16_t, 4, 2> t = transpose(u_load(0u));
   uint2 ubo_load_4 = u[0].zw;
   vector<float16_t, 2> ubo_load_4_xz = vector<float16_t, 2>(f16tof32(ubo_load_4 & 0xFFFF));
   vector<float16_t, 2> ubo_load_4_yw = vector<float16_t, 2>(f16tof32(ubo_load_4 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]));
+  float16_t l = length(vector<float16_t, 4>(ubo_load_4_xz[0], ubo_load_4_yw[0], ubo_load_4_xz[1], ubo_load_4_yw[1]));
   uint2 ubo_load_5 = u[0].xy;
   vector<float16_t, 2> ubo_load_5_xz = vector<float16_t, 2>(f16tof32(ubo_load_5 & 0xFFFF));
   vector<float16_t, 2> ubo_load_5_yw = vector<float16_t, 2>(f16tof32(ubo_load_5 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_5_xz[0], ubo_load_5_yw[0], ubo_load_5_xz[1], ubo_load_5_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index ac4bb44..4b88dc7 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -16,9 +16,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x4 l_m = m_load(0u);
   const uint scalar_offset_2 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_2 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_2 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index ac4bb44..4b88dc7 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -16,9 +16,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float2x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float2x4 l_m = m_load(0u);
   const uint scalar_offset_2 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_2 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_2 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index b1129e7..fb8fc8a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float2x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index b1129e7..fb8fc8a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float2x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index ae98558..1ce3ea3 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index ae98558..1ce3ea3 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x2 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 71c334d..9032476 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -20,10 +20,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 3, 2> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 3, 2> l_m = m_load(0u);
   const uint scalar_offset_3 = ((4u * uint(p_m_i_save))) / 4;
   uint ubo_load_3 = m[scalar_offset_3 / 4][scalar_offset_3 % 4];
-  const vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
+  vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index db5facf..1b6e5ce 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -20,8 +20,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 2> l_m = m_load(0u);
+  matrix<float16_t, 3, 2> l_m = m_load(0u);
   uint ubo_load_3 = m[0].y;
-  const vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
+  vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index 6bb7e94..da8a08a5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -14,10 +14,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 3> t = transpose(u_load(0u));
+  matrix<float16_t, 2, 3> t = transpose(u_load(0u));
   uint ubo_load_3 = u[0].y;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))));
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_3 & 0xFFFF)), float16_t(f16tof32(ubo_load_3 >> 16))));
   uint ubo_load_4 = u[0].x;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 8d2c1a7..7b39d8a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -20,10 +20,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x2 l_m = m_load(0u);
   const uint scalar_offset_3 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_3 = m[scalar_offset_3 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
+  float2 l_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 8d2c1a7..7b39d8a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -20,10 +20,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x2 l_m = m_load(0u);
   const uint scalar_offset_3 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_3 = m[scalar_offset_3 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
+  float2 l_m_i = asfloat(((scalar_offset_3 & 2) ? ubo_load_3.zw : ubo_load_3.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 6e6def3..55eba13 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float3x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 6e6def3..55eba13 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float3x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index bfafab9..52b0f41 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -14,8 +14,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index bfafab9..52b0f41 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -14,8 +14,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 6105beb..46d590d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,13 +29,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 3, 3> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 3, 3> l_m = m_load(0u);
   const uint scalar_offset_3 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_7 = m[scalar_offset_3 / 4];
   uint2 ubo_load_6 = ((scalar_offset_3 & 2) ? ubo_load_7.zw : ubo_load_7.xy);
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
+  vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 681fab1..ca20dab 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,10 +29,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> l_m = m_load(0u);
+  matrix<float16_t, 3, 3> l_m = m_load(0u);
   uint2 ubo_load_6 = m[0].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
+  vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index 46d1cd1..2d1ffbf 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -23,14 +23,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> t = transpose(u_load(0u));
+  matrix<float16_t, 3, 3> t = transpose(u_load(0u));
   uint2 ubo_load_6 = u[0].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
+  float16_t l = length(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
   uint2 ubo_load_7 = u[0].xy;
   vector<float16_t, 2> ubo_load_7_xz = vector<float16_t, 2>(f16tof32(ubo_load_7 & 0xFFFF));
   float16_t ubo_load_7_y = f16tof32(ubo_load_7[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_7_xz[0], ubo_load_7_y, ubo_load_7_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_7_xz[0], ubo_load_7_y, ubo_load_7_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index f299ea3..49bc3d0 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x3 l_m = m_load(0u);
   const uint scalar_offset_3 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_3 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_3 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index f299ea3..49bc3d0 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x3 l_m = m_load(0u);
   const uint scalar_offset_3 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_3 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_3 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index ff07115..3141c9c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float3x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index ff07115..3141c9c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float3x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index 43a84aa..632a81d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index 43a84aa..632a81d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index b49798b..8a1141c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,13 +29,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 3, 4> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 3, 4> l_m = m_load(0u);
   const uint scalar_offset_3 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_7 = m[scalar_offset_3 / 4];
   uint2 ubo_load_6 = ((scalar_offset_3 & 2) ? ubo_load_7.zw : ubo_load_7.xy);
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
+  vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 16288d5..01b6925 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -29,10 +29,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 4> l_m = m_load(0u);
+  matrix<float16_t, 3, 4> l_m = m_load(0u);
   uint2 ubo_load_6 = m[0].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
+  vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 19f47c3..da89310 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -23,14 +23,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 3> t = transpose(u_load(0u));
+  matrix<float16_t, 4, 3> t = transpose(u_load(0u));
   uint2 ubo_load_6 = u[0].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   vector<float16_t, 2> ubo_load_6_yw = vector<float16_t, 2>(f16tof32(ubo_load_6 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]));
+  float16_t l = length(vector<float16_t, 4>(ubo_load_6_xz[0], ubo_load_6_yw[0], ubo_load_6_xz[1], ubo_load_6_yw[1]));
   uint2 ubo_load_7 = u[0].xy;
   vector<float16_t, 2> ubo_load_7_xz = vector<float16_t, 2>(f16tof32(ubo_load_7 & 0xFFFF));
   vector<float16_t, 2> ubo_load_7_yw = vector<float16_t, 2>(f16tof32(ubo_load_7 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_7_xz[0], ubo_load_7_yw[0], ubo_load_7_xz[1], ubo_load_7_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_7_xz[0], ubo_load_7_yw[0], ubo_load_7_xz[1], ubo_load_7_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 4962544..f86af8f 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x4 l_m = m_load(0u);
   const uint scalar_offset_3 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_3 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_3 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 4962544..f86af8f 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -17,9 +17,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float3x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float3x4 l_m = m_load(0u);
   const uint scalar_offset_3 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_3 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_3 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 35c39c8..9c2db2a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float3x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 35c39c8..9c2db2a 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float3x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 5e060a0..ea36b34 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 5e060a0..ea36b34 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -11,8 +11,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x3 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 36f6e45..334e721 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -22,10 +22,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 4, 2> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 4, 2> l_m = m_load(0u);
   const uint scalar_offset_4 = ((4u * uint(p_m_i_save))) / 4;
   uint ubo_load_4 = m[scalar_offset_4 / 4][scalar_offset_4 % 4];
-  const vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  vector<float16_t, 2> l_m_i = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index a770380..6ac499c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -22,8 +22,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 2> l_m = m_load(0u);
+  matrix<float16_t, 4, 2> l_m = m_load(0u);
   uint ubo_load_4 = m[0].y;
-  const vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
+  vector<float16_t, 2> l_m_1 = vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16)));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
index a9b0193..2d6e1ef 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -16,10 +16,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 4> t = transpose(u_load(0u));
+  matrix<float16_t, 2, 4> t = transpose(u_load(0u));
   uint ubo_load_4 = u[0].y;
-  const float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))));
+  float16_t l = length(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_4 & 0xFFFF)), float16_t(f16tof32(ubo_load_4 >> 16))));
   uint ubo_load_5 = u[0].x;
-  const float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
+  float16_t a = abs(vector<float16_t, 2>(float16_t(f16tof32(ubo_load_5 & 0xFFFF)), float16_t(f16tof32(ubo_load_5 >> 16))).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index c1fbdb8..8b39d78 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -22,10 +22,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x2 l_m = m_load(0u);
   const uint scalar_offset_4 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_4 = m[scalar_offset_4 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  float2 l_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index c1fbdb8..8b39d78 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -22,10 +22,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x2 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x2 l_m = m_load(0u);
   const uint scalar_offset_4 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_4 = m[scalar_offset_4 / 4];
-  const float2 l_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
+  float2 l_m_i = asfloat(((scalar_offset_4 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 9666145..a9a551c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float4x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 9666145..a9a551c 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 l_m = m_load(0u);
-  const float2 l_m_1 = asfloat(m[0].zw);
+  float4x2 l_m = m_load(0u);
+  float2 l_m_1 = asfloat(m[0].zw);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
index ba2fff6..108ccb3 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -16,8 +16,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
index ba2fff6..108ccb3 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -16,8 +16,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[0].zw));
-  const float a = abs(asfloat(u[0].xy).yx.x);
+  float2x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[0].zw));
+  float a = abs(asfloat(u[0].xy).yx.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index c109c90..aa00ead 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,13 +34,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 4, 3> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 4, 3> l_m = m_load(0u);
   const uint scalar_offset_4 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_9 = m[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  vector<float16_t, 3> l_m_i = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 48fd65c..5798e42 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,10 +34,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 3> l_m = m_load(0u);
+  matrix<float16_t, 4, 3> l_m = m_load(0u);
   uint2 ubo_load_8 = m[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
+  vector<float16_t, 3> l_m_1 = vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
index b0f7a25..5577ae9 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -28,14 +28,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 4> t = transpose(u_load(0u));
+  matrix<float16_t, 3, 4> t = transpose(u_load(0u));
   uint2 ubo_load_8 = u[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]));
+  float16_t l = length(vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]));
   uint2 ubo_load_9 = u[0].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   float16_t ubo_load_9_y = f16tof32(ubo_load_9[0] >> 16);
-  const float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
+  float16_t a = abs(vector<float16_t, 3>(ubo_load_9_xz[0], ubo_load_9_y, ubo_load_9_xz[1]).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index b895b59..77a9f49 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,9 +18,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x3 l_m = m_load(0u);
   const uint scalar_offset_4 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_4 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_4 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index b895b59..77a9f49 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,9 +18,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x3 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x3 l_m = m_load(0u);
   const uint scalar_offset_4 = ((16u * uint(p_m_i_save))) / 4;
-  const float3 l_m_i = asfloat(m[scalar_offset_4 / 4].xyz);
+  float3 l_m_i = asfloat(m[scalar_offset_4 / 4].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 911bcda..f284ca1 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float4x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 911bcda..f284ca1 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x3 l_m = m_load(0u);
-  const float3 l_m_1 = asfloat(m[1].xyz);
+  float4x3 l_m = m_load(0u);
+  float3 l_m_1 = asfloat(m[1].xyz);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
index a10c0dc..43b41a8 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
index a10c0dc..43b41a8 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1].xyz));
-  const float a = abs(asfloat(u[0].xyz).zxy.x);
+  float3x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1].xyz));
+  float a = abs(asfloat(u[0].xyz).zxy.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index f6a599c..5b9017b 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,13 +34,13 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const matrix<float16_t, 4, 4> l_m = m_load(0u);
+  int p_m_i_save = i();
+  matrix<float16_t, 4, 4> l_m = m_load(0u);
   const uint scalar_offset_4 = ((8u * uint(p_m_i_save))) / 4;
   uint4 ubo_load_9 = m[scalar_offset_4 / 4];
   uint2 ubo_load_8 = ((scalar_offset_4 & 2) ? ubo_load_9.zw : ubo_load_9.xy);
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  vector<float16_t, 4> l_m_i = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
index c7887d1..f8f3a02 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -34,10 +34,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 4> l_m = m_load(0u);
+  matrix<float16_t, 4, 4> l_m = m_load(0u);
   uint2 ubo_load_8 = m[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
+  vector<float16_t, 4> l_m_1 = vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
index 516a40c..68880f2 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_builtin.wgsl.expected.dxc.hlsl
@@ -28,14 +28,14 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 4> t = transpose(u_load(0u));
+  matrix<float16_t, 4, 4> t = transpose(u_load(0u));
   uint2 ubo_load_8 = u[0].zw;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   vector<float16_t, 2> ubo_load_8_yw = vector<float16_t, 2>(f16tof32(ubo_load_8 >> 16));
-  const float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]));
+  float16_t l = length(vector<float16_t, 4>(ubo_load_8_xz[0], ubo_load_8_yw[0], ubo_load_8_xz[1], ubo_load_8_yw[1]));
   uint2 ubo_load_9 = u[0].xy;
   vector<float16_t, 2> ubo_load_9_xz = vector<float16_t, 2>(f16tof32(ubo_load_9 & 0xFFFF));
   vector<float16_t, 2> ubo_load_9_yw = vector<float16_t, 2>(f16tof32(ubo_load_9 >> 16));
-  const float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
+  float16_t a = abs(vector<float16_t, 4>(ubo_load_9_xz[0], ubo_load_9_yw[0], ubo_load_9_xz[1], ubo_load_9_yw[1]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
index 8231d5e..c5c08ea 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,9 +18,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x4 l_m = m_load(0u);
   const uint scalar_offset_4 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_4 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_4 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
index 8231d5e..c5c08ea 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,9 +18,9 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int p_m_i_save = i();
-  const float4x4 l_m = m_load(0u);
+  int p_m_i_save = i();
+  float4x4 l_m = m_load(0u);
   const uint scalar_offset_4 = ((16u * uint(p_m_i_save))) / 4;
-  const float4 l_m_i = asfloat(m[scalar_offset_4 / 4]);
+  float4 l_m_i = asfloat(m[scalar_offset_4 / 4]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
index 0d695c0..cd6c27d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float4x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
index 0d695c0..cd6c27d 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 l_m = m_load(0u);
-  const float4 l_m_1 = asfloat(m[1]);
+  float4x4 l_m = m_load(0u);
+  float4 l_m_1 = asfloat(m[1]);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
index 812efb8..ac5d302 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.dxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
index 812efb8..ac5d302 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_builtin.wgsl.expected.fxc.hlsl
@@ -12,8 +12,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x4 t = transpose(u_load(0u));
-  const float l = length(asfloat(u[1]));
-  const float a = abs(asfloat(u[0]).ywxz.x);
+  float4x4 t = transpose(u_load(0u));
+  float l = length(asfloat(u[1]));
+  float a = abs(asfloat(u[0]).ywxz.x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/f16.wgsl.expected.dxc.hlsl
index 5025dc5..2d2d793 100644
--- a/test/tint/buffer/uniform/types/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/f16.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float16_t x = float16_t(f16tof32(((u[0].x) & 0xFFFF)));
+  float16_t x = float16_t(f16tof32(((u[0].x) & 0xFFFF)));
   s.Store<float16_t>(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/f32.wgsl.expected.dxc.hlsl
index ed71022..568b386 100644
--- a/test/tint/buffer/uniform/types/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float x = asfloat(u[0].x);
+  float x = asfloat(u[0].x);
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/f32.wgsl.expected.fxc.hlsl
index ed71022..568b386 100644
--- a/test/tint/buffer/uniform/types/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/f32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float x = asfloat(u[0].x);
+  float x = asfloat(u[0].x);
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/i32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/i32.wgsl.expected.dxc.hlsl
index 413cc0e..f0feb47 100644
--- a/test/tint/buffer/uniform/types/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = asint(u[0].x);
+  int x = asint(u[0].x);
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/i32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/i32.wgsl.expected.fxc.hlsl
index 413cc0e..f0feb47 100644
--- a/test/tint/buffer/uniform/types/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/i32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = asint(u[0].x);
+  int x = asint(u[0].x);
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x2_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x2_f16.wgsl.expected.dxc.hlsl
index 8774e69..f7df9e8 100644
--- a/test/tint/buffer/uniform/types/mat2x2_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x2_f16.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 2, 2> x = u_load(0u);
+  matrix<float16_t, 2, 2> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.dxc.hlsl
index 2c554d4..193a155 100644
--- a/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x2 x = u_load(0u);
+  float2x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.fxc.hlsl
index 2c554d4..193a155 100644
--- a/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x2_f32.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x2 x = u_load(0u);
+  float2x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x3_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x3_f16.wgsl.expected.dxc.hlsl
index c898704..923b137 100644
--- a/test/tint/buffer/uniform/types/mat2x3_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x3_f16.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 2, 3> x = u_load(0u);
+  matrix<float16_t, 2, 3> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.dxc.hlsl
index 67cab1d..e25226b 100644
--- a/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x3 x = u_load(0u);
+  float2x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.fxc.hlsl
index 67cab1d..e25226b 100644
--- a/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x3_f32.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x3 x = u_load(0u);
+  float2x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x4_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x4_f16.wgsl.expected.dxc.hlsl
index 2635754..a8f507e 100644
--- a/test/tint/buffer/uniform/types/mat2x4_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x4_f16.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 2, 4> x = u_load(0u);
+  matrix<float16_t, 2, 4> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.dxc.hlsl
index ff0911b..2c344ba 100644
--- a/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x4 x = u_load(0u);
+  float2x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.fxc.hlsl
index ff0911b..2c344ba 100644
--- a/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat2x4_f32.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2x4 x = u_load(0u);
+  float2x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x2_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x2_f16.wgsl.expected.dxc.hlsl
index a0820d4..89981a3 100644
--- a/test/tint/buffer/uniform/types/mat3x2_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x2_f16.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 3, 2> x = u_load(0u);
+  matrix<float16_t, 3, 2> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.dxc.hlsl
index bc465be..d0e52ae 100644
--- a/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x2 x = u_load(0u);
+  float3x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.fxc.hlsl
index bc465be..d0e52ae 100644
--- a/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x2_f32.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x2 x = u_load(0u);
+  float3x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x3_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x3_f16.wgsl.expected.dxc.hlsl
index 5f92af8..42a5cc3 100644
--- a/test/tint/buffer/uniform/types/mat3x3_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x3_f16.wgsl.expected.dxc.hlsl
@@ -30,7 +30,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 3, 3> x = u_load(0u);
+  matrix<float16_t, 3, 3> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.dxc.hlsl
index 3cc4336..ad1338b 100644
--- a/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x3 x = u_load(0u);
+  float3x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.fxc.hlsl
index 3cc4336..ad1338b 100644
--- a/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x3_f32.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x3 x = u_load(0u);
+  float3x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x4_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x4_f16.wgsl.expected.dxc.hlsl
index 6b97357..01d41d8 100644
--- a/test/tint/buffer/uniform/types/mat3x4_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x4_f16.wgsl.expected.dxc.hlsl
@@ -30,7 +30,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 3, 4> x = u_load(0u);
+  matrix<float16_t, 3, 4> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.dxc.hlsl
index e0c1b46..811f39c 100644
--- a/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x4 x = u_load(0u);
+  float3x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.fxc.hlsl
index e0c1b46..811f39c 100644
--- a/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat3x4_f32.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3x4 x = u_load(0u);
+  float3x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x2_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x2_f16.wgsl.expected.dxc.hlsl
index ba9342f..8981290 100644
--- a/test/tint/buffer/uniform/types/mat4x2_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x2_f16.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 4, 2> x = u_load(0u);
+  matrix<float16_t, 4, 2> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.dxc.hlsl
index 8eeb796..2368c3b 100644
--- a/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x2 x = u_load(0u);
+  float4x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.fxc.hlsl
index 8eeb796..2368c3b 100644
--- a/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x2_f32.wgsl.expected.fxc.hlsl
@@ -24,7 +24,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x2 x = u_load(0u);
+  float4x2 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x3_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x3_f16.wgsl.expected.dxc.hlsl
index c0f8bed..019be6f 100644
--- a/test/tint/buffer/uniform/types/mat4x3_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x3_f16.wgsl.expected.dxc.hlsl
@@ -36,7 +36,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 4, 3> x = u_load(0u);
+  matrix<float16_t, 4, 3> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.dxc.hlsl
index 66005ab..4244740 100644
--- a/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x3 x = u_load(0u);
+  float4x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.fxc.hlsl
index 66005ab..4244740 100644
--- a/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x3_f32.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x3 x = u_load(0u);
+  float4x3 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x4_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x4_f16.wgsl.expected.dxc.hlsl
index 9805c12..a8cd695 100644
--- a/test/tint/buffer/uniform/types/mat4x4_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x4_f16.wgsl.expected.dxc.hlsl
@@ -36,7 +36,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const matrix<float16_t, 4, 4> x = u_load(0u);
+  matrix<float16_t, 4, 4> x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.dxc.hlsl
index c4ef1a0..fa43338 100644
--- a/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x4 x = u_load(0u);
+  float4x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.fxc.hlsl
index c4ef1a0..fa43338 100644
--- a/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/mat4x4_f32.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4x4 x = u_load(0u);
+  float4x4 x = u_load(0u);
   s_store(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/u32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/u32.wgsl.expected.dxc.hlsl
index c5ab5ce..a11c306 100644
--- a/test/tint/buffer/uniform/types/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint x = u[0].x;
+  uint x = u[0].x;
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/u32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/u32.wgsl.expected.fxc.hlsl
index c5ab5ce..a11c306 100644
--- a/test/tint/buffer/uniform/types/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/u32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint x = u[0].x;
+  uint x = u[0].x;
   s.Store(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec2_f16.wgsl.expected.dxc.hlsl
index b0969e4..9f74d5f 100644
--- a/test/tint/buffer/uniform/types/vec2_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_f16.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 [numthreads(1, 1, 1)]
 void main() {
   uint ubo_load = u[0].x;
-  const vector<float16_t, 2> x = vector<float16_t, 2>(float16_t(f16tof32(ubo_load & 0xFFFF)), float16_t(f16tof32(ubo_load >> 16)));
+  vector<float16_t, 2> x = vector<float16_t, 2>(float16_t(f16tof32(ubo_load & 0xFFFF)), float16_t(f16tof32(ubo_load >> 16)));
   s.Store<vector<float16_t, 2> >(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.dxc.hlsl
index d7638b7..37bea7e 100644
--- a/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 x = asfloat(u[0].xy);
+  float2 x = asfloat(u[0].xy);
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.fxc.hlsl
index d7638b7..37bea7e 100644
--- a/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_f32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 x = asfloat(u[0].xy);
+  float2 x = asfloat(u[0].xy);
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.dxc.hlsl
index 25c3809..8674680 100644
--- a/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int2 x = asint(u[0].xy);
+  int2 x = asint(u[0].xy);
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.fxc.hlsl
index 25c3809..8674680 100644
--- a/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_i32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int2 x = asint(u[0].xy);
+  int2 x = asint(u[0].xy);
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.dxc.hlsl
index fa374bd..dd47d9b 100644
--- a/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint2 x = u[0].xy;
+  uint2 x = u[0].xy;
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.fxc.hlsl
index fa374bd..dd47d9b 100644
--- a/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec2_u32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint2 x = u[0].xy;
+  uint2 x = u[0].xy;
   s.Store2(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec3_f16.wgsl.expected.dxc.hlsl
index fef1d99..2e1125a 100644
--- a/test/tint/buffer/uniform/types/vec3_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_f16.wgsl.expected.dxc.hlsl
@@ -8,7 +8,7 @@
   uint2 ubo_load = u[0].xy;
   vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
   float16_t ubo_load_y = f16tof32(ubo_load[0] >> 16);
-  const vector<float16_t, 3> x = vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]);
+  vector<float16_t, 3> x = vector<float16_t, 3>(ubo_load_xz[0], ubo_load_y, ubo_load_xz[1]);
   s.Store<vector<float16_t, 3> >(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.dxc.hlsl
index c81e42d..592dbd8 100644
--- a/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3 x = asfloat(u[0].xyz);
+  float3 x = asfloat(u[0].xyz);
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.fxc.hlsl
index c81e42d..592dbd8 100644
--- a/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_f32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float3 x = asfloat(u[0].xyz);
+  float3 x = asfloat(u[0].xyz);
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.dxc.hlsl
index 136bfca..09748d4 100644
--- a/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int3 x = asint(u[0].xyz);
+  int3 x = asint(u[0].xyz);
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.fxc.hlsl
index 136bfca..09748d4 100644
--- a/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_i32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int3 x = asint(u[0].xyz);
+  int3 x = asint(u[0].xyz);
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.dxc.hlsl
index e660d5d..5bfeef5 100644
--- a/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint3 x = u[0].xyz;
+  uint3 x = u[0].xyz;
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.fxc.hlsl
index e660d5d..5bfeef5 100644
--- a/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec3_u32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint3 x = u[0].xyz;
+  uint3 x = u[0].xyz;
   s.Store3(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_f16.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec4_f16.wgsl.expected.dxc.hlsl
index c3764d6..c1a3f68 100644
--- a/test/tint/buffer/uniform/types/vec4_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_f16.wgsl.expected.dxc.hlsl
@@ -8,7 +8,7 @@
   uint2 ubo_load = u[0].xy;
   vector<float16_t, 2> ubo_load_xz = vector<float16_t, 2>(f16tof32(ubo_load & 0xFFFF));
   vector<float16_t, 2> ubo_load_yw = vector<float16_t, 2>(f16tof32(ubo_load >> 16));
-  const vector<float16_t, 4> x = vector<float16_t, 4>(ubo_load_xz[0], ubo_load_yw[0], ubo_load_xz[1], ubo_load_yw[1]);
+  vector<float16_t, 4> x = vector<float16_t, 4>(ubo_load_xz[0], ubo_load_yw[0], ubo_load_xz[1], ubo_load_yw[1]);
   s.Store<vector<float16_t, 4> >(0u, x);
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.dxc.hlsl
index b0fa27d..12465ad 100644
--- a/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 x = asfloat(u[0]);
+  float4 x = asfloat(u[0]);
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.fxc.hlsl
index b0fa27d..12465ad 100644
--- a/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_f32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 x = asfloat(u[0]);
+  float4 x = asfloat(u[0]);
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.dxc.hlsl
index 132bb53..9e37eb7 100644
--- a/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int4 x = asint(u[0]);
+  int4 x = asint(u[0]);
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.fxc.hlsl
index 132bb53..9e37eb7 100644
--- a/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_i32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int4 x = asint(u[0]);
+  int4 x = asint(u[0]);
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.dxc.hlsl b/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.dxc.hlsl
index 383baec..a0e90f0 100644
--- a/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint4 x = u[0];
+  uint4 x = u[0];
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.fxc.hlsl b/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.fxc.hlsl
index 383baec..a0e90f0 100644
--- a/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/buffer/uniform/types/vec4_u32.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint4 x = u[0];
+  uint4 x = u[0];
   s.Store4(0u, asuint(x));
   return;
 }
diff --git a/test/tint/bug/chromium/1236161.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1236161.wgsl.expected.dxc.hlsl
index f73a45a..a16082e 100644
--- a/test/tint/bug/chromium/1236161.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1236161.wgsl.expected.dxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void i() {
-  const float s = 1.0f;
+  float s = 1.0f;
 }
diff --git a/test/tint/bug/chromium/1236161.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1236161.wgsl.expected.fxc.hlsl
index f73a45a..a16082e 100644
--- a/test/tint/bug/chromium/1236161.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1236161.wgsl.expected.fxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void i() {
-  const float s = 1.0f;
+  float s = 1.0f;
 }
diff --git a/test/tint/bug/chromium/1251009.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1251009.wgsl.expected.dxc.hlsl
index 6531385..0863700 100644
--- a/test/tint/bug/chromium/1251009.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1251009.wgsl.expected.dxc.hlsl
@@ -19,14 +19,14 @@
 };
 
 float4 main_inner(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
-  const uint foo = (inputs0.vertex_index + instance_index);
+  uint foo = (inputs0.vertex_index + instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
-  const VertexInputs1 tint_symbol_4 = {tint_symbol.loc1_1, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
+  VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
+  VertexInputs1 tint_symbol_4 = {tint_symbol.loc1_1, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/chromium/1251009.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1251009.wgsl.expected.fxc.hlsl
index 6531385..0863700 100644
--- a/test/tint/bug/chromium/1251009.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1251009.wgsl.expected.fxc.hlsl
@@ -19,14 +19,14 @@
 };
 
 float4 main_inner(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
-  const uint foo = (inputs0.vertex_index + instance_index);
+  uint foo = (inputs0.vertex_index + instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
-  const VertexInputs1 tint_symbol_4 = {tint_symbol.loc1_1, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
+  VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
+  VertexInputs1 tint_symbol_4 = {tint_symbol.loc1_1, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/chromium/1273451.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1273451.wgsl.expected.dxc.hlsl
index dddd92f..d887ab4 100644
--- a/test/tint/bug/chromium/1273451.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1273451.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 };
 
 B f(A a) {
-  const B tint_symbol = (B)0;
+  B tint_symbol = (B)0;
   return tint_symbol;
 }
diff --git a/test/tint/bug/chromium/1273451.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1273451.wgsl.expected.fxc.hlsl
index dddd92f..d887ab4 100644
--- a/test/tint/bug/chromium/1273451.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1273451.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 };
 
 B f(A a) {
-  const B tint_symbol = (B)0;
+  B tint_symbol = (B)0;
   return tint_symbol;
 }
diff --git a/test/tint/bug/chromium/1290107.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1290107.wgsl.expected.dxc.hlsl
index fad9ff7..88ffdb5 100644
--- a/test/tint/bug/chromium/1290107.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1290107.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   arr.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint len = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint len = tint_symbol_2;
   return;
 }
diff --git a/test/tint/bug/chromium/1290107.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1290107.wgsl.expected.fxc.hlsl
index fad9ff7..88ffdb5 100644
--- a/test/tint/bug/chromium/1290107.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1290107.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   arr.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint len = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint len = tint_symbol_2;
   return;
 }
diff --git a/test/tint/bug/chromium/1341475.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1341475.wgsl.expected.dxc.hlsl
index 53efdd3..5b5eeea 100644
--- a/test/tint/bug/chromium/1341475.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1341475.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float a = 1.0f;
+  float a = 1.0f;
   return;
 }
diff --git a/test/tint/bug/chromium/1341475.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1341475.wgsl.expected.fxc.hlsl
index 53efdd3..5b5eeea 100644
--- a/test/tint/bug/chromium/1341475.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1341475.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float a = 1.0f;
+  float a = 1.0f;
   return;
 }
diff --git a/test/tint/bug/chromium/1350147.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1350147.wgsl.expected.dxc.hlsl
index 251c3c2..18b141c 100644
--- a/test/tint/bug/chromium/1350147.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1350147.wgsl.expected.dxc.hlsl
@@ -8,12 +8,12 @@
 
 void more_tests_that_would_fail() {
   {
-    const float a = 1.47112762928009033203f;
-    const float b = 0.09966865181922912598f;
+    float a = 1.47112762928009033203f;
+    float b = 0.09966865181922912598f;
   }
   {
-    const float a = 2.5f;
-    const float b = 2.5f;
+    float a = 2.5f;
+    float b = 2.5f;
   }
   {
   }
diff --git a/test/tint/bug/chromium/1350147.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1350147.wgsl.expected.fxc.hlsl
index 251c3c2..18b141c 100644
--- a/test/tint/bug/chromium/1350147.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1350147.wgsl.expected.fxc.hlsl
@@ -8,12 +8,12 @@
 
 void more_tests_that_would_fail() {
   {
-    const float a = 1.47112762928009033203f;
-    const float b = 0.09966865181922912598f;
+    float a = 1.47112762928009033203f;
+    float b = 0.09966865181922912598f;
   }
   {
-    const float a = 2.5f;
-    const float b = 2.5f;
+    float a = 2.5f;
+    float b = 2.5f;
   }
   {
   }
diff --git a/test/tint/bug/chromium/1386647.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1386647.wgsl.expected.dxc.hlsl
index c659c3b..b99e040 100644
--- a/test/tint/bug/chromium/1386647.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1386647.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 };
 
 void f_inner(uint3 v) {
-  const uint l = (v.x << (tint_mod(v.y, 1u) & 31u));
+  uint l = (v.x << (tint_mod(v.y, 1u) & 31u));
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/chromium/1386647.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1386647.wgsl.expected.fxc.hlsl
index c659c3b..b99e040 100644
--- a/test/tint/bug/chromium/1386647.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1386647.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 };
 
 void f_inner(uint3 v) {
-  const uint l = (v.x << (tint_mod(v.y, 1u) & 31u));
+  uint l = (v.x << (tint_mod(v.y, 1u) & 31u));
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/chromium/1405676.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1405676.wgsl.expected.dxc.hlsl
index 027b95b..ebb13a2 100644
--- a/test/tint/bug/chromium/1405676.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1405676.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 Texture1D<int4> arg_0 : register(t0);
 
 void d() {
-  const float l = 0.14112000167369842529f;
+  float l = 0.14112000167369842529f;
 }
diff --git a/test/tint/bug/chromium/1405676.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1405676.wgsl.expected.fxc.hlsl
index 027b95b..ebb13a2 100644
--- a/test/tint/bug/chromium/1405676.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1405676.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 Texture1D<int4> arg_0 : register(t0);
 
 void d() {
-  const float l = 0.14112000167369842529f;
+  float l = 0.14112000167369842529f;
 }
diff --git a/test/tint/bug/chromium/1417515.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1417515.wgsl.expected.dxc.hlsl
index 8916eb5..d41f2ca 100644
--- a/test/tint/bug/chromium/1417515.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1417515.wgsl.expected.dxc.hlsl
@@ -8,5 +8,5 @@
 }
 
 void foo() {
-  const modf_result_f32 s1 = (modf_result_f32)0;
+  modf_result_f32 s1 = (modf_result_f32)0;
 }
diff --git a/test/tint/bug/chromium/1417515.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1417515.wgsl.expected.fxc.hlsl
index 8916eb5..d41f2ca 100644
--- a/test/tint/bug/chromium/1417515.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1417515.wgsl.expected.fxc.hlsl
@@ -8,5 +8,5 @@
 }
 
 void foo() {
-  const modf_result_f32 s1 = (modf_result_f32)0;
+  modf_result_f32 s1 = (modf_result_f32)0;
 }
diff --git a/test/tint/bug/chromium/1430309.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1430309.wgsl.expected.dxc.hlsl
index 94574a4..dcbb015 100644
--- a/test/tint/bug/chromium/1430309.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1430309.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/chromium/1430309.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1430309.wgsl.expected.fxc.hlsl
index 94574a4..dcbb015 100644
--- a/test/tint/bug/chromium/1430309.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1430309.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/chromium/1434271.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1434271.wgsl.expected.dxc.hlsl
index 93db555..f8c2892 100644
--- a/test/tint/bug/chromium/1434271.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1434271.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol_4 vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol_4 wrapper_result = (tint_symbol_4)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -84,8 +84,8 @@
 }
 
 tint_symbol_7 vs_main(tint_symbol_6 tint_symbol_5) {
-  const VertexInput tint_symbol_12 = {tint_symbol_5.position, tint_symbol_5.color, tint_symbol_5.quad_pos};
-  const VertexOutput inner_result_1 = vs_main_inner(tint_symbol_12);
+  VertexInput tint_symbol_12 = {tint_symbol_5.position, tint_symbol_5.color, tint_symbol_5.quad_pos};
+  VertexOutput inner_result_1 = vs_main_inner(tint_symbol_12);
   tint_symbol_7 wrapper_result_1 = (tint_symbol_7)0;
   wrapper_result_1.position = inner_result_1.position;
   wrapper_result_1.color = inner_result_1.color;
@@ -111,7 +111,7 @@
 };
 
 Particle data_load(uint offset) {
-  const Particle tint_symbol_13 = {asfloat(data.Load3((offset + 0u))), asfloat(data.Load((offset + 12u))), asfloat(data.Load4((offset + 16u))), asfloat(data.Load2((offset + 32u)))};
+  Particle tint_symbol_13 = {asfloat(data.Load3((offset + 0u))), asfloat(data.Load((offset + 12u))), asfloat(data.Load4((offset + 16u))), asfloat(data.Load2((offset + 32u)))};
   return tint_symbol_13;
 }
 
@@ -124,7 +124,7 @@
 
 void simulate_inner(uint3 GlobalInvocationID) {
   rand_seed = ((asfloat(sim_params[1]).xy * float2(GlobalInvocationID.xy)) * asfloat(sim_params[1]).zw);
-  const uint idx = GlobalInvocationID.x;
+  uint idx = GlobalInvocationID.x;
   Particle particle = data_load((48u * idx));
   data_store((48u * idx), particle);
 }
@@ -155,15 +155,15 @@
   uint2 tint_tmp;
   tex_out.GetDimensions(tint_tmp.x, tint_tmp.y);
   if (all((coord.xy < uint2(tint_tmp)))) {
-    const uint dst_offset = (coord.x << ((coord.y * ubo[0].x) & 31u));
-    const uint src_offset = ((coord.x - 2u) + ((coord.y >> 2u) * ubo[0].x));
-    const float a = asfloat(buf_in.Load((4u * (src_offset << 0u))));
-    const float b = asfloat(buf_in.Load((4u * (src_offset + 1u))));
-    const float c = asfloat(buf_in.Load((4u * ((src_offset + 1u) + ubo[0].x))));
-    const float d = asfloat(buf_in.Load((4u * ((src_offset + 1u) + ubo[0].x))));
-    const float sum = dot(float4(a, b, c, d), (1.0f).xxxx);
+    uint dst_offset = (coord.x << ((coord.y * ubo[0].x) & 31u));
+    uint src_offset = ((coord.x - 2u) + ((coord.y >> 2u) * ubo[0].x));
+    float a = asfloat(buf_in.Load((4u * (src_offset << 0u))));
+    float b = asfloat(buf_in.Load((4u * (src_offset + 1u))));
+    float c = asfloat(buf_in.Load((4u * ((src_offset + 1u) + ubo[0].x))));
+    float d = asfloat(buf_in.Load((4u * ((src_offset + 1u) + ubo[0].x))));
+    float sum = dot(float4(a, b, c, d), (1.0f).xxxx);
     buf_out.Store((4u * dst_offset), asuint(tint_float_mod(sum, 4.0f)));
-    const float4 probabilities = (float4(a, (a * b), ((a / b) + c), sum) + max(sum, 0.0f));
+    float4 probabilities = (float4(a, (a * b), ((a / b) + c), sum) + max(sum, 0.0f));
     tex_out[int2(coord.xy)] = probabilities;
   }
 }
diff --git a/test/tint/bug/chromium/1442551.wgsl.expected.dxc.hlsl b/test/tint/bug/chromium/1442551.wgsl.expected.dxc.hlsl
index 749f27a..22ea0d0 100644
--- a/test/tint/bug/chromium/1442551.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/chromium/1442551.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 void f() {
-  const int i = 1;
+  int i = 1;
   int b = int2(1, 2)[i];
 }
diff --git a/test/tint/bug/chromium/1442551.wgsl.expected.fxc.hlsl b/test/tint/bug/chromium/1442551.wgsl.expected.fxc.hlsl
index 749f27a..22ea0d0 100644
--- a/test/tint/bug/chromium/1442551.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/chromium/1442551.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 void f() {
-  const int i = 1;
+  int i = 1;
   int b = int2(1, 2)[i];
 }
diff --git a/test/tint/bug/dawn/947.wgsl.expected.dxc.hlsl b/test/tint/bug/dawn/947.wgsl.expected.dxc.hlsl
index 03a56bf..8259eb7 100644
--- a/test/tint/bug/dawn/947.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/dawn/947.wgsl.expected.dxc.hlsl
@@ -30,7 +30,7 @@
 }
 
 tint_symbol_2 vs_main(tint_symbol_1 tint_symbol) {
-  const VertexOutputs inner_result = vs_main_inner(tint_symbol.VertexIndex);
+  VertexOutputs inner_result = vs_main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.texcoords = inner_result.texcoords;
   wrapper_result.position = inner_result.position;
@@ -57,7 +57,7 @@
 }
 
 tint_symbol_5 fs_main(tint_symbol_4 tint_symbol_3) {
-  const float4 inner_result_1 = fs_main_inner(tint_symbol_3.texcoord);
+  float4 inner_result_1 = fs_main_inner(tint_symbol_3.texcoord);
   tint_symbol_5 wrapper_result_1 = (tint_symbol_5)0;
   wrapper_result_1.value = inner_result_1;
   if (tint_discarded) {
diff --git a/test/tint/bug/dawn/947.wgsl.expected.fxc.hlsl b/test/tint/bug/dawn/947.wgsl.expected.fxc.hlsl
index 03a56bf..8259eb7 100644
--- a/test/tint/bug/dawn/947.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/dawn/947.wgsl.expected.fxc.hlsl
@@ -30,7 +30,7 @@
 }
 
 tint_symbol_2 vs_main(tint_symbol_1 tint_symbol) {
-  const VertexOutputs inner_result = vs_main_inner(tint_symbol.VertexIndex);
+  VertexOutputs inner_result = vs_main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.texcoords = inner_result.texcoords;
   wrapper_result.position = inner_result.position;
@@ -57,7 +57,7 @@
 }
 
 tint_symbol_5 fs_main(tint_symbol_4 tint_symbol_3) {
-  const float4 inner_result_1 = fs_main_inner(tint_symbol_3.texcoord);
+  float4 inner_result_1 = fs_main_inner(tint_symbol_3.texcoord);
   tint_symbol_5 wrapper_result_1 = (tint_symbol_5)0;
   wrapper_result_1.value = inner_result_1;
   if (tint_discarded) {
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.dxc.hlsl b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.dxc.hlsl
index d3292e6..b2e6a2d 100644
--- a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 64u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       s.data[i] = 0;
     }
   }
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.fxc.hlsl b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.fxc.hlsl
index d3292e6..b2e6a2d 100644
--- a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 64u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       s.data[i] = 0;
     }
   }
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.dxc.hlsl b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.dxc.hlsl
index 4724d98..9a23617 100644
--- a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 64u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       s.data[i] = 0;
     }
   }
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.fxc.hlsl b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.fxc.hlsl
index 4724d98..9a23617 100644
--- a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 void f_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 64u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       s.data[i] = 0;
     }
   }
diff --git a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.dxc.hlsl b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.dxc.hlsl
index 563caf8..13e05d4 100644
--- a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.dxc.hlsl
@@ -10,14 +10,14 @@
 };
 
 float4 main_inner(float2 vUV) {
-  const float3 random = randomTexture.Sample(tint_symbol, vUV).rgb;
+  float3 random = randomTexture.Sample(tint_symbol, vUV).rgb;
   int i = 0;
   while (true) {
     if ((i < 1)) {
     } else {
       break;
     }
-    const float3 offset = float3((random.x).xxx);
+    float3 offset = float3((random.x).xxx);
     bool tint_tmp_2 = (offset.x < 0.0f);
     if (!tint_tmp_2) {
       tint_tmp_2 = (offset.y < 0.0f);
@@ -34,14 +34,14 @@
       i = (i + 1);
       continue;
     }
-    const float sampleDepth = 0.0f;
+    float sampleDepth = 0.0f;
     i = (i + 1);
   }
   return (1.0f).xxxx;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const float4 inner_result = main_inner(tint_symbol_1.vUV);
+  float4 inner_result = main_inner(tint_symbol_1.vUV);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.fxc.hlsl b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.fxc.hlsl
index 563caf8..13e05d4 100644
--- a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.fxc.hlsl
@@ -10,14 +10,14 @@
 };
 
 float4 main_inner(float2 vUV) {
-  const float3 random = randomTexture.Sample(tint_symbol, vUV).rgb;
+  float3 random = randomTexture.Sample(tint_symbol, vUV).rgb;
   int i = 0;
   while (true) {
     if ((i < 1)) {
     } else {
       break;
     }
-    const float3 offset = float3((random.x).xxx);
+    float3 offset = float3((random.x).xxx);
     bool tint_tmp_2 = (offset.x < 0.0f);
     if (!tint_tmp_2) {
       tint_tmp_2 = (offset.y < 0.0f);
@@ -34,14 +34,14 @@
       i = (i + 1);
       continue;
     }
-    const float sampleDepth = 0.0f;
+    float sampleDepth = 0.0f;
     i = (i + 1);
   }
   return (1.0f).xxxx;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const float4 inner_result = main_inner(tint_symbol_1.vUV);
+  float4 inner_result = main_inner(tint_symbol_1.vUV);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.dxc.hlsl b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.dxc.hlsl
index a9c5167..f8a5412 100644
--- a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 Particle particles_load(uint offset) {
-  const Particle tint_symbol_2 = {particles_load_1((offset + 0u)), asfloat(particles.Load((offset + 128u))), asfloat(particles.Load4((offset + 144u))), asfloat(particles.Load3((offset + 160u)))};
+  Particle tint_symbol_2 = {particles_load_1((offset + 0u)), asfloat(particles.Load((offset + 128u))), asfloat(particles.Load4((offset + 144u))), asfloat(particles.Load3((offset + 160u)))};
   return tint_symbol_2;
 }
 
diff --git a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.fxc.hlsl b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.fxc.hlsl
index a9c5167..f8a5412 100644
--- a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 Particle particles_load(uint offset) {
-  const Particle tint_symbol_2 = {particles_load_1((offset + 0u)), asfloat(particles.Load((offset + 128u))), asfloat(particles.Load4((offset + 144u))), asfloat(particles.Load3((offset + 160u)))};
+  Particle tint_symbol_2 = {particles_load_1((offset + 0u)), asfloat(particles.Load((offset + 128u))), asfloat(particles.Load4((offset + 144u))), asfloat(particles.Load3((offset + 160u)))};
   return tint_symbol_2;
 }
 
diff --git a/test/tint/bug/oss-fuzz/57795.spv.expected.dxc.hlsl b/test/tint/bug/oss-fuzz/57795.spv.expected.dxc.hlsl
index 1c045be..911602f 100644
--- a/test/tint/bug/oss-fuzz/57795.spv.expected.dxc.hlsl
+++ b/test/tint/bug/oss-fuzz/57795.spv.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 static float3 x_85[37] = (float3[37])0;
 
 void main_1() {
-  const uint x_88 = 58u;
+  uint x_88 = 58u;
   return;
 }
 
diff --git a/test/tint/bug/oss-fuzz/57795.spv.expected.fxc.hlsl b/test/tint/bug/oss-fuzz/57795.spv.expected.fxc.hlsl
index 1c045be..911602f 100644
--- a/test/tint/bug/oss-fuzz/57795.spv.expected.fxc.hlsl
+++ b/test/tint/bug/oss-fuzz/57795.spv.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 static float3 x_85[37] = (float3[37])0;
 
 void main_1() {
-  const uint x_88 = 58u;
+  uint x_88 = 58u;
   return;
 }
 
diff --git a/test/tint/bug/tint/1046.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1046.wgsl.expected.dxc.hlsl
index 52ec54a..b16ec7f 100644
--- a/test/tint/bug/tint/1046.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1046.wgsl.expected.dxc.hlsl
@@ -55,8 +55,8 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const FragmentInput tint_symbol_3 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.view_position, tint_symbol.normal, tint_symbol.uv, tint_symbol.color};
-  const FragmentOutput inner_result = main_inner(tint_symbol_3);
+  FragmentInput tint_symbol_3 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.view_position, tint_symbol.normal, tint_symbol.uv, tint_symbol.color};
+  FragmentOutput inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.color = inner_result.color;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1046.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1046.wgsl.expected.fxc.hlsl
index 52ec54a..b16ec7f 100644
--- a/test/tint/bug/tint/1046.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1046.wgsl.expected.fxc.hlsl
@@ -55,8 +55,8 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const FragmentInput tint_symbol_3 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.view_position, tint_symbol.normal, tint_symbol.uv, tint_symbol.color};
-  const FragmentOutput inner_result = main_inner(tint_symbol_3);
+  FragmentInput tint_symbol_3 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.view_position, tint_symbol.normal, tint_symbol.uv, tint_symbol.color};
+  FragmentOutput inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.color = inner_result.color;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1061.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1061.spvasm.expected.dxc.hlsl
index fda7bc0..6bfe3c7 100644
--- a/test/tint/bug/tint/1061.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1061.spvasm.expected.dxc.hlsl
@@ -25,12 +25,12 @@
 
 main_out main_inner() {
   main_1();
-  const main_out tint_symbol_1 = {x_GLF_color};
+  main_out tint_symbol_1 = {x_GLF_color};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const main_out inner_result = main_inner();
+  main_out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1061.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1061.spvasm.expected.fxc.hlsl
index fda7bc0..6bfe3c7 100644
--- a/test/tint/bug/tint/1061.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1061.spvasm.expected.fxc.hlsl
@@ -25,12 +25,12 @@
 
 main_out main_inner() {
   main_1();
-  const main_out tint_symbol_1 = {x_GLF_color};
+  main_out tint_symbol_1 = {x_GLF_color};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const main_out inner_result = main_inner();
+  main_out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.x_GLF_color_1 = inner_result.x_GLF_color_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1076.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1076.wgsl.expected.dxc.hlsl
index 71abaff..1030b4d 100644
--- a/test/tint/bug/tint/1076.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1076.wgsl.expected.dxc.hlsl
@@ -16,13 +16,13 @@
   if ((tint_symbol.mask == 0u)) {
     return tint_symbol;
   }
-  const FragIn tint_symbol_5 = {b, 1u};
+  FragIn tint_symbol_5 = {b, 1u};
   return tint_symbol_5;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const FragIn tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.mask};
-  const FragIn inner_result = main_inner(tint_symbol_4, tint_symbol_1.b);
+  FragIn tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.mask};
+  FragIn inner_result = main_inner(tint_symbol_4, tint_symbol_1.b);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.a = inner_result.a;
   wrapper_result.mask = inner_result.mask;
diff --git a/test/tint/bug/tint/1076.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1076.wgsl.expected.fxc.hlsl
index 71abaff..1030b4d 100644
--- a/test/tint/bug/tint/1076.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1076.wgsl.expected.fxc.hlsl
@@ -16,13 +16,13 @@
   if ((tint_symbol.mask == 0u)) {
     return tint_symbol;
   }
-  const FragIn tint_symbol_5 = {b, 1u};
+  FragIn tint_symbol_5 = {b, 1u};
   return tint_symbol_5;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const FragIn tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.mask};
-  const FragIn inner_result = main_inner(tint_symbol_4, tint_symbol_1.b);
+  FragIn tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.mask};
+  FragIn inner_result = main_inner(tint_symbol_4, tint_symbol_1.b);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.a = inner_result.a;
   wrapper_result.mask = inner_result.mask;
diff --git a/test/tint/bug/tint/1081.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1081.wgsl.expected.dxc.hlsl
index 0f7e2c2..88b5479 100644
--- a/test/tint/bug/tint/1081.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1081.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 int main_inner(int3 x) {
   int y = x.x;
   while (true) {
-    const int r = f(y);
+    int r = f(y);
     if ((r == 0)) {
       break;
     }
@@ -26,7 +26,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const int inner_result = main_inner(tint_symbol.x);
+  int inner_result = main_inner(tint_symbol.x);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/bug/tint/1081.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1081.wgsl.expected.fxc.hlsl
index 0f7e2c2..88b5479 100644
--- a/test/tint/bug/tint/1081.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1081.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 int main_inner(int3 x) {
   int y = x.x;
   while (true) {
-    const int r = f(y);
+    int r = f(y);
     if ((r == 0)) {
       break;
     }
@@ -26,7 +26,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const int inner_result = main_inner(tint_symbol.x);
+  int inner_result = main_inner(tint_symbol.x);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/bug/tint/1083.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1083.wgsl.expected.dxc.hlsl
index 2ce1859..dce5a1f 100644
--- a/test/tint/bug/tint/1083.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1083.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int c = tint_div(a, b);
+  int a = 1;
+  int b = 0;
+  int c = tint_div(a, b);
   return;
 }
diff --git a/test/tint/bug/tint/1083.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1083.wgsl.expected.fxc.hlsl
index 2ce1859..dce5a1f 100644
--- a/test/tint/bug/tint/1083.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1083.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int c = tint_div(a, b);
+  int a = 1;
+  int b = 0;
+  int c = tint_div(a, b);
   return;
 }
diff --git a/test/tint/bug/tint/1088.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1088.spvasm.expected.dxc.hlsl
index cc9a046..4a07c0a 100644
--- a/test/tint/bug/tint/1088.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1088.spvasm.expected.dxc.hlsl
@@ -47,12 +47,12 @@
   uv = uv_param;
   normal = normal_param;
   main_1();
-  const main_out tint_symbol_3 = {gl_Position, vUV};
+  main_out tint_symbol_3 = {gl_Position, vUV};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.position_1_param, tint_symbol.uv_param, tint_symbol.normal_param);
+  main_out inner_result = main_inner(tint_symbol.position_1_param, tint_symbol.uv_param, tint_symbol.normal_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.gl_Position = inner_result.gl_Position;
   wrapper_result.vUV_1 = inner_result.vUV_1;
diff --git a/test/tint/bug/tint/1088.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1088.spvasm.expected.fxc.hlsl
index cc9a046..4a07c0a 100644
--- a/test/tint/bug/tint/1088.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1088.spvasm.expected.fxc.hlsl
@@ -47,12 +47,12 @@
   uv = uv_param;
   normal = normal_param;
   main_1();
-  const main_out tint_symbol_3 = {gl_Position, vUV};
+  main_out tint_symbol_3 = {gl_Position, vUV};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.position_1_param, tint_symbol.uv_param, tint_symbol.normal_param);
+  main_out inner_result = main_inner(tint_symbol.position_1_param, tint_symbol.uv_param, tint_symbol.normal_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.gl_Position = inner_result.gl_Position;
   wrapper_result.vUV_1 = inner_result.vUV_1;
diff --git a/test/tint/bug/tint/1113.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1113.wgsl.expected.dxc.hlsl
index 24d8e6d..9cdf473 100644
--- a/test/tint/bug/tint/1113.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1113.wgsl.expected.dxc.hlsl
@@ -139,7 +139,7 @@
   uint numTriangles = countersatomicLoad((4u * voxelIndex));
   int offset = -1;
   if ((numTriangles > 0u)) {
-    const uint tint_symbol = dbgatomicAdd(0u, numTriangles);
+    uint tint_symbol = dbgatomicAdd(0u, numTriangles);
     offset = int(tint_symbol);
   }
   LUTatomicStore((4u * voxelIndex), offset);
diff --git a/test/tint/bug/tint/1113.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1113.wgsl.expected.fxc.hlsl
index 24d8e6d..9cdf473 100644
--- a/test/tint/bug/tint/1113.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1113.wgsl.expected.fxc.hlsl
@@ -139,7 +139,7 @@
   uint numTriangles = countersatomicLoad((4u * voxelIndex));
   int offset = -1;
   if ((numTriangles > 0u)) {
-    const uint tint_symbol = dbgatomicAdd(0u, numTriangles);
+    uint tint_symbol = dbgatomicAdd(0u, numTriangles);
     offset = int(tint_symbol);
   }
   LUTatomicStore((4u * voxelIndex), offset);
diff --git a/test/tint/bug/tint/1118.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1118.wgsl.expected.dxc.hlsl
index 8a35cbe..23697e6 100644
--- a/test/tint/bug/tint/1118.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1118.wgsl.expected.dxc.hlsl
@@ -30,29 +30,29 @@
   float3 finalDiffuse = float3(0.0f, 0.0f, 0.0f);
   float3 finalSpecular = float3(0.0f, 0.0f, 0.0f);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
-  const float x_9 = fClipDistance3;
+  float x_9 = fClipDistance3;
   if ((x_9 > 0.0f)) {
     tint_discarded = true;
   }
-  const float x_17 = fClipDistance4;
+  float x_17 = fClipDistance4;
   if ((x_17 > 0.0f)) {
     tint_discarded = true;
   }
-  const float4 x_34 = asfloat(x_29[0]);
-  const float3 x_38 = (0.0f).xxx;
+  float4 x_34 = asfloat(x_29[0]);
+  float3 x_38 = (0.0f).xxx;
   viewDirectionW = normalize((float3(x_34.x, x_34.y, x_34.z) - x_38));
   baseColor = (1.0f).xxxx;
-  const float4 x_52 = asfloat(x_49[0]);
+  float4 x_52 = asfloat(x_49[0]);
   diffuseColor = float3(x_52.x, x_52.y, x_52.z);
-  const float x_60 = asfloat(x_49[0].w);
+  float x_60 = asfloat(x_49[0].w);
   alpha = x_60;
-  const float3 x_62 = (0.0f).xxx;
-  const float3 x_64 = (0.0f).xxx;
+  float3 x_62 = (0.0f).xxx;
+  float3 x_64 = (0.0f).xxx;
   uvOffset = (0.0f).xx;
-  const float4 x_74 = (0.0f).xxxx;
-  const float4 x_76 = baseColor;
-  const float3 x_78 = (float3(x_76.x, x_76.y, x_76.z) * float3(x_74.x, x_74.y, x_74.z));
-  const float4 x_79 = baseColor;
+  float4 x_74 = (0.0f).xxxx;
+  float4 x_76 = baseColor;
+  float3 x_78 = (float3(x_76.x, x_76.y, x_76.z) * float3(x_74.x, x_74.y, x_74.z));
+  float4 x_79 = baseColor;
   baseColor = float4(x_78.x, x_78.y, x_78.z, x_79.w);
   baseAmbientColor = (1.0f).xxx;
   glossiness = 0.0f;
@@ -60,31 +60,31 @@
   shadow = 1.0f;
   refractionColor = float4(0.0f, 0.0f, 0.0f, 1.0f);
   reflectionColor = float4(0.0f, 0.0f, 0.0f, 1.0f);
-  const float3 x_94 = asfloat(x_49[2].xyz);
+  float3 x_94 = asfloat(x_49[2].xyz);
   emissiveColor = x_94;
-  const float3 x_96 = diffuseBase;
-  const float3 x_97 = diffuseColor;
-  const float3 x_99 = emissiveColor;
-  const float3 x_103 = asfloat(x_49[1].xyz);
-  const float4 x_108 = baseColor;
+  float3 x_96 = diffuseBase;
+  float3 x_97 = diffuseColor;
+  float3 x_99 = emissiveColor;
+  float3 x_103 = asfloat(x_49[1].xyz);
+  float4 x_108 = baseColor;
   finalDiffuse = (clamp((((x_96 * x_97) + x_99) + x_103), (0.0f).xxx, (1.0f).xxx) * float3(x_108.x, x_108.y, x_108.z));
   finalSpecular = (0.0f).xxx;
-  const float3 x_113 = finalDiffuse;
-  const float3 x_114 = baseAmbientColor;
-  const float3 x_116 = finalSpecular;
-  const float4 x_118 = reflectionColor;
-  const float4 x_121 = refractionColor;
-  const float3 x_123 = ((((x_113 * x_114) + x_116) + float3(x_118.x, x_118.y, x_118.z)) + float3(x_121.x, x_121.y, x_121.z));
-  const float x_124 = alpha;
+  float3 x_113 = finalDiffuse;
+  float3 x_114 = baseAmbientColor;
+  float3 x_116 = finalSpecular;
+  float4 x_118 = reflectionColor;
+  float4 x_121 = refractionColor;
+  float3 x_123 = ((((x_113 * x_114) + x_116) + float3(x_118.x, x_118.y, x_118.z)) + float3(x_121.x, x_121.y, x_121.z));
+  float x_124 = alpha;
   color = float4(x_123.x, x_123.y, x_123.z, x_124);
-  const float4 x_129 = color;
-  const float3 x_132 = max(float3(x_129.x, x_129.y, x_129.z), (0.0f).xxx);
-  const float4 x_133 = color;
+  float4 x_129 = color;
+  float3 x_132 = max(float3(x_129.x, x_129.y, x_129.z), (0.0f).xxx);
+  float4 x_133 = color;
   color = float4(x_132.x, x_132.y, x_132.z, x_133.w);
-  const float x_140 = asfloat(x_137[0].x);
-  const float x_142 = color.w;
+  float x_140 = asfloat(x_137[0].x);
+  float x_142 = color.w;
   color.w = (x_142 * x_140);
-  const float4 x_147 = color;
+  float4 x_147 = color;
   glFragColor = x_147;
   return;
 }
@@ -104,12 +104,12 @@
   fClipDistance3 = fClipDistance3_param;
   fClipDistance4 = fClipDistance4_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.fClipDistance3_param, tint_symbol.fClipDistance4_param);
+  main_out inner_result = main_inner(tint_symbol.fClipDistance3_param, tint_symbol.fClipDistance4_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   if (tint_discarded) {
diff --git a/test/tint/bug/tint/1118.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1118.wgsl.expected.fxc.hlsl
index 8a35cbe..23697e6 100644
--- a/test/tint/bug/tint/1118.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1118.wgsl.expected.fxc.hlsl
@@ -30,29 +30,29 @@
   float3 finalDiffuse = float3(0.0f, 0.0f, 0.0f);
   float3 finalSpecular = float3(0.0f, 0.0f, 0.0f);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
-  const float x_9 = fClipDistance3;
+  float x_9 = fClipDistance3;
   if ((x_9 > 0.0f)) {
     tint_discarded = true;
   }
-  const float x_17 = fClipDistance4;
+  float x_17 = fClipDistance4;
   if ((x_17 > 0.0f)) {
     tint_discarded = true;
   }
-  const float4 x_34 = asfloat(x_29[0]);
-  const float3 x_38 = (0.0f).xxx;
+  float4 x_34 = asfloat(x_29[0]);
+  float3 x_38 = (0.0f).xxx;
   viewDirectionW = normalize((float3(x_34.x, x_34.y, x_34.z) - x_38));
   baseColor = (1.0f).xxxx;
-  const float4 x_52 = asfloat(x_49[0]);
+  float4 x_52 = asfloat(x_49[0]);
   diffuseColor = float3(x_52.x, x_52.y, x_52.z);
-  const float x_60 = asfloat(x_49[0].w);
+  float x_60 = asfloat(x_49[0].w);
   alpha = x_60;
-  const float3 x_62 = (0.0f).xxx;
-  const float3 x_64 = (0.0f).xxx;
+  float3 x_62 = (0.0f).xxx;
+  float3 x_64 = (0.0f).xxx;
   uvOffset = (0.0f).xx;
-  const float4 x_74 = (0.0f).xxxx;
-  const float4 x_76 = baseColor;
-  const float3 x_78 = (float3(x_76.x, x_76.y, x_76.z) * float3(x_74.x, x_74.y, x_74.z));
-  const float4 x_79 = baseColor;
+  float4 x_74 = (0.0f).xxxx;
+  float4 x_76 = baseColor;
+  float3 x_78 = (float3(x_76.x, x_76.y, x_76.z) * float3(x_74.x, x_74.y, x_74.z));
+  float4 x_79 = baseColor;
   baseColor = float4(x_78.x, x_78.y, x_78.z, x_79.w);
   baseAmbientColor = (1.0f).xxx;
   glossiness = 0.0f;
@@ -60,31 +60,31 @@
   shadow = 1.0f;
   refractionColor = float4(0.0f, 0.0f, 0.0f, 1.0f);
   reflectionColor = float4(0.0f, 0.0f, 0.0f, 1.0f);
-  const float3 x_94 = asfloat(x_49[2].xyz);
+  float3 x_94 = asfloat(x_49[2].xyz);
   emissiveColor = x_94;
-  const float3 x_96 = diffuseBase;
-  const float3 x_97 = diffuseColor;
-  const float3 x_99 = emissiveColor;
-  const float3 x_103 = asfloat(x_49[1].xyz);
-  const float4 x_108 = baseColor;
+  float3 x_96 = diffuseBase;
+  float3 x_97 = diffuseColor;
+  float3 x_99 = emissiveColor;
+  float3 x_103 = asfloat(x_49[1].xyz);
+  float4 x_108 = baseColor;
   finalDiffuse = (clamp((((x_96 * x_97) + x_99) + x_103), (0.0f).xxx, (1.0f).xxx) * float3(x_108.x, x_108.y, x_108.z));
   finalSpecular = (0.0f).xxx;
-  const float3 x_113 = finalDiffuse;
-  const float3 x_114 = baseAmbientColor;
-  const float3 x_116 = finalSpecular;
-  const float4 x_118 = reflectionColor;
-  const float4 x_121 = refractionColor;
-  const float3 x_123 = ((((x_113 * x_114) + x_116) + float3(x_118.x, x_118.y, x_118.z)) + float3(x_121.x, x_121.y, x_121.z));
-  const float x_124 = alpha;
+  float3 x_113 = finalDiffuse;
+  float3 x_114 = baseAmbientColor;
+  float3 x_116 = finalSpecular;
+  float4 x_118 = reflectionColor;
+  float4 x_121 = refractionColor;
+  float3 x_123 = ((((x_113 * x_114) + x_116) + float3(x_118.x, x_118.y, x_118.z)) + float3(x_121.x, x_121.y, x_121.z));
+  float x_124 = alpha;
   color = float4(x_123.x, x_123.y, x_123.z, x_124);
-  const float4 x_129 = color;
-  const float3 x_132 = max(float3(x_129.x, x_129.y, x_129.z), (0.0f).xxx);
-  const float4 x_133 = color;
+  float4 x_129 = color;
+  float3 x_132 = max(float3(x_129.x, x_129.y, x_129.z), (0.0f).xxx);
+  float4 x_133 = color;
   color = float4(x_132.x, x_132.y, x_132.z, x_133.w);
-  const float x_140 = asfloat(x_137[0].x);
-  const float x_142 = color.w;
+  float x_140 = asfloat(x_137[0].x);
+  float x_142 = color.w;
   color.w = (x_142 * x_140);
-  const float4 x_147 = color;
+  float4 x_147 = color;
   glFragColor = x_147;
   return;
 }
@@ -104,12 +104,12 @@
   fClipDistance3 = fClipDistance3_param;
   fClipDistance4 = fClipDistance4_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.fClipDistance3_param, tint_symbol.fClipDistance4_param);
+  main_out inner_result = main_inner(tint_symbol.fClipDistance3_param, tint_symbol.fClipDistance4_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   if (tint_discarded) {
diff --git a/test/tint/bug/tint/1121.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1121.wgsl.expected.dxc.hlsl
index 2ef86cf..5b2073e 100644
--- a/test/tint/bug/tint/1121.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1121.wgsl.expected.dxc.hlsl
@@ -50,9 +50,9 @@
   float4 frustumPlanes[6] = (float4[6])0;
   frustumPlanes[4] = float4(0.0f, 0.0f, -1.0f, viewNear);
   frustumPlanes[5] = float4(0.0f, 0.0f, 1.0f, -(viewFar));
-  const int TILE_SIZE = 16;
-  const int TILE_COUNT_X = 2;
-  const int TILE_COUNT_Y = 2;
+  int TILE_SIZE = 16;
+  int TILE_COUNT_X = 2;
+  int TILE_COUNT_Y = 2;
   {
     for(int y = 0; (y < TILE_COUNT_Y); y = (y + 1)) {
       {
diff --git a/test/tint/bug/tint/1121.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1121.wgsl.expected.fxc.hlsl
index 2ef86cf..5b2073e 100644
--- a/test/tint/bug/tint/1121.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1121.wgsl.expected.fxc.hlsl
@@ -50,9 +50,9 @@
   float4 frustumPlanes[6] = (float4[6])0;
   frustumPlanes[4] = float4(0.0f, 0.0f, -1.0f, viewNear);
   frustumPlanes[5] = float4(0.0f, 0.0f, 1.0f, -(viewFar));
-  const int TILE_SIZE = 16;
-  const int TILE_COUNT_X = 2;
-  const int TILE_COUNT_Y = 2;
+  int TILE_SIZE = 16;
+  int TILE_COUNT_X = 2;
+  int TILE_COUNT_Y = 2;
   {
     for(int y = 0; (y < TILE_COUNT_Y); y = (y + 1)) {
       {
diff --git a/test/tint/bug/tint/1183.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1183.wgsl.expected.dxc.hlsl
index 457f241..4e129bd 100644
--- a/test/tint/bug/tint/1183.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1183.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol f() {
-  const float4 inner_result = f_inner();
+  float4 inner_result = f_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1183.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1183.wgsl.expected.fxc.hlsl
index 457f241..4e129bd 100644
--- a/test/tint/bug/tint/1183.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1183.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol f() {
-  const float4 inner_result = f_inner();
+  float4 inner_result = f_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1321.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1321.wgsl.expected.dxc.hlsl
index fed870b..d32425b 100644
--- a/test/tint/bug/tint/1321.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1321.wgsl.expected.dxc.hlsl
@@ -4,10 +4,10 @@
 
 void main() {
   float arr[4] = (float[4])0;
-  const int a_save = foo();
+  int a_save = foo();
   {
     for(; ; ) {
-      const float x = arr[a_save];
+      float x = arr[a_save];
       break;
     }
   }
diff --git a/test/tint/bug/tint/1321.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1321.wgsl.expected.fxc.hlsl
index fed870b..d32425b 100644
--- a/test/tint/bug/tint/1321.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1321.wgsl.expected.fxc.hlsl
@@ -4,10 +4,10 @@
 
 void main() {
   float arr[4] = (float[4])0;
-  const int a_save = foo();
+  int a_save = foo();
   {
     for(; ; ) {
-      const float x = arr[a_save];
+      float x = arr[a_save];
       break;
     }
   }
diff --git a/test/tint/bug/tint/1332.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1332.wgsl.expected.dxc.hlsl
index f89bdcd..177a51b 100644
--- a/test/tint/bug/tint/1332.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1332.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void compute_main() {
-  const float a = 1.24000000953674316406f;
+  float a = 1.24000000953674316406f;
   float b = max(a, 1.17549435e-38f);
   return;
 }
diff --git a/test/tint/bug/tint/1332.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1332.wgsl.expected.fxc.hlsl
index f89bdcd..177a51b 100644
--- a/test/tint/bug/tint/1332.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1332.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void compute_main() {
-  const float a = 1.24000000953674316406f;
+  float a = 1.24000000953674316406f;
   float b = max(a, 1.17549435e-38f);
   return;
 }
diff --git a/test/tint/bug/tint/1474-a.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1474-a.wgsl.expected.dxc.hlsl
index 9032ac2..e02e68e 100644
--- a/test/tint/bug/tint/1474-a.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1474-a.wgsl.expected.dxc.hlsl
@@ -7,6 +7,6 @@
       return;
     }
   }
-  const int x = 5;
+  int x = 5;
   return;
 }
diff --git a/test/tint/bug/tint/1474-a.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1474-a.wgsl.expected.fxc.hlsl
index 9032ac2..e02e68e 100644
--- a/test/tint/bug/tint/1474-a.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1474-a.wgsl.expected.fxc.hlsl
@@ -7,6 +7,6 @@
       return;
     }
   }
-  const int x = 5;
+  int x = 5;
   return;
 }
diff --git a/test/tint/bug/tint/1474-b.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1474-b.wgsl.expected.dxc.hlsl
index a18972c..f3947c7 100644
--- a/test/tint/bug/tint/1474-b.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1474-b.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 [numthreads(1, 1, 1)]
 void main() {
   return;
-  const bool non_uniform_cond = (asint(non_uniform_value.Load(0u)) == 0);
+  bool non_uniform_cond = (asint(non_uniform_value.Load(0u)) == 0);
   if (non_uniform_cond) {
     GroupMemoryBarrierWithGroupSync();
   }
diff --git a/test/tint/bug/tint/1474-b.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1474-b.wgsl.expected.fxc.hlsl
index a18972c..f3947c7 100644
--- a/test/tint/bug/tint/1474-b.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1474-b.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 [numthreads(1, 1, 1)]
 void main() {
   return;
-  const bool non_uniform_cond = (asint(non_uniform_value.Load(0u)) == 0);
+  bool non_uniform_cond = (asint(non_uniform_value.Load(0u)) == 0);
   if (non_uniform_cond) {
     GroupMemoryBarrierWithGroupSync();
   }
diff --git a/test/tint/bug/tint/1509.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1509.wgsl.expected.dxc.hlsl
index 2f03ad7..7906a9b 100644
--- a/test/tint/bug/tint/1509.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1509.wgsl.expected.dxc.hlsl
@@ -2013,7 +2013,7 @@
 }
 
 tint_symbol main() {
-  const uint inner_result = main_inner();
+  uint inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1509.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1509.wgsl.expected.fxc.hlsl
index 2f03ad7..7906a9b 100644
--- a/test/tint/bug/tint/1509.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1509.wgsl.expected.fxc.hlsl
@@ -2013,7 +2013,7 @@
 }
 
 tint_symbol main() {
-  const uint inner_result = main_inner();
+  uint inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1520.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1520.spvasm.expected.dxc.hlsl
index 991f69b..ad77d59 100644
--- a/test/tint/bug/tint/1520.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1520.spvasm.expected.dxc.hlsl
@@ -23,7 +23,7 @@
   bool x_55 = false;
   bool x_65 = false;
   bool x_66 = false;
-  const int x_27 = tint_ftoi(asfloat(x_4[1].x));
+  int x_27 = tint_ftoi(asfloat(x_4[1].x));
   unknown = x_27;
   ok = true;
   x_41 = false;
@@ -32,15 +32,15 @@
     x_41 = x_40;
   }
   ok = x_41;
-  const int4 x_44 = int4((x_27).xxxx);
+  int4 x_44 = int4((x_27).xxxx);
   val = x_44;
-  const int4 x_47 = (x_44 + (1).xxxx);
+  int4 x_47 = (x_44 + (1).xxxx);
   val = x_47;
-  const int4 x_48 = (x_47 - (1).xxxx);
+  int4 x_48 = (x_47 - (1).xxxx);
   val = x_48;
-  const int4 x_49 = (x_48 + (1).xxxx);
+  int4 x_49 = (x_48 + (1).xxxx);
   val = x_49;
-  const int4 x_50 = (x_49 - (1).xxxx);
+  int4 x_50 = (x_49 - (1).xxxx);
   val = x_50;
   x_55 = false;
   if (x_41) {
@@ -48,13 +48,13 @@
     x_55 = x_54;
   }
   ok = x_55;
-  const int4 x_58 = (x_50 * (2).xxxx);
+  int4 x_58 = (x_50 * (2).xxxx);
   val = x_58;
-  const int4 x_59 = tint_div(x_58, (2).xxxx);
+  int4 x_59 = tint_div(x_58, (2).xxxx);
   val = x_59;
-  const int4 x_60 = (x_59 * (2).xxxx);
+  int4 x_60 = (x_59 * (2).xxxx);
   val = x_60;
-  const int4 x_61 = tint_div(x_60, (2).xxxx);
+  int4 x_61 = tint_div(x_60, (2).xxxx);
   val = x_61;
   x_66 = false;
   if (x_55) {
@@ -81,7 +81,7 @@
   bool x_114 = false;
   bool x_115 = false;
   outputColor_S0 = vcolor_S0;
-  const float x_77 = asfloat(x_4[1].x);
+  float x_77 = asfloat(x_4[1].x);
   x_8_unknown = x_77;
   x_9_ok = true;
   x_87 = false;
@@ -90,15 +90,15 @@
     x_87 = x_86;
   }
   x_9_ok = x_87;
-  const float4 x_89 = float4((x_77).xxxx);
+  float4 x_89 = float4((x_77).xxxx);
   x_10_val = x_89;
-  const float4 x_92 = (x_89 + (1.0f).xxxx);
+  float4 x_92 = (x_89 + (1.0f).xxxx);
   x_10_val = x_92;
-  const float4 x_93 = (x_92 - (1.0f).xxxx);
+  float4 x_93 = (x_92 - (1.0f).xxxx);
   x_10_val = x_93;
-  const float4 x_94 = (x_93 + (1.0f).xxxx);
+  float4 x_94 = (x_93 + (1.0f).xxxx);
   x_10_val = x_94;
-  const float4 x_95 = (x_94 - (1.0f).xxxx);
+  float4 x_95 = (x_94 - (1.0f).xxxx);
   x_10_val = x_95;
   x_100 = false;
   if (x_87) {
@@ -106,13 +106,13 @@
     x_100 = x_99;
   }
   x_9_ok = x_100;
-  const float4 x_103 = (x_95 * (2.0f).xxxx);
+  float4 x_103 = (x_95 * (2.0f).xxxx);
   x_10_val = x_103;
-  const float4 x_104 = (x_103 / (2.0f).xxxx);
+  float4 x_104 = (x_103 / (2.0f).xxxx);
   x_10_val = x_104;
-  const float4 x_105 = (x_104 * (2.0f).xxxx);
+  float4 x_105 = (x_104 * (2.0f).xxxx);
   x_10_val = x_105;
-  const float4 x_106 = (x_105 / (2.0f).xxxx);
+  float4 x_106 = (x_105 / (2.0f).xxxx);
   x_10_val = x_106;
   x_111 = false;
   if (x_100) {
@@ -130,7 +130,7 @@
   } else {
     x_116 = asfloat(x_4[2]);
   }
-  const float4 x_125 = x_116;
+  float4 x_125 = x_116;
   output_S1 = x_116;
   sk_FragColor = x_125;
   return;
@@ -151,12 +151,12 @@
   sk_Clockwise = sk_Clockwise_param;
   vcolor_S0 = vcolor_S0_param;
   main_1();
-  const main_out tint_symbol_3 = {sk_FragColor};
+  main_out tint_symbol_3 = {sk_FragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.sk_Clockwise_param, tint_symbol.vcolor_S0_param);
+  main_out inner_result = main_inner(tint_symbol.sk_Clockwise_param, tint_symbol.vcolor_S0_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.sk_FragColor_1 = inner_result.sk_FragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1520.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1520.spvasm.expected.fxc.hlsl
index 991f69b..ad77d59 100644
--- a/test/tint/bug/tint/1520.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1520.spvasm.expected.fxc.hlsl
@@ -23,7 +23,7 @@
   bool x_55 = false;
   bool x_65 = false;
   bool x_66 = false;
-  const int x_27 = tint_ftoi(asfloat(x_4[1].x));
+  int x_27 = tint_ftoi(asfloat(x_4[1].x));
   unknown = x_27;
   ok = true;
   x_41 = false;
@@ -32,15 +32,15 @@
     x_41 = x_40;
   }
   ok = x_41;
-  const int4 x_44 = int4((x_27).xxxx);
+  int4 x_44 = int4((x_27).xxxx);
   val = x_44;
-  const int4 x_47 = (x_44 + (1).xxxx);
+  int4 x_47 = (x_44 + (1).xxxx);
   val = x_47;
-  const int4 x_48 = (x_47 - (1).xxxx);
+  int4 x_48 = (x_47 - (1).xxxx);
   val = x_48;
-  const int4 x_49 = (x_48 + (1).xxxx);
+  int4 x_49 = (x_48 + (1).xxxx);
   val = x_49;
-  const int4 x_50 = (x_49 - (1).xxxx);
+  int4 x_50 = (x_49 - (1).xxxx);
   val = x_50;
   x_55 = false;
   if (x_41) {
@@ -48,13 +48,13 @@
     x_55 = x_54;
   }
   ok = x_55;
-  const int4 x_58 = (x_50 * (2).xxxx);
+  int4 x_58 = (x_50 * (2).xxxx);
   val = x_58;
-  const int4 x_59 = tint_div(x_58, (2).xxxx);
+  int4 x_59 = tint_div(x_58, (2).xxxx);
   val = x_59;
-  const int4 x_60 = (x_59 * (2).xxxx);
+  int4 x_60 = (x_59 * (2).xxxx);
   val = x_60;
-  const int4 x_61 = tint_div(x_60, (2).xxxx);
+  int4 x_61 = tint_div(x_60, (2).xxxx);
   val = x_61;
   x_66 = false;
   if (x_55) {
@@ -81,7 +81,7 @@
   bool x_114 = false;
   bool x_115 = false;
   outputColor_S0 = vcolor_S0;
-  const float x_77 = asfloat(x_4[1].x);
+  float x_77 = asfloat(x_4[1].x);
   x_8_unknown = x_77;
   x_9_ok = true;
   x_87 = false;
@@ -90,15 +90,15 @@
     x_87 = x_86;
   }
   x_9_ok = x_87;
-  const float4 x_89 = float4((x_77).xxxx);
+  float4 x_89 = float4((x_77).xxxx);
   x_10_val = x_89;
-  const float4 x_92 = (x_89 + (1.0f).xxxx);
+  float4 x_92 = (x_89 + (1.0f).xxxx);
   x_10_val = x_92;
-  const float4 x_93 = (x_92 - (1.0f).xxxx);
+  float4 x_93 = (x_92 - (1.0f).xxxx);
   x_10_val = x_93;
-  const float4 x_94 = (x_93 + (1.0f).xxxx);
+  float4 x_94 = (x_93 + (1.0f).xxxx);
   x_10_val = x_94;
-  const float4 x_95 = (x_94 - (1.0f).xxxx);
+  float4 x_95 = (x_94 - (1.0f).xxxx);
   x_10_val = x_95;
   x_100 = false;
   if (x_87) {
@@ -106,13 +106,13 @@
     x_100 = x_99;
   }
   x_9_ok = x_100;
-  const float4 x_103 = (x_95 * (2.0f).xxxx);
+  float4 x_103 = (x_95 * (2.0f).xxxx);
   x_10_val = x_103;
-  const float4 x_104 = (x_103 / (2.0f).xxxx);
+  float4 x_104 = (x_103 / (2.0f).xxxx);
   x_10_val = x_104;
-  const float4 x_105 = (x_104 * (2.0f).xxxx);
+  float4 x_105 = (x_104 * (2.0f).xxxx);
   x_10_val = x_105;
-  const float4 x_106 = (x_105 / (2.0f).xxxx);
+  float4 x_106 = (x_105 / (2.0f).xxxx);
   x_10_val = x_106;
   x_111 = false;
   if (x_100) {
@@ -130,7 +130,7 @@
   } else {
     x_116 = asfloat(x_4[2]);
   }
-  const float4 x_125 = x_116;
+  float4 x_125 = x_116;
   output_S1 = x_116;
   sk_FragColor = x_125;
   return;
@@ -151,12 +151,12 @@
   sk_Clockwise = sk_Clockwise_param;
   vcolor_S0 = vcolor_S0_param;
   main_1();
-  const main_out tint_symbol_3 = {sk_FragColor};
+  main_out tint_symbol_3 = {sk_FragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.sk_Clockwise_param, tint_symbol.vcolor_S0_param);
+  main_out inner_result = main_inner(tint_symbol.sk_Clockwise_param, tint_symbol.vcolor_S0_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.sk_FragColor_1 = inner_result.sk_FragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1534.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1534.wgsl.expected.dxc.hlsl
index 4286856..73e1f6c 100644
--- a/test/tint/bug/tint/1534.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1534.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint l = dot(i[0].xyz, i[0].xyz);
+  uint l = dot(i[0].xyz, i[0].xyz);
   j.Store(0u, asuint(i[0].x));
   return;
 }
diff --git a/test/tint/bug/tint/1534.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1534.wgsl.expected.fxc.hlsl
index 4286856..73e1f6c 100644
--- a/test/tint/bug/tint/1534.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1534.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint l = dot(i[0].xyz, i[0].xyz);
+  uint l = dot(i[0].xyz, i[0].xyz);
   j.Store(0u, asuint(i[0].x));
   return;
 }
diff --git a/test/tint/bug/tint/1538.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1538.wgsl.expected.dxc.hlsl
index c0400ff..c22a1b9 100644
--- a/test/tint/bug/tint/1538.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1538.wgsl.expected.dxc.hlsl
@@ -9,7 +9,7 @@
     g();
     break;
   }
-  const int o = g();
+  int o = g();
   return 0;
 }
 
diff --git a/test/tint/bug/tint/1538.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1538.wgsl.expected.fxc.hlsl
index c0400ff..c22a1b9 100644
--- a/test/tint/bug/tint/1538.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1538.wgsl.expected.fxc.hlsl
@@ -9,7 +9,7 @@
     g();
     break;
   }
-  const int o = g();
+  int o = g();
   return 0;
 }
 
diff --git a/test/tint/bug/tint/1541.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1541.wgsl.expected.dxc.hlsl
index 33378ef..b59aa17 100644
--- a/test/tint/bug/tint/1541.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1541.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const bool a = true;
+  bool a = true;
   bool v = (false ? true : (a & true));
   return;
 }
diff --git a/test/tint/bug/tint/1541.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1541.wgsl.expected.fxc.hlsl
index 33378ef..b59aa17 100644
--- a/test/tint/bug/tint/1541.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1541.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const bool a = true;
+  bool a = true;
   bool v = (false ? true : (a & true));
   return;
 }
diff --git a/test/tint/bug/tint/1542.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1542.wgsl.expected.dxc.hlsl
index 889add8..5e8d3ee 100644
--- a/test/tint/bug/tint/1542.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1542.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int3 temp = (asint(u_input[0].xyz) << (0u).xxx);
+  int3 temp = (asint(u_input[0].xyz) << (0u).xxx);
   return;
 }
diff --git a/test/tint/bug/tint/1542.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1542.wgsl.expected.fxc.hlsl
index 889add8..5e8d3ee 100644
--- a/test/tint/bug/tint/1542.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1542.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int3 temp = (asint(u_input[0].xyz) << (0u).xxx);
+  int3 temp = (asint(u_input[0].xyz) << (0u).xxx);
   return;
 }
diff --git a/test/tint/bug/tint/1563.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1563.wgsl.expected.dxc.hlsl
index 55c2cc1..6e399e0 100644
--- a/test/tint/bug/tint/1563.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1563.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 }
 
 float foo() {
-  const int oob = 99;
-  const float b = (0.0f).xxxx[min(uint(oob), 3u)];
+  int oob = 99;
+  float b = (0.0f).xxxx[min(uint(oob), 3u)];
   float4 v = float4(0.0f, 0.0f, 0.0f, 0.0f);
   set_vector_element(v, min(uint(oob), 3u), b);
   return b;
diff --git a/test/tint/bug/tint/1563.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1563.wgsl.expected.fxc.hlsl
index 55c2cc1..6e399e0 100644
--- a/test/tint/bug/tint/1563.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1563.wgsl.expected.fxc.hlsl
@@ -8,8 +8,8 @@
 }
 
 float foo() {
-  const int oob = 99;
-  const float b = (0.0f).xxxx[min(uint(oob), 3u)];
+  int oob = 99;
+  float b = (0.0f).xxxx[min(uint(oob), 3u)];
   float4 v = float4(0.0f, 0.0f, 0.0f, 0.0f);
   set_vector_element(v, min(uint(oob), 3u), b);
   return b;
diff --git a/test/tint/bug/tint/1564.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1564.wgsl.expected.dxc.hlsl
index df3fb92..0fba601 100644
--- a/test/tint/bug/tint/1564.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1564.wgsl.expected.dxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void foo() {
-  const float b = 9.9999461e-41f;
+  float b = 9.9999461e-41f;
 }
diff --git a/test/tint/bug/tint/1564.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1564.wgsl.expected.fxc.hlsl
index df3fb92..0fba601 100644
--- a/test/tint/bug/tint/1564.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1564.wgsl.expected.fxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void foo() {
-  const float b = 9.9999461e-41f;
+  float b = 9.9999461e-41f;
 }
diff --git a/test/tint/bug/tint/1573.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1573.wgsl.expected.dxc.hlsl
index 31f56b4..061e32b 100644
--- a/test/tint/bug/tint/1573.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1573.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 [numthreads(16, 1, 1)]
 void main() {
   uint value = 42u;
-  const atomic_compare_exchange_result_u32 result = aatomicCompareExchangeWeak(0u, 0u, value);
+  atomic_compare_exchange_result_u32 result = aatomicCompareExchangeWeak(0u, 0u, value);
   return;
 }
diff --git a/test/tint/bug/tint/1573.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1573.wgsl.expected.fxc.hlsl
index 31f56b4..061e32b 100644
--- a/test/tint/bug/tint/1573.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1573.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 [numthreads(16, 1, 1)]
 void main() {
   uint value = 42u;
-  const atomic_compare_exchange_result_u32 result = aatomicCompareExchangeWeak(0u, 0u, value);
+  atomic_compare_exchange_result_u32 result = aatomicCompareExchangeWeak(0u, 0u, value);
   return;
 }
diff --git a/test/tint/bug/tint/1574.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1574.wgsl.expected.dxc.hlsl
index 1e5c723..4e07a72 100644
--- a/test/tint/bug/tint/1574.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1574.wgsl.expected.dxc.hlsl
@@ -41,15 +41,15 @@
   GroupMemoryBarrierWithGroupSync();
   {
     uint value = 42u;
-    const atomic_compare_exchange_result_u32 r1 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
-    const atomic_compare_exchange_result_u32 r2 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
-    const atomic_compare_exchange_result_u32 r3 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r1 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r2 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r3 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
   }
   {
     int value = 42;
-    const atomic_compare_exchange_result_i32 r1 = a_i32atomicCompareExchangeWeak(0u, 0, value);
-    const atomic_compare_exchange_result_i32 r2 = a_i32atomicCompareExchangeWeak(0u, 0, value);
-    const atomic_compare_exchange_result_i32 r3 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r1 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r2 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r3 = a_i32atomicCompareExchangeWeak(0u, 0, value);
   }
   {
     uint value = 42u;
@@ -57,17 +57,17 @@
     uint atomic_compare_value = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value, value, atomic_result_2.old_value);
     atomic_result_2.exchanged = atomic_result_2.old_value == atomic_compare_value;
-    const atomic_compare_exchange_result_u32 r1 = atomic_result_2;
+    atomic_compare_exchange_result_u32 r1 = atomic_result_2;
     atomic_compare_exchange_result_u32 atomic_result_3 = (atomic_compare_exchange_result_u32)0;
     uint atomic_compare_value_1 = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value_1, value, atomic_result_3.old_value);
     atomic_result_3.exchanged = atomic_result_3.old_value == atomic_compare_value_1;
-    const atomic_compare_exchange_result_u32 r2 = atomic_result_3;
+    atomic_compare_exchange_result_u32 r2 = atomic_result_3;
     atomic_compare_exchange_result_u32 atomic_result_4 = (atomic_compare_exchange_result_u32)0;
     uint atomic_compare_value_2 = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value_2, value, atomic_result_4.old_value);
     atomic_result_4.exchanged = atomic_result_4.old_value == atomic_compare_value_2;
-    const atomic_compare_exchange_result_u32 r3 = atomic_result_4;
+    atomic_compare_exchange_result_u32 r3 = atomic_result_4;
   }
   {
     int value = 42;
@@ -75,17 +75,17 @@
     int atomic_compare_value_3 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_3, value, atomic_result_5.old_value);
     atomic_result_5.exchanged = atomic_result_5.old_value == atomic_compare_value_3;
-    const atomic_compare_exchange_result_i32 r1 = atomic_result_5;
+    atomic_compare_exchange_result_i32 r1 = atomic_result_5;
     atomic_compare_exchange_result_i32 atomic_result_6 = (atomic_compare_exchange_result_i32)0;
     int atomic_compare_value_4 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_4, value, atomic_result_6.old_value);
     atomic_result_6.exchanged = atomic_result_6.old_value == atomic_compare_value_4;
-    const atomic_compare_exchange_result_i32 r2 = atomic_result_6;
+    atomic_compare_exchange_result_i32 r2 = atomic_result_6;
     atomic_compare_exchange_result_i32 atomic_result_7 = (atomic_compare_exchange_result_i32)0;
     int atomic_compare_value_5 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_5, value, atomic_result_7.old_value);
     atomic_result_7.exchanged = atomic_result_7.old_value == atomic_compare_value_5;
-    const atomic_compare_exchange_result_i32 r3 = atomic_result_7;
+    atomic_compare_exchange_result_i32 r3 = atomic_result_7;
   }
 }
 
diff --git a/test/tint/bug/tint/1574.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1574.wgsl.expected.fxc.hlsl
index 1e5c723..4e07a72 100644
--- a/test/tint/bug/tint/1574.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1574.wgsl.expected.fxc.hlsl
@@ -41,15 +41,15 @@
   GroupMemoryBarrierWithGroupSync();
   {
     uint value = 42u;
-    const atomic_compare_exchange_result_u32 r1 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
-    const atomic_compare_exchange_result_u32 r2 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
-    const atomic_compare_exchange_result_u32 r3 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r1 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r2 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
+    atomic_compare_exchange_result_u32 r3 = a_u32atomicCompareExchangeWeak(0u, 0u, value);
   }
   {
     int value = 42;
-    const atomic_compare_exchange_result_i32 r1 = a_i32atomicCompareExchangeWeak(0u, 0, value);
-    const atomic_compare_exchange_result_i32 r2 = a_i32atomicCompareExchangeWeak(0u, 0, value);
-    const atomic_compare_exchange_result_i32 r3 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r1 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r2 = a_i32atomicCompareExchangeWeak(0u, 0, value);
+    atomic_compare_exchange_result_i32 r3 = a_i32atomicCompareExchangeWeak(0u, 0, value);
   }
   {
     uint value = 42u;
@@ -57,17 +57,17 @@
     uint atomic_compare_value = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value, value, atomic_result_2.old_value);
     atomic_result_2.exchanged = atomic_result_2.old_value == atomic_compare_value;
-    const atomic_compare_exchange_result_u32 r1 = atomic_result_2;
+    atomic_compare_exchange_result_u32 r1 = atomic_result_2;
     atomic_compare_exchange_result_u32 atomic_result_3 = (atomic_compare_exchange_result_u32)0;
     uint atomic_compare_value_1 = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value_1, value, atomic_result_3.old_value);
     atomic_result_3.exchanged = atomic_result_3.old_value == atomic_compare_value_1;
-    const atomic_compare_exchange_result_u32 r2 = atomic_result_3;
+    atomic_compare_exchange_result_u32 r2 = atomic_result_3;
     atomic_compare_exchange_result_u32 atomic_result_4 = (atomic_compare_exchange_result_u32)0;
     uint atomic_compare_value_2 = 0u;
     InterlockedCompareExchange(b_u32, atomic_compare_value_2, value, atomic_result_4.old_value);
     atomic_result_4.exchanged = atomic_result_4.old_value == atomic_compare_value_2;
-    const atomic_compare_exchange_result_u32 r3 = atomic_result_4;
+    atomic_compare_exchange_result_u32 r3 = atomic_result_4;
   }
   {
     int value = 42;
@@ -75,17 +75,17 @@
     int atomic_compare_value_3 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_3, value, atomic_result_5.old_value);
     atomic_result_5.exchanged = atomic_result_5.old_value == atomic_compare_value_3;
-    const atomic_compare_exchange_result_i32 r1 = atomic_result_5;
+    atomic_compare_exchange_result_i32 r1 = atomic_result_5;
     atomic_compare_exchange_result_i32 atomic_result_6 = (atomic_compare_exchange_result_i32)0;
     int atomic_compare_value_4 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_4, value, atomic_result_6.old_value);
     atomic_result_6.exchanged = atomic_result_6.old_value == atomic_compare_value_4;
-    const atomic_compare_exchange_result_i32 r2 = atomic_result_6;
+    atomic_compare_exchange_result_i32 r2 = atomic_result_6;
     atomic_compare_exchange_result_i32 atomic_result_7 = (atomic_compare_exchange_result_i32)0;
     int atomic_compare_value_5 = 0;
     InterlockedCompareExchange(b_i32, atomic_compare_value_5, value, atomic_result_7.old_value);
     atomic_result_7.exchanged = atomic_result_7.old_value == atomic_compare_value_5;
-    const atomic_compare_exchange_result_i32 r3 = atomic_result_7;
+    atomic_compare_exchange_result_i32 r3 = atomic_result_7;
   }
 }
 
diff --git a/test/tint/bug/tint/1641.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1641.wgsl.expected.dxc.hlsl
index afb8535..3a440db 100644
--- a/test/tint/bug/tint/1641.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1641.wgsl.expected.dxc.hlsl
@@ -7,13 +7,13 @@
 };
 
 float4 main_inner() {
-  const int zero = 0;
-  const Normals tint_symbol_1[1] = {{float3(0.0f, 0.0f, 1.0f)}};
+  int zero = 0;
+  Normals tint_symbol_1[1] = {{float3(0.0f, 0.0f, 1.0f)}};
   return float4(tint_symbol_1[zero].f, 1.0f);
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1641.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1641.wgsl.expected.fxc.hlsl
index afb8535..3a440db 100644
--- a/test/tint/bug/tint/1641.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1641.wgsl.expected.fxc.hlsl
@@ -7,13 +7,13 @@
 };
 
 float4 main_inner() {
-  const int zero = 0;
-  const Normals tint_symbol_1[1] = {{float3(0.0f, 0.0f, 1.0f)}};
+  int zero = 0;
+  Normals tint_symbol_1[1] = {{float3(0.0f, 0.0f, 1.0f)}};
   return float4(tint_symbol_1[zero].f, 1.0f);
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1653.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1653.wgsl.expected.dxc.hlsl
index ac385e0..a1dd962 100644
--- a/test/tint/bug/tint/1653.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1653.wgsl.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 float4 vs_main_inner(uint in_vertex_index) {
-  const float4 tint_symbol_3[3] = {float4(0.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(1.0f, 1.0f, 0.0f, 1.0f)};
+  float4 tint_symbol_3[3] = {float4(0.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(1.0f, 1.0f, 0.0f, 1.0f)};
   return tint_symbol_3[in_vertex_index];
 }
 
 tint_symbol_2 vs_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vs_main_inner(tint_symbol.in_vertex_index);
+  float4 inner_result = vs_main_inner(tint_symbol.in_vertex_index);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1653.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1653.wgsl.expected.fxc.hlsl
index ac385e0..a1dd962 100644
--- a/test/tint/bug/tint/1653.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1653.wgsl.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 float4 vs_main_inner(uint in_vertex_index) {
-  const float4 tint_symbol_3[3] = {float4(0.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(1.0f, 1.0f, 0.0f, 1.0f)};
+  float4 tint_symbol_3[3] = {float4(0.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(1.0f, 1.0f, 0.0f, 1.0f)};
   return tint_symbol_3[in_vertex_index];
 }
 
 tint_symbol_2 vs_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vs_main_inner(tint_symbol.in_vertex_index);
+  float4 inner_result = vs_main_inner(tint_symbol.in_vertex_index);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1664.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1664.wgsl.expected.dxc.hlsl
index 1c6dcba..ff66a07 100644
--- a/test/tint/bug/tint/1664.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1664.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 [numthreads(1, 1, 1)]
 void f0() {
-  const int a = 2147483647;
-  const int b = 1;
-  const int c = (a + 1);
+  int a = 2147483647;
+  int b = 1;
+  int c = (a + 1);
   return;
 }
 
 void f1() {
-  const int a = 1;
-  const int b = (-2147483648 - a);
+  int a = 1;
+  int b = (-2147483648 - a);
 }
diff --git a/test/tint/bug/tint/1664.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1664.wgsl.expected.fxc.hlsl
index 1c6dcba..ff66a07 100644
--- a/test/tint/bug/tint/1664.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1664.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 [numthreads(1, 1, 1)]
 void f0() {
-  const int a = 2147483647;
-  const int b = 1;
-  const int c = (a + 1);
+  int a = 2147483647;
+  int b = 1;
+  int c = (a + 1);
   return;
 }
 
 void f1() {
-  const int a = 1;
-  const int b = (-2147483648 - a);
+  int a = 1;
+  int b = (-2147483648 - a);
 }
diff --git a/test/tint/bug/tint/1666.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1666.wgsl.expected.dxc.hlsl
index 134e3bb..14804b7 100644
--- a/test/tint/bug/tint/1666.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1666.wgsl.expected.dxc.hlsl
@@ -1,26 +1,24 @@
-SKIP: FAILED
-
 void tint_symbol() {
-  const int idx = 3;
-  const int x = int2(1, 2)[idx];
+  int idx = 3;
+  int x = int2(1, 2)[idx];
 }
 
 void tint_symbol_1() {
-  const int idx = 4;
-  const float2 x = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f))[idx];
+  int idx = 4;
+  float2 x = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f))[idx];
 }
 
 void fixed_size_array() {
-  const int arr[2] = {1, 2};
-  const int idx = 3;
-  const int x = arr[idx];
+  int arr[2] = {1, 2};
+  int idx = 3;
+  int x = arr[idx];
 }
 
 ByteAddressBuffer rarr : register(t0);
 
 void runtime_size_array() {
-  const int idx = -1;
-  const float x = asfloat(rarr.Load((4u * uint(idx))));
+  int idx = -1;
+  float x = asfloat(rarr.Load((4u * uint(idx))));
 }
 
 [numthreads(1, 1, 1)]
@@ -31,18 +29,3 @@
   runtime_size_array();
   return;
 }
-DXC validation failure:
-shader.hlsl:3:28: error: vector element index '3' is out of bounds
-  const int x = int2(1, 2)[idx];
-                           ^
-shader.hlsl:8:69: error: matrix row index '4' is out of bounds
-  const float2 x = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f))[idx];
-                                                                    ^
-shader.hlsl:14:17: error: array index 3 is out of bounds
-  const int x = arr[idx];
-                ^
-shader.hlsl:12:3: note: array 'arr' declared here
-  const int arr[2] = {1, 2};
-  ^
-
-
diff --git a/test/tint/bug/tint/1670.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1670.spvasm.expected.dxc.hlsl
index b488e9f..8bc6124 100644
--- a/test/tint/bug/tint/1670.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1670.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   float3x3 m3 = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float4x4 m4i = float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float4x4 m4 = float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float s = (1.0f / determinant(m2));
+  float s = (1.0f / determinant(m2));
   m2i = float2x2(float2((s * m2[1u][1u]), (-(s) * m2[0u][1u])), float2((-(s) * m2[1u][0u]), (s * m2[0u][0u])));
   m3i = ((1.0f / determinant(m3)) * float3x3(float3(((m3[1u][1u] * m3[2u][2u]) - (m3[1u][2u] * m3[2u][1u])), ((m3[0u][2u] * m3[2u][1u]) - (m3[0u][1u] * m3[2u][2u])), ((m3[0u][1u] * m3[1u][2u]) - (m3[0u][2u] * m3[1u][1u]))), float3(((m3[1u][2u] * m3[2u][0u]) - (m3[1u][0u] * m3[2u][2u])), ((m3[0u][0u] * m3[2u][2u]) - (m3[0u][2u] * m3[2u][0u])), ((m3[0u][2u] * m3[1u][0u]) - (m3[0u][0u] * m3[1u][2u]))), float3(((m3[1u][0u] * m3[2u][1u]) - (m3[1u][1u] * m3[2u][0u])), ((m3[0u][1u] * m3[2u][0u]) - (m3[0u][0u] * m3[2u][1u])), ((m3[0u][0u] * m3[1u][1u]) - (m3[0u][1u] * m3[1u][0u])))));
   m4i = ((1.0f / determinant(m4)) * float4x4(float4((((m4[1u][1u] * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) - (m4[1u][2u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u])))) + (m4[1u][3u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u])))), (((-(m4[0u][1u]) * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) + (m4[0u][2u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u])))) - (m4[0u][3u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u])))), (((m4[0u][1u] * ((m4[1u][2u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][2u]))) - (m4[0u][2u] * ((m4[1u][1u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][1u])))) + (m4[0u][3u] * ((m4[1u][1u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][1u])))), (((-(m4[0u][1u]) * ((m4[1u][2u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][2u]))) + (m4[0u][2u] * ((m4[1u][1u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][1u])))) - (m4[0u][3u] * ((m4[1u][1u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][1u]))))), float4((((-(m4[1u][0u]) * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) + (m4[1u][2u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) - (m4[1u][3u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) - (m4[0u][2u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) + (m4[0u][3u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][2u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][2u]))) + (m4[0u][2u] * ((m4[1u][0u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][0u])))) - (m4[0u][3u] * ((m4[1u][0u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][2u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][2u]))) - (m4[0u][2u] * ((m4[1u][0u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][0u])))) + (m4[0u][3u] * ((m4[1u][0u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][0u]))))), float4((((m4[1u][0u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u]))) - (m4[1u][1u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) + (m4[1u][3u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u]))) + (m4[0u][1u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) - (m4[0u][3u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][1u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][1u]))) - (m4[0u][1u] * ((m4[1u][0u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][0u])))) + (m4[0u][3u] * ((m4[1u][0u] * m4[3u][1u]) - (m4[1u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][1u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][1u]))) + (m4[0u][1u] * ((m4[1u][0u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][0u])))) - (m4[0u][3u] * ((m4[1u][0u] * m4[2u][1u]) - (m4[1u][1u] * m4[2u][0u]))))), float4((((-(m4[1u][0u]) * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u]))) + (m4[1u][1u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))) - (m4[1u][2u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u]))) - (m4[0u][1u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))) + (m4[0u][2u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][1u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][1u]))) + (m4[0u][1u] * ((m4[1u][0u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][0u])))) - (m4[0u][2u] * ((m4[1u][0u] * m4[3u][1u]) - (m4[1u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][1u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][1u]))) - (m4[0u][1u] * ((m4[1u][0u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][0u])))) + (m4[0u][2u] * ((m4[1u][0u] * m4[2u][1u]) - (m4[1u][1u] * m4[2u][0u])))))));
diff --git a/test/tint/bug/tint/1670.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1670.spvasm.expected.fxc.hlsl
index b488e9f..8bc6124 100644
--- a/test/tint/bug/tint/1670.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1670.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   float3x3 m3 = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float4x4 m4i = float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float4x4 m4 = float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float s = (1.0f / determinant(m2));
+  float s = (1.0f / determinant(m2));
   m2i = float2x2(float2((s * m2[1u][1u]), (-(s) * m2[0u][1u])), float2((-(s) * m2[1u][0u]), (s * m2[0u][0u])));
   m3i = ((1.0f / determinant(m3)) * float3x3(float3(((m3[1u][1u] * m3[2u][2u]) - (m3[1u][2u] * m3[2u][1u])), ((m3[0u][2u] * m3[2u][1u]) - (m3[0u][1u] * m3[2u][2u])), ((m3[0u][1u] * m3[1u][2u]) - (m3[0u][2u] * m3[1u][1u]))), float3(((m3[1u][2u] * m3[2u][0u]) - (m3[1u][0u] * m3[2u][2u])), ((m3[0u][0u] * m3[2u][2u]) - (m3[0u][2u] * m3[2u][0u])), ((m3[0u][2u] * m3[1u][0u]) - (m3[0u][0u] * m3[1u][2u]))), float3(((m3[1u][0u] * m3[2u][1u]) - (m3[1u][1u] * m3[2u][0u])), ((m3[0u][1u] * m3[2u][0u]) - (m3[0u][0u] * m3[2u][1u])), ((m3[0u][0u] * m3[1u][1u]) - (m3[0u][1u] * m3[1u][0u])))));
   m4i = ((1.0f / determinant(m4)) * float4x4(float4((((m4[1u][1u] * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) - (m4[1u][2u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u])))) + (m4[1u][3u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u])))), (((-(m4[0u][1u]) * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) + (m4[0u][2u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u])))) - (m4[0u][3u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u])))), (((m4[0u][1u] * ((m4[1u][2u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][2u]))) - (m4[0u][2u] * ((m4[1u][1u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][1u])))) + (m4[0u][3u] * ((m4[1u][1u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][1u])))), (((-(m4[0u][1u]) * ((m4[1u][2u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][2u]))) + (m4[0u][2u] * ((m4[1u][1u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][1u])))) - (m4[0u][3u] * ((m4[1u][1u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][1u]))))), float4((((-(m4[1u][0u]) * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) + (m4[1u][2u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) - (m4[1u][3u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[2u][2u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][2u]))) - (m4[0u][2u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) + (m4[0u][3u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][2u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][2u]))) + (m4[0u][2u] * ((m4[1u][0u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][0u])))) - (m4[0u][3u] * ((m4[1u][0u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][2u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][2u]))) - (m4[0u][2u] * ((m4[1u][0u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][0u])))) + (m4[0u][3u] * ((m4[1u][0u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][0u]))))), float4((((m4[1u][0u] * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u]))) - (m4[1u][1u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) + (m4[1u][3u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[2u][1u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][1u]))) + (m4[0u][1u] * ((m4[2u][0u] * m4[3u][3u]) - (m4[2u][3u] * m4[3u][0u])))) - (m4[0u][3u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][1u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][1u]))) - (m4[0u][1u] * ((m4[1u][0u] * m4[3u][3u]) - (m4[1u][3u] * m4[3u][0u])))) + (m4[0u][3u] * ((m4[1u][0u] * m4[3u][1u]) - (m4[1u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][1u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][1u]))) + (m4[0u][1u] * ((m4[1u][0u] * m4[2u][3u]) - (m4[1u][3u] * m4[2u][0u])))) - (m4[0u][3u] * ((m4[1u][0u] * m4[2u][1u]) - (m4[1u][1u] * m4[2u][0u]))))), float4((((-(m4[1u][0u]) * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u]))) + (m4[1u][1u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))) - (m4[1u][2u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[2u][1u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][1u]))) - (m4[0u][1u] * ((m4[2u][0u] * m4[3u][2u]) - (m4[2u][2u] * m4[3u][0u])))) + (m4[0u][2u] * ((m4[2u][0u] * m4[3u][1u]) - (m4[2u][1u] * m4[3u][0u])))), (((-(m4[0u][0u]) * ((m4[1u][1u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][1u]))) + (m4[0u][1u] * ((m4[1u][0u] * m4[3u][2u]) - (m4[1u][2u] * m4[3u][0u])))) - (m4[0u][2u] * ((m4[1u][0u] * m4[3u][1u]) - (m4[1u][1u] * m4[3u][0u])))), (((m4[0u][0u] * ((m4[1u][1u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][1u]))) - (m4[0u][1u] * ((m4[1u][0u] * m4[2u][2u]) - (m4[1u][2u] * m4[2u][0u])))) + (m4[0u][2u] * ((m4[1u][0u] * m4[2u][1u]) - (m4[1u][1u] * m4[2u][0u])))))));
diff --git a/test/tint/bug/tint/1677.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1677.wgsl.expected.dxc.hlsl
index ffc8422..daf46ea 100644
--- a/test/tint/bug/tint/1677.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1677.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 };
 
 void main_inner(uint3 id) {
-  const int3 pos = (asint(input.Load3(0u)) - (0).xxx);
+  int3 pos = (asint(input.Load3(0u)) - (0).xxx);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/1677.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1677.wgsl.expected.fxc.hlsl
index ffc8422..daf46ea 100644
--- a/test/tint/bug/tint/1677.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1677.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 };
 
 void main_inner(uint3 id) {
-  const int3 pos = (asint(input.Load3(0u)) - (0).xxx);
+  int3 pos = (asint(input.Load3(0u)) - (0).xxx);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/1703.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1703.wgsl.expected.dxc.hlsl
index 6687311..74eee87 100644
--- a/test/tint/bug/tint/1703.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1703.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
   vb2.x = (asfloat(my_uniform[0].x) == -1.0f);
   vb2 = bool2((asfloat(my_uniform[0].x) == -1.0f), false);
   if (vb2.x) {
-    const float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+    float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
   }
 }
 
@@ -26,6 +26,6 @@
   vb2.x = (asfloat(my_uniform[0].x) == -1.0f);
   vb2 = (false).xx;
   if (vb2.x) {
-    const float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+    float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
   }
 }
diff --git a/test/tint/bug/tint/1703.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1703.wgsl.expected.fxc.hlsl
index 6687311..74eee87 100644
--- a/test/tint/bug/tint/1703.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1703.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
   vb2.x = (asfloat(my_uniform[0].x) == -1.0f);
   vb2 = bool2((asfloat(my_uniform[0].x) == -1.0f), false);
   if (vb2.x) {
-    const float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+    float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
   }
 }
 
@@ -26,6 +26,6 @@
   vb2.x = (asfloat(my_uniform[0].x) == -1.0f);
   vb2 = (false).xx;
   if (vb2.x) {
-    const float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
+    float4 r = my_texture.SampleBias(my_sampler, (0.0f).xx, 0.0f);
   }
 }
diff --git a/test/tint/bug/tint/1725.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1725.wgsl.expected.dxc.hlsl
index afb1cb0..397ef8a 100644
--- a/test/tint/bug/tint/1725.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1725.wgsl.expected.dxc.hlsl
@@ -7,11 +7,11 @@
 void tint_symbol_1_inner(uint tint_symbol_2) {
   uint tint_symbol_10 = 0u;
   tint_symbol.GetDimensions(tint_symbol_10);
-  const uint tint_symbol_11 = (tint_symbol_10 / 4u);
-  const int tint_symbol_3 = 0;
-  const int tint_symbol_4 = 0;
-  const int tint_symbol_5 = 0;
-  const uint tint_symbol_6 = tint_symbol.Load((4u * min(tint_symbol_2, (tint_symbol_11 - 1u))));
+  uint tint_symbol_11 = (tint_symbol_10 / 4u);
+  int tint_symbol_3 = 0;
+  int tint_symbol_4 = 0;
+  int tint_symbol_5 = 0;
+  uint tint_symbol_6 = tint_symbol.Load((4u * min(tint_symbol_2, (tint_symbol_11 - 1u))));
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/1725.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1725.wgsl.expected.fxc.hlsl
index afb1cb0..397ef8a 100644
--- a/test/tint/bug/tint/1725.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1725.wgsl.expected.fxc.hlsl
@@ -7,11 +7,11 @@
 void tint_symbol_1_inner(uint tint_symbol_2) {
   uint tint_symbol_10 = 0u;
   tint_symbol.GetDimensions(tint_symbol_10);
-  const uint tint_symbol_11 = (tint_symbol_10 / 4u);
-  const int tint_symbol_3 = 0;
-  const int tint_symbol_4 = 0;
-  const int tint_symbol_5 = 0;
-  const uint tint_symbol_6 = tint_symbol.Load((4u * min(tint_symbol_2, (tint_symbol_11 - 1u))));
+  uint tint_symbol_11 = (tint_symbol_10 / 4u);
+  int tint_symbol_3 = 0;
+  int tint_symbol_4 = 0;
+  int tint_symbol_5 = 0;
+  uint tint_symbol_6 = tint_symbol.Load((4u * min(tint_symbol_2, (tint_symbol_11 - 1u))));
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/1735.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1735.wgsl.expected.dxc.hlsl
index 2037a50..51fb94d 100644
--- a/test/tint/bug/tint/1735.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1735.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 S tint_symbol_load(uint offset) {
-  const S tint_symbol_2 = {asfloat(tint_symbol.Load((offset + 0u)))};
+  S tint_symbol_2 = {asfloat(tint_symbol.Load((offset + 0u)))};
   return tint_symbol_2;
 }
 
diff --git a/test/tint/bug/tint/1735.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1735.wgsl.expected.fxc.hlsl
index 2037a50..51fb94d 100644
--- a/test/tint/bug/tint/1735.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1735.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 S tint_symbol_load(uint offset) {
-  const S tint_symbol_2 = {asfloat(tint_symbol.Load((offset + 0u)))};
+  S tint_symbol_2 = {asfloat(tint_symbol.Load((offset + 0u)))};
   return tint_symbol_2;
 }
 
diff --git a/test/tint/bug/tint/1737.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1737.wgsl.expected.dxc.hlsl
index 436f4ac..ad96071 100644
--- a/test/tint/bug/tint/1737.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1737.wgsl.expected.dxc.hlsl
@@ -7,6 +7,6 @@
 groupshared float b[20];
 
 void f() {
-  const float x = a[0];
-  const float y = b[0];
+  float x = a[0];
+  float y = b[0];
 }
diff --git a/test/tint/bug/tint/1737.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1737.wgsl.expected.fxc.hlsl
index 436f4ac..ad96071 100644
--- a/test/tint/bug/tint/1737.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1737.wgsl.expected.fxc.hlsl
@@ -7,6 +7,6 @@
 groupshared float b[20];
 
 void f() {
-  const float x = a[0];
-  const float y = b[0];
+  float x = a[0];
+  float y = b[0];
 }
diff --git a/test/tint/bug/tint/1739.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1739.wgsl.expected.dxc.hlsl
index 801f448..0531c78 100644
--- a/test/tint/bug/tint/1739.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1739.wgsl.expected.dxc.hlsl
@@ -26,14 +26,14 @@
 RWTexture2D<float4> outImage : register(u1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -64,7 +64,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol;
 }
 
diff --git a/test/tint/bug/tint/1739.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1739.wgsl.expected.fxc.hlsl
index 801f448..0531c78 100644
--- a/test/tint/bug/tint/1739.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1739.wgsl.expected.fxc.hlsl
@@ -26,14 +26,14 @@
 RWTexture2D<float4> outImage : register(u1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -64,7 +64,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol;
 }
 
diff --git a/test/tint/bug/tint/1764.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1764.wgsl.expected.dxc.hlsl
index e915d81..f958f4f 100644
--- a/test/tint/bug/tint/1764.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1764.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 246u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       W[i] = 0;
     }
   }
diff --git a/test/tint/bug/tint/1764.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1764.wgsl.expected.fxc.hlsl
index e915d81..f958f4f 100644
--- a/test/tint/bug/tint/1764.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1764.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 246u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       W[i] = 0;
     }
   }
diff --git a/test/tint/bug/tint/1776.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1776.spvasm.expected.dxc.hlsl
index 02c5183..78faad9 100644
--- a/test/tint/bug/tint/1776.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1776.spvasm.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 RWByteAddressBuffer sb : register(u0);
 
 S sb_load(uint offset) {
-  const S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
+  S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
   return tint_symbol;
 }
 
 void main_1() {
-  const S x_18 = sb_load(32u);
+  S x_18 = sb_load(32u);
   return;
 }
 
diff --git a/test/tint/bug/tint/1776.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1776.spvasm.expected.fxc.hlsl
index 02c5183..78faad9 100644
--- a/test/tint/bug/tint/1776.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1776.spvasm.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 RWByteAddressBuffer sb : register(u0);
 
 S sb_load(uint offset) {
-  const S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
+  S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
   return tint_symbol;
 }
 
 void main_1() {
-  const S x_18 = sb_load(32u);
+  S x_18 = sb_load(32u);
   return;
 }
 
diff --git a/test/tint/bug/tint/1776.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1776.wgsl.expected.dxc.hlsl
index 572e294..441c65d 100644
--- a/test/tint/bug/tint/1776.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1776.wgsl.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 ByteAddressBuffer sb : register(t0);
 
 S sb_load(uint offset) {
-  const S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
+  S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
   return tint_symbol;
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const S x = sb_load(32u);
+  S x = sb_load(32u);
   return;
 }
diff --git a/test/tint/bug/tint/1776.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1776.wgsl.expected.fxc.hlsl
index 572e294..441c65d 100644
--- a/test/tint/bug/tint/1776.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1776.wgsl.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 ByteAddressBuffer sb : register(t0);
 
 S sb_load(uint offset) {
-  const S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
+  S tint_symbol = {asfloat(sb.Load4((offset + 0u))), asint(sb.Load((offset + 16u)))};
   return tint_symbol;
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const S x = sb_load(32u);
+  S x = sb_load(32u);
   return;
 }
diff --git a/test/tint/bug/tint/1860.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1860.wgsl.expected.dxc.hlsl
index 2278ddd..64b64f3 100644
--- a/test/tint/bug/tint/1860.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1860.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1860.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1860.wgsl.expected.fxc.hlsl
index 2278ddd..64b64f3 100644
--- a/test/tint/bug/tint/1860.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1860.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/1926.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1926.wgsl.expected.dxc.hlsl
index 9367ce7..4a1922f 100644
--- a/test/tint/bug/tint/1926.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1926.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_sh_atomic_failed() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = sh_atomic_failed;
+  uint result = sh_atomic_failed;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -20,7 +20,7 @@
     sh_atomic_failed = 0u;
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint failed = tint_workgroupUniformLoad_sh_atomic_failed();
+  uint failed = tint_workgroupUniformLoad_sh_atomic_failed();
   if ((local_id.x == 0u)) {
     output.Store(0u, asuint(failed));
   }
diff --git a/test/tint/bug/tint/1926.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1926.wgsl.expected.fxc.hlsl
index 9367ce7..4a1922f 100644
--- a/test/tint/bug/tint/1926.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1926.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_sh_atomic_failed() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = sh_atomic_failed;
+  uint result = sh_atomic_failed;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -20,7 +20,7 @@
     sh_atomic_failed = 0u;
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint failed = tint_workgroupUniformLoad_sh_atomic_failed();
+  uint failed = tint_workgroupUniformLoad_sh_atomic_failed();
   if ((local_id.x == 0u)) {
     output.Store(0u, asuint(failed));
   }
diff --git a/test/tint/bug/tint/1932.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/1932.spvasm.expected.dxc.hlsl
index efed96a..51e7f9b 100644
--- a/test/tint/bug/tint/1932.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1932.spvasm.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 void main_1() {
-  const float x_10 = 0.0f;
+  float x_10 = 0.0f;
   return;
 }
 
diff --git a/test/tint/bug/tint/1932.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/1932.spvasm.expected.fxc.hlsl
index efed96a..51e7f9b 100644
--- a/test/tint/bug/tint/1932.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1932.spvasm.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 void main_1() {
-  const float x_10 = 0.0f;
+  float x_10 = 0.0f;
   return;
 }
 
diff --git a/test/tint/bug/tint/1934.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1934.wgsl.expected.dxc.hlsl
index c57428d..0f32de2 100644
--- a/test/tint/bug/tint/1934.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1934.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 void v() {
-  const int i = 1;
+  int i = 1;
   int b = (1).xx[i];
 }
diff --git a/test/tint/bug/tint/1934.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1934.wgsl.expected.fxc.hlsl
index c57428d..0f32de2 100644
--- a/test/tint/bug/tint/1934.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1934.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 void v() {
-  const int i = 1;
+  int i = 1;
   int b = (1).xx[i];
 }
diff --git a/test/tint/bug/tint/1963_a.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1963_a.wgsl.expected.dxc.hlsl
index e1213df..cd87dce 100644
--- a/test/tint/bug/tint/1963_a.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1963_a.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 void f() {
   float2 v = float2(0.0f, 0.0f);
   X((0.0f).xx, v);
-  const float2 tint_symbol = (0.0f).xx;
-  const float2 tint_symbol_1 = Y();
+  float2 tint_symbol = (0.0f).xx;
+  float2 tint_symbol_1 = Y();
   X(tint_symbol, tint_symbol_1);
 }
diff --git a/test/tint/bug/tint/1963_a.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1963_a.wgsl.expected.fxc.hlsl
index e1213df..cd87dce 100644
--- a/test/tint/bug/tint/1963_a.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1963_a.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 void f() {
   float2 v = float2(0.0f, 0.0f);
   X((0.0f).xx, v);
-  const float2 tint_symbol = (0.0f).xx;
-  const float2 tint_symbol_1 = Y();
+  float2 tint_symbol = (0.0f).xx;
+  float2 tint_symbol_1 = Y();
   X(tint_symbol, tint_symbol_1);
 }
diff --git a/test/tint/bug/tint/1963_b.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/1963_b.wgsl.expected.dxc.hlsl
index 9c7b402..9362357 100644
--- a/test/tint/bug/tint/1963_b.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/1963_b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 
 [numthreads(1, 1, 1)]
 void compute_main() {
-  const atomic_compare_exchange_result_i32 tint_symbol = aatomicCompareExchangeWeak(0u, 1, 1);
-  const int v = tint_symbol.old_value;
+  atomic_compare_exchange_result_i32 tint_symbol = aatomicCompareExchangeWeak(0u, 1, 1);
+  int v = tint_symbol.old_value;
   return;
 }
diff --git a/test/tint/bug/tint/1963_b.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/1963_b.wgsl.expected.fxc.hlsl
index 9c7b402..9362357 100644
--- a/test/tint/bug/tint/1963_b.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/1963_b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 
 [numthreads(1, 1, 1)]
 void compute_main() {
-  const atomic_compare_exchange_result_i32 tint_symbol = aatomicCompareExchangeWeak(0u, 1, 1);
-  const int v = tint_symbol.old_value;
+  atomic_compare_exchange_result_i32 tint_symbol = aatomicCompareExchangeWeak(0u, 1, 1);
+  int v = tint_symbol.old_value;
   return;
 }
diff --git a/test/tint/bug/tint/2054.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/2054.wgsl.expected.dxc.hlsl
index f8409af..c64e8b9 100644
--- a/test/tint/bug/tint/2054.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/2054.wgsl.expected.dxc.hlsl
@@ -1,13 +1,13 @@
 RWByteAddressBuffer tint_symbol : register(u0);
 
 void bar(inout float p) {
-  const float a = 1.0f;
-  const float b = 2.0f;
+  float a = 1.0f;
+  float b = 2.0f;
   bool tint_tmp = (a >= 0.0f);
   if (tint_tmp) {
     tint_tmp = (b >= 0.0f);
   }
-  const bool cond = (tint_tmp);
+  bool cond = (tint_tmp);
   p = (cond ? b : a);
 }
 
diff --git a/test/tint/bug/tint/2054.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/2054.wgsl.expected.fxc.hlsl
index f8409af..c64e8b9 100644
--- a/test/tint/bug/tint/2054.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/2054.wgsl.expected.fxc.hlsl
@@ -1,13 +1,13 @@
 RWByteAddressBuffer tint_symbol : register(u0);
 
 void bar(inout float p) {
-  const float a = 1.0f;
-  const float b = 2.0f;
+  float a = 1.0f;
+  float b = 2.0f;
   bool tint_tmp = (a >= 0.0f);
   if (tint_tmp) {
     tint_tmp = (b >= 0.0f);
   }
-  const bool cond = (tint_tmp);
+  bool cond = (tint_tmp);
   p = (cond ? b : a);
 }
 
diff --git a/test/tint/bug/tint/2059.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/2059.wgsl.expected.dxc.hlsl
index d16b843..213f45b 100644
--- a/test/tint/bug/tint/2059.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/2059.wgsl.expected.dxc.hlsl
@@ -171,7 +171,7 @@
     }
   }
   {
-    const float3x3 a = m;
+    float3x3 a = m;
     buffer0_store(0u, a);
   }
   {
diff --git a/test/tint/bug/tint/2059.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/2059.wgsl.expected.fxc.hlsl
index d16b843..213f45b 100644
--- a/test/tint/bug/tint/2059.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/2059.wgsl.expected.fxc.hlsl
@@ -171,7 +171,7 @@
     }
   }
   {
-    const float3x3 a = m;
+    float3x3 a = m;
     buffer0_store(0u, a);
   }
   {
diff --git a/test/tint/bug/tint/2100.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/2100.wgsl.expected.dxc.hlsl
index 6b7e066..9b80828 100644
--- a/test/tint/bug/tint/2100.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/2100.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 };
 
 float4 main_inner() {
-  const float x = asfloat(buffer[0].z);
+  float x = asfloat(buffer[0].z);
   return float4(x, 0.0f, 0.0f, 1.0f);
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/2100.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/2100.wgsl.expected.fxc.hlsl
index 6b7e066..9b80828 100644
--- a/test/tint/bug/tint/2100.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/2100.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 };
 
 float4 main_inner() {
-  const float x = asfloat(buffer[0].z);
+  float x = asfloat(buffer[0].z);
   return float4(x, 0.0f, 0.0f, 1.0f);
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/2121.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/2121.wgsl.expected.dxc.hlsl
index db50590..f976f75 100644
--- a/test/tint/bug/tint/2121.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/2121.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol_1 main() {
-  const VSOut inner_result = main_inner();
+  VSOut inner_result = main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.pos = inner_result.pos;
   return wrapper_result;
diff --git a/test/tint/bug/tint/2121.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/2121.wgsl.expected.fxc.hlsl
index db50590..f976f75 100644
--- a/test/tint/bug/tint/2121.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/2121.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol_1 main() {
-  const VSOut inner_result = main_inner();
+  VSOut inner_result = main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.pos = inner_result.pos;
   return wrapper_result;
diff --git a/test/tint/bug/tint/2146.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/2146.wgsl.expected.dxc.hlsl
index f2478b6..cae1694 100644
--- a/test/tint/bug/tint/2146.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/2146.wgsl.expected.dxc.hlsl
@@ -15,8 +15,8 @@
 [numthreads(1, 1, 1)]
 void main() {
   vector<float16_t, 4> a = (float16_t(0.0h)).xxxx;
-  const float16_t b = float16_t(1.0h);
-  const int tint_symbol_1 = 0;
+  float16_t b = float16_t(1.0h);
+  int tint_symbol_1 = 0;
   set_vector_element(a, tint_symbol_1, (a[tint_symbol_1] + b));
   return;
 }
diff --git a/test/tint/bug/tint/219.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/219.spvasm.expected.dxc.hlsl
index f8a2ad7..413b1f0 100644
--- a/test/tint/bug/tint/219.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/219.spvasm.expected.dxc.hlsl
@@ -1,11 +1,11 @@
 float x_200(inout float2 x_201) {
-  const float x_212 = x_201.x;
+  float x_212 = x_201.x;
   return x_212;
 }
 
 void main_1() {
   float2 x_11 = float2(0.0f, 0.0f);
-  const float x_12 = x_200(x_11);
+  float x_12 = x_200(x_11);
   return;
 }
 
diff --git a/test/tint/bug/tint/219.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/219.spvasm.expected.fxc.hlsl
index f8a2ad7..413b1f0 100644
--- a/test/tint/bug/tint/219.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/219.spvasm.expected.fxc.hlsl
@@ -1,11 +1,11 @@
 float x_200(inout float2 x_201) {
-  const float x_212 = x_201.x;
+  float x_212 = x_201.x;
   return x_212;
 }
 
 void main_1() {
   float2 x_11 = float2(0.0f, 0.0f);
-  const float x_12 = x_200(x_11);
+  float x_12 = x_200(x_11);
   return;
 }
 
diff --git a/test/tint/bug/tint/221.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/221.wgsl.expected.dxc.hlsl
index 07887c8..d42eb6e 100644
--- a/test/tint/bug/tint/221.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/221.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
     if ((i >= b.Load(0u))) {
       break;
     }
-    const uint p_save = i;
+    uint p_save = i;
     if ((tint_mod(i, 2u) == 0u)) {
       {
         b.Store((4u + (4u * p_save)), asuint((b.Load((4u + (4u * p_save))) * 2u)));
diff --git a/test/tint/bug/tint/221.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/221.wgsl.expected.fxc.hlsl
index 07887c8..d42eb6e 100644
--- a/test/tint/bug/tint/221.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/221.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
     if ((i >= b.Load(0u))) {
       break;
     }
-    const uint p_save = i;
+    uint p_save = i;
     if ((tint_mod(i, 2u) == 0u)) {
       {
         b.Store((4u + (4u * p_save)), asuint((b.Load((4u + (4u * p_save))) * 2u)));
diff --git a/test/tint/bug/tint/292.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/292.wgsl.expected.dxc.hlsl
index 0ac8209..4d0b84f 100644
--- a/test/tint/bug/tint/292.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/292.wgsl.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/292.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/292.wgsl.expected.fxc.hlsl
index 0ac8209..4d0b84f 100644
--- a/test/tint/bug/tint/292.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/292.wgsl.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/403.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/403.wgsl.expected.dxc.hlsl
index 7f2aabb..b7c9ef8 100644
--- a/test/tint/bug/tint/403.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/403.wgsl.expected.dxc.hlsl
@@ -30,18 +30,18 @@
 
 float4 main_inner(uint gl_VertexIndex) {
   float2 indexable[3] = (float2[3])0;
-  const float2x2 x_23 = x_20_load(0u);
-  const float2x2 x_28 = x_26_load(0u);
-  const uint x_46 = gl_VertexIndex;
-  const float2 tint_symbol_3[3] = {float2(-1.0f, 1.0f), (1.0f).xx, (-1.0f).xx};
+  float2x2 x_23 = x_20_load(0u);
+  float2x2 x_28 = x_26_load(0u);
+  uint x_46 = gl_VertexIndex;
+  float2 tint_symbol_3[3] = {float2(-1.0f, 1.0f), (1.0f).xx, (-1.0f).xx};
   indexable = tint_symbol_3;
-  const float2 x_51 = indexable[x_46];
-  const float2 x_52 = mul(x_51, float2x2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])));
+  float2 x_51 = indexable[x_46];
+  float2 x_52 = mul(x_51, float2x2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])));
   return float4(x_52.x, x_52.y, 0.0f, 1.0f);
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.gl_VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.gl_VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/403.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/403.wgsl.expected.fxc.hlsl
index 7f2aabb..b7c9ef8 100644
--- a/test/tint/bug/tint/403.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/403.wgsl.expected.fxc.hlsl
@@ -30,18 +30,18 @@
 
 float4 main_inner(uint gl_VertexIndex) {
   float2 indexable[3] = (float2[3])0;
-  const float2x2 x_23 = x_20_load(0u);
-  const float2x2 x_28 = x_26_load(0u);
-  const uint x_46 = gl_VertexIndex;
-  const float2 tint_symbol_3[3] = {float2(-1.0f, 1.0f), (1.0f).xx, (-1.0f).xx};
+  float2x2 x_23 = x_20_load(0u);
+  float2x2 x_28 = x_26_load(0u);
+  uint x_46 = gl_VertexIndex;
+  float2 tint_symbol_3[3] = {float2(-1.0f, 1.0f), (1.0f).xx, (-1.0f).xx};
   indexable = tint_symbol_3;
-  const float2 x_51 = indexable[x_46];
-  const float2 x_52 = mul(x_51, float2x2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])));
+  float2 x_51 = indexable[x_46];
+  float2 x_52 = mul(x_51, float2x2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])));
   return float4(x_52.x, x_52.y, 0.0f, 1.0f);
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.gl_VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.gl_VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/413.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/413.spvasm.expected.dxc.hlsl
index df020a2..45725c1 100644
--- a/test/tint/bug/tint/413.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/413.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint4 srcValue = uint4(0u, 0u, 0u, 0u);
   srcValue = Src.Load(int3(0, 0, 0));
   srcValue.x = (srcValue.x + 1u);
-  const uint4 x_27 = srcValue;
+  uint4 x_27 = srcValue;
   Dst[(0).xx] = x_27;
   return;
 }
diff --git a/test/tint/bug/tint/413.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/413.spvasm.expected.fxc.hlsl
index df020a2..45725c1 100644
--- a/test/tint/bug/tint/413.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/413.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint4 srcValue = uint4(0u, 0u, 0u, 0u);
   srcValue = Src.Load(int3(0, 0, 0));
   srcValue.x = (srcValue.x + 1u);
-  const uint4 x_27 = srcValue;
+  uint4 x_27 = srcValue;
   Dst[(0).xx] = x_27;
   return;
 }
diff --git a/test/tint/bug/tint/453.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/453.wgsl.expected.dxc.hlsl
index c17c16e..beaaebf 100644
--- a/test/tint/bug/tint/453.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/453.wgsl.expected.dxc.hlsl
@@ -4,11 +4,11 @@
 [numthreads(1, 1, 1)]
 void main() {
   uint4 srcValue = uint4(0u, 0u, 0u, 0u);
-  const uint4 x_22 = Src.Load(int3(0, 0, 0));
+  uint4 x_22 = Src.Load(int3(0, 0, 0));
   srcValue = x_22;
-  const uint x_24 = srcValue.x;
-  const uint x_25 = (x_24 + 1u);
-  const uint4 x_27 = srcValue;
+  uint x_24 = srcValue.x;
+  uint x_25 = (x_24 + 1u);
+  uint4 x_27 = srcValue;
   Dst[(0).xx] = x_27.xxxx;
   return;
 }
diff --git a/test/tint/bug/tint/453.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/453.wgsl.expected.fxc.hlsl
index c17c16e..beaaebf 100644
--- a/test/tint/bug/tint/453.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/453.wgsl.expected.fxc.hlsl
@@ -4,11 +4,11 @@
 [numthreads(1, 1, 1)]
 void main() {
   uint4 srcValue = uint4(0u, 0u, 0u, 0u);
-  const uint4 x_22 = Src.Load(int3(0, 0, 0));
+  uint4 x_22 = Src.Load(int3(0, 0, 0));
   srcValue = x_22;
-  const uint x_24 = srcValue.x;
-  const uint x_25 = (x_24 + 1u);
-  const uint4 x_27 = srcValue;
+  uint x_24 = srcValue.x;
+  uint x_25 = (x_24 + 1u);
+  uint4 x_27 = srcValue;
   Dst[(0).xx] = x_27.xxxx;
   return;
 }
diff --git a/test/tint/bug/tint/534.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/534.wgsl.expected.dxc.hlsl
index 0e6d501..b11f2e3 100644
--- a/test/tint/bug/tint/534.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/534.wgsl.expected.dxc.hlsl
@@ -37,7 +37,7 @@
   uint4 dstColorBits = tint_ftou(dstColor);
   {
     for(uint i = 0u; (i < uniforms[0].w); i = (i + 1u)) {
-      const uint tint_symbol_1 = i;
+      uint tint_symbol_1 = i;
       set_vector_element(srcColorBits, tint_symbol_1, ConvertToFp16FloatValue(srcColor[i]));
       bool tint_tmp_1 = success;
       if (tint_tmp_1) {
diff --git a/test/tint/bug/tint/534.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/534.wgsl.expected.fxc.hlsl
index 0e6d501..b11f2e3 100644
--- a/test/tint/bug/tint/534.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/534.wgsl.expected.fxc.hlsl
@@ -37,7 +37,7 @@
   uint4 dstColorBits = tint_ftou(dstColor);
   {
     for(uint i = 0u; (i < uniforms[0].w); i = (i + 1u)) {
-      const uint tint_symbol_1 = i;
+      uint tint_symbol_1 = i;
       set_vector_element(srcColorBits, tint_symbol_1, ConvertToFp16FloatValue(srcColor[i]));
       bool tint_tmp_1 = success;
       if (tint_tmp_1) {
diff --git a/test/tint/bug/tint/744.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/744.wgsl.expected.dxc.hlsl
index 1786617..3cd6866 100644
--- a/test/tint/bug/tint/744.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/744.wgsl.expected.dxc.hlsl
@@ -10,18 +10,18 @@
 };
 
 void main_inner(uint3 global_id) {
-  const uint2 resultCell = uint2(global_id.y, global_id.x);
-  const uint dimInner = uniforms[0].y;
-  const uint dimOutter = uniforms[1].y;
+  uint2 resultCell = uint2(global_id.y, global_id.x);
+  uint dimInner = uniforms[0].y;
+  uint dimOutter = uniforms[1].y;
   uint result = 0u;
   {
     for(uint i = 0u; (i < dimInner); i = (i + 1u)) {
-      const uint a = (i + (resultCell.x * dimInner));
-      const uint b = (resultCell.y + (i * dimOutter));
+      uint a = (i + (resultCell.x * dimInner));
+      uint b = (resultCell.y + (i * dimOutter));
       result = (result + (firstMatrix.Load((4u * a)) * secondMatrix.Load((4u * b))));
     }
   }
-  const uint index = (resultCell.y + (resultCell.x * dimOutter));
+  uint index = (resultCell.y + (resultCell.x * dimOutter));
   resultMatrix.Store((4u * index), asuint(result));
 }
 
diff --git a/test/tint/bug/tint/744.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/744.wgsl.expected.fxc.hlsl
index 1786617..3cd6866 100644
--- a/test/tint/bug/tint/744.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/744.wgsl.expected.fxc.hlsl
@@ -10,18 +10,18 @@
 };
 
 void main_inner(uint3 global_id) {
-  const uint2 resultCell = uint2(global_id.y, global_id.x);
-  const uint dimInner = uniforms[0].y;
-  const uint dimOutter = uniforms[1].y;
+  uint2 resultCell = uint2(global_id.y, global_id.x);
+  uint dimInner = uniforms[0].y;
+  uint dimOutter = uniforms[1].y;
   uint result = 0u;
   {
     for(uint i = 0u; (i < dimInner); i = (i + 1u)) {
-      const uint a = (i + (resultCell.x * dimInner));
-      const uint b = (resultCell.y + (i * dimOutter));
+      uint a = (i + (resultCell.x * dimInner));
+      uint b = (resultCell.y + (i * dimOutter));
       result = (result + (firstMatrix.Load((4u * a)) * secondMatrix.Load((4u * b))));
     }
   }
-  const uint index = (resultCell.y + (resultCell.x * dimOutter));
+  uint index = (resultCell.y + (resultCell.x * dimOutter));
   resultMatrix.Store((4u * index), asuint(result));
 }
 
diff --git a/test/tint/bug/tint/764.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/764.wgsl.expected.dxc.hlsl
index b67a7dc..15d213f 100644
--- a/test/tint/bug/tint/764.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/764.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 void f() {
-  const float4x4 m = float4x4((1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx);
-  const float4 v1 = m[0];
-  const float a = v1[0];
+  float4x4 m = float4x4((1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx);
+  float4 v1 = m[0];
+  float a = v1[0];
 }
diff --git a/test/tint/bug/tint/764.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/764.wgsl.expected.fxc.hlsl
index b67a7dc..15d213f 100644
--- a/test/tint/bug/tint/764.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/764.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 void f() {
-  const float4x4 m = float4x4((1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx);
-  const float4 v1 = m[0];
-  const float a = v1[0];
+  float4x4 m = float4x4((1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx, (1.0f).xxxx);
+  float4 v1 = m[0];
+  float a = v1[0];
 }
diff --git a/test/tint/bug/tint/824.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/824.wgsl.expected.dxc.hlsl
index cef190b..d9ec6df 100644
--- a/test/tint/bug/tint/824.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/824.wgsl.expected.dxc.hlsl
@@ -12,17 +12,17 @@
 };
 
 Output main_inner(uint VertexIndex, uint InstanceIndex) {
-  const float2 zv[4] = {(0.20000000298023223877f).xx, (0.30000001192092895508f).xx, (-0.10000000149011611938f).xx, (1.10000002384185791016f).xx};
-  const float z = zv[InstanceIndex].x;
+  float2 zv[4] = {(0.20000000298023223877f).xx, (0.30000001192092895508f).xx, (-0.10000000149011611938f).xx, (1.10000002384185791016f).xx};
+  float z = zv[InstanceIndex].x;
   Output output = (Output)0;
   output.Position = float4(0.5f, 0.5f, z, 1.0f);
-  const float4 colors[4] = {float4(1.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(0.0f, 0.0f, 1.0f, 1.0f), (1.0f).xxxx};
+  float4 colors[4] = {float4(1.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(0.0f, 0.0f, 1.0f, 1.0f), (1.0f).xxxx};
   output.color = colors[InstanceIndex];
   return output;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const Output inner_result = main_inner(tint_symbol.VertexIndex, tint_symbol.InstanceIndex);
+  Output inner_result = main_inner(tint_symbol.VertexIndex, tint_symbol.InstanceIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.Position = inner_result.Position;
   wrapper_result.color = inner_result.color;
diff --git a/test/tint/bug/tint/824.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/824.wgsl.expected.fxc.hlsl
index cef190b..d9ec6df 100644
--- a/test/tint/bug/tint/824.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/824.wgsl.expected.fxc.hlsl
@@ -12,17 +12,17 @@
 };
 
 Output main_inner(uint VertexIndex, uint InstanceIndex) {
-  const float2 zv[4] = {(0.20000000298023223877f).xx, (0.30000001192092895508f).xx, (-0.10000000149011611938f).xx, (1.10000002384185791016f).xx};
-  const float z = zv[InstanceIndex].x;
+  float2 zv[4] = {(0.20000000298023223877f).xx, (0.30000001192092895508f).xx, (-0.10000000149011611938f).xx, (1.10000002384185791016f).xx};
+  float z = zv[InstanceIndex].x;
   Output output = (Output)0;
   output.Position = float4(0.5f, 0.5f, z, 1.0f);
-  const float4 colors[4] = {float4(1.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(0.0f, 0.0f, 1.0f, 1.0f), (1.0f).xxxx};
+  float4 colors[4] = {float4(1.0f, 0.0f, 0.0f, 1.0f), float4(0.0f, 1.0f, 0.0f, 1.0f), float4(0.0f, 0.0f, 1.0f, 1.0f), (1.0f).xxxx};
   output.color = colors[InstanceIndex];
   return output;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const Output inner_result = main_inner(tint_symbol.VertexIndex, tint_symbol.InstanceIndex);
+  Output inner_result = main_inner(tint_symbol.VertexIndex, tint_symbol.InstanceIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.Position = inner_result.Position;
   wrapper_result.color = inner_result.color;
diff --git a/test/tint/bug/tint/825.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/825.wgsl.expected.dxc.hlsl
index f38475d..1d6cae1 100644
--- a/test/tint/bug/tint/825.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/825.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int i = 0;
   int j = 0;
-  const float2x2 m = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f));
-  const float f_1 = m[i][j];
+  float2x2 m = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f));
+  float f_1 = m[i][j];
 }
diff --git a/test/tint/bug/tint/825.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/825.wgsl.expected.fxc.hlsl
index f38475d..1d6cae1 100644
--- a/test/tint/bug/tint/825.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/825.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int i = 0;
   int j = 0;
-  const float2x2 m = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f));
-  const float f_1 = m[i][j];
+  float2x2 m = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f));
+  float f_1 = m[i][j];
 }
diff --git a/test/tint/bug/tint/870.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/870.spvasm.expected.dxc.hlsl
index dee673a..ec2a54f 100644
--- a/test/tint/bug/tint/870.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/870.spvasm.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 
 void main_1() {
   int orientation[6] = (int[6])0;
-  const int x_23[6] = sspp962805860buildInformation_load(36u);
+  int x_23[6] = sspp962805860buildInformation_load(36u);
   orientation[0] = x_23[0u];
   orientation[1] = x_23[1u];
   orientation[2] = x_23[2u];
diff --git a/test/tint/bug/tint/870.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/870.spvasm.expected.fxc.hlsl
index dee673a..ec2a54f 100644
--- a/test/tint/bug/tint/870.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/870.spvasm.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 
 void main_1() {
   int orientation[6] = (int[6])0;
-  const int x_23[6] = sspp962805860buildInformation_load(36u);
+  int x_23[6] = sspp962805860buildInformation_load(36u);
   orientation[0] = x_23[0u];
   orientation[1] = x_23[1u];
   orientation[2] = x_23[2u];
diff --git a/test/tint/bug/tint/913.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/913.wgsl.expected.dxc.hlsl
index 6b6252f..63f481a 100644
--- a/test/tint/bug/tint/913.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/913.wgsl.expected.dxc.hlsl
@@ -16,12 +16,12 @@
 void main_inner(uint3 GlobalInvocationID) {
   uint2 tint_tmp;
   src.GetDimensions(tint_tmp.x, tint_tmp.y);
-  const uint2 srcSize = tint_tmp;
+  uint2 srcSize = tint_tmp;
   uint2 tint_tmp_1;
   tint_symbol.GetDimensions(tint_tmp_1.x, tint_tmp_1.y);
-  const uint2 dstSize = tint_tmp_1;
-  const uint2 dstTexCoord = uint2(GlobalInvocationID.xy);
-  const float4 nonCoveredColor = float4(0.0f, 1.0f, 0.0f, 1.0f);
+  uint2 dstSize = tint_tmp_1;
+  uint2 dstTexCoord = uint2(GlobalInvocationID.xy);
+  float4 nonCoveredColor = float4(0.0f, 1.0f, 0.0f, 1.0f);
   bool success = true;
   bool tint_tmp_4 = (dstTexCoord.x < uniforms[1].x);
   if (!tint_tmp_4) {
@@ -46,8 +46,8 @@
     if ((uniforms[0].x == 1u)) {
       srcTexCoord.y = ((srcSize.y - srcTexCoord.y) - 1u);
     }
-    const float4 srcColor = src.Load(int3(int2(srcTexCoord), 0));
-    const float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 0));
+    float4 srcColor = src.Load(int3(int2(srcTexCoord), 0));
+    float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 0));
     if ((uniforms[0].y == 2u)) {
       bool tint_symbol_2 = success;
       if (tint_symbol_2) {
@@ -78,7 +78,7 @@
       success = tint_symbol_3;
     }
   }
-  const uint outputIndex = ((GlobalInvocationID.y * dstSize.x) + GlobalInvocationID.x);
+  uint outputIndex = ((GlobalInvocationID.y * dstSize.x) + GlobalInvocationID.x);
   if (success) {
     output.Store((4u * outputIndex), asuint(1u));
   } else {
diff --git a/test/tint/bug/tint/913.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/913.wgsl.expected.fxc.hlsl
index 6b6252f..63f481a 100644
--- a/test/tint/bug/tint/913.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/913.wgsl.expected.fxc.hlsl
@@ -16,12 +16,12 @@
 void main_inner(uint3 GlobalInvocationID) {
   uint2 tint_tmp;
   src.GetDimensions(tint_tmp.x, tint_tmp.y);
-  const uint2 srcSize = tint_tmp;
+  uint2 srcSize = tint_tmp;
   uint2 tint_tmp_1;
   tint_symbol.GetDimensions(tint_tmp_1.x, tint_tmp_1.y);
-  const uint2 dstSize = tint_tmp_1;
-  const uint2 dstTexCoord = uint2(GlobalInvocationID.xy);
-  const float4 nonCoveredColor = float4(0.0f, 1.0f, 0.0f, 1.0f);
+  uint2 dstSize = tint_tmp_1;
+  uint2 dstTexCoord = uint2(GlobalInvocationID.xy);
+  float4 nonCoveredColor = float4(0.0f, 1.0f, 0.0f, 1.0f);
   bool success = true;
   bool tint_tmp_4 = (dstTexCoord.x < uniforms[1].x);
   if (!tint_tmp_4) {
@@ -46,8 +46,8 @@
     if ((uniforms[0].x == 1u)) {
       srcTexCoord.y = ((srcSize.y - srcTexCoord.y) - 1u);
     }
-    const float4 srcColor = src.Load(int3(int2(srcTexCoord), 0));
-    const float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 0));
+    float4 srcColor = src.Load(int3(int2(srcTexCoord), 0));
+    float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 0));
     if ((uniforms[0].y == 2u)) {
       bool tint_symbol_2 = success;
       if (tint_symbol_2) {
@@ -78,7 +78,7 @@
       success = tint_symbol_3;
     }
   }
-  const uint outputIndex = ((GlobalInvocationID.y * dstSize.x) + GlobalInvocationID.x);
+  uint outputIndex = ((GlobalInvocationID.y * dstSize.x) + GlobalInvocationID.x);
   if (success) {
     output.Store((4u * outputIndex), asuint(1u));
   } else {
diff --git a/test/tint/bug/tint/914.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/914.wgsl.expected.dxc.hlsl
index bab68a3..e115b3b 100644
--- a/test/tint/bug/tint/914.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/914.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
     tint_tmp = (col < uniforms[0].y);
   }
   if ((tint_tmp)) {
-    const float result = asfloat(firstMatrix.Load((4u * ((row * uniforms[0].y) + col))));
+    float result = asfloat(firstMatrix.Load((4u * ((row * uniforms[0].y) + col))));
     return result;
   }
   return 0.0f;
@@ -23,7 +23,7 @@
     tint_tmp_1 = (col < uniforms[0].z);
   }
   if ((tint_tmp_1)) {
-    const float result = asfloat(secondMatrix.Load((4u * ((row * uniforms[0].z) + col))));
+    float result = asfloat(secondMatrix.Load((4u * ((row * uniforms[0].z) + col))));
     return result;
   }
   return 0.0f;
@@ -35,7 +35,7 @@
     tint_tmp_2 = (col < uniforms[0].z);
   }
   if ((tint_tmp_2)) {
-    const uint index = (col + (row * uniforms[0].z));
+    uint index = (col + (row * uniforms[0].z));
     resultMatrix.Store((4u * index), asuint(value));
   }
 }
@@ -56,18 +56,18 @@
 void main_inner(uint3 local_id, uint3 global_id, uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4096u); idx = (idx + 256u)) {
-      const uint i = (idx / 64u);
-      const uint i_1 = (idx % 64u);
+      uint i = (idx / 64u);
+      uint i_1 = (idx % 64u);
       mm_Asub[i][i_1] = 0.0f;
       mm_Bsub[i][i_1] = 0.0f;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tileRow = (local_id.y * 4u);
-  const uint tileCol = (local_id.x * 4u);
-  const uint globalRow = (global_id.y * 4u);
-  const uint globalCol = (global_id.x * 4u);
-  const uint numTiles = (tint_div((uniforms[0].y - 1u), 64u) + 1u);
+  uint tileRow = (local_id.y * 4u);
+  uint tileCol = (local_id.x * 4u);
+  uint globalRow = (global_id.y * 4u);
+  uint globalCol = (global_id.x * 4u);
+  uint numTiles = (tint_div((uniforms[0].y - 1u), 64u) + 1u);
   float acc[16] = (float[16])0;
   float ACached = 0.0f;
   float BCached[4] = (float[4])0;
@@ -76,20 +76,20 @@
       acc[index] = 0.0f;
     }
   }
-  const uint ColPerThreadA = 4u;
-  const uint tileColA = (local_id.x * ColPerThreadA);
-  const uint RowPerThreadB = 4u;
-  const uint tileRowB = (local_id.y * RowPerThreadB);
+  uint ColPerThreadA = 4u;
+  uint tileColA = (local_id.x * ColPerThreadA);
+  uint RowPerThreadB = 4u;
+  uint tileRowB = (local_id.y * RowPerThreadB);
   {
     for(uint t = 0u; (t < numTiles); t = (t + 1u)) {
       {
         for(uint innerRow = 0u; (innerRow < 4u); innerRow = (innerRow + 1u)) {
           {
             for(uint innerCol = 0u; (innerCol < ColPerThreadA); innerCol = (innerCol + 1u)) {
-              const uint inputRow = (tileRow + innerRow);
-              const uint inputCol = (tileColA + innerCol);
-              const uint tint_symbol = inputRow;
-              const uint tint_symbol_1 = inputCol;
+              uint inputRow = (tileRow + innerRow);
+              uint inputCol = (tileColA + innerCol);
+              uint tint_symbol = inputRow;
+              uint tint_symbol_1 = inputCol;
               mm_Asub[tint_symbol][tint_symbol_1] = mm_readA((globalRow + innerRow), ((t * 64u) + inputCol));
             }
           }
@@ -99,10 +99,10 @@
         for(uint innerRow = 0u; (innerRow < RowPerThreadB); innerRow = (innerRow + 1u)) {
           {
             for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-              const uint inputRow = (tileRowB + innerRow);
-              const uint inputCol = (tileCol + innerCol);
-              const uint tint_symbol_2 = innerCol;
-              const uint tint_symbol_3 = inputCol;
+              uint inputRow = (tileRowB + innerRow);
+              uint inputCol = (tileCol + innerCol);
+              uint tint_symbol_2 = innerCol;
+              uint tint_symbol_3 = inputCol;
               mm_Bsub[tint_symbol_2][tint_symbol_3] = mm_readB(((t * 64u) + inputRow), (globalCol + innerCol));
             }
           }
@@ -121,7 +121,7 @@
               ACached = mm_Asub[(tileRow + innerRow)][k];
               {
                 for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-                  const uint index = ((innerRow * 4u) + innerCol);
+                  uint index = ((innerRow * 4u) + innerCol);
                   acc[index] = (acc[index] + (ACached * BCached[innerCol]));
                 }
               }
@@ -136,7 +136,7 @@
     for(uint innerRow = 0u; (innerRow < 4u); innerRow = (innerRow + 1u)) {
       {
         for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-          const uint index = ((innerRow * 4u) + innerCol);
+          uint index = ((innerRow * 4u) + innerCol);
           mm_write((globalRow + innerRow), (globalCol + innerCol), acc[index]);
         }
       }
diff --git a/test/tint/bug/tint/914.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/914.wgsl.expected.fxc.hlsl
index bab68a3..e115b3b 100644
--- a/test/tint/bug/tint/914.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/914.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
     tint_tmp = (col < uniforms[0].y);
   }
   if ((tint_tmp)) {
-    const float result = asfloat(firstMatrix.Load((4u * ((row * uniforms[0].y) + col))));
+    float result = asfloat(firstMatrix.Load((4u * ((row * uniforms[0].y) + col))));
     return result;
   }
   return 0.0f;
@@ -23,7 +23,7 @@
     tint_tmp_1 = (col < uniforms[0].z);
   }
   if ((tint_tmp_1)) {
-    const float result = asfloat(secondMatrix.Load((4u * ((row * uniforms[0].z) + col))));
+    float result = asfloat(secondMatrix.Load((4u * ((row * uniforms[0].z) + col))));
     return result;
   }
   return 0.0f;
@@ -35,7 +35,7 @@
     tint_tmp_2 = (col < uniforms[0].z);
   }
   if ((tint_tmp_2)) {
-    const uint index = (col + (row * uniforms[0].z));
+    uint index = (col + (row * uniforms[0].z));
     resultMatrix.Store((4u * index), asuint(value));
   }
 }
@@ -56,18 +56,18 @@
 void main_inner(uint3 local_id, uint3 global_id, uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4096u); idx = (idx + 256u)) {
-      const uint i = (idx / 64u);
-      const uint i_1 = (idx % 64u);
+      uint i = (idx / 64u);
+      uint i_1 = (idx % 64u);
       mm_Asub[i][i_1] = 0.0f;
       mm_Bsub[i][i_1] = 0.0f;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tileRow = (local_id.y * 4u);
-  const uint tileCol = (local_id.x * 4u);
-  const uint globalRow = (global_id.y * 4u);
-  const uint globalCol = (global_id.x * 4u);
-  const uint numTiles = (tint_div((uniforms[0].y - 1u), 64u) + 1u);
+  uint tileRow = (local_id.y * 4u);
+  uint tileCol = (local_id.x * 4u);
+  uint globalRow = (global_id.y * 4u);
+  uint globalCol = (global_id.x * 4u);
+  uint numTiles = (tint_div((uniforms[0].y - 1u), 64u) + 1u);
   float acc[16] = (float[16])0;
   float ACached = 0.0f;
   float BCached[4] = (float[4])0;
@@ -76,20 +76,20 @@
       acc[index] = 0.0f;
     }
   }
-  const uint ColPerThreadA = 4u;
-  const uint tileColA = (local_id.x * ColPerThreadA);
-  const uint RowPerThreadB = 4u;
-  const uint tileRowB = (local_id.y * RowPerThreadB);
+  uint ColPerThreadA = 4u;
+  uint tileColA = (local_id.x * ColPerThreadA);
+  uint RowPerThreadB = 4u;
+  uint tileRowB = (local_id.y * RowPerThreadB);
   {
     for(uint t = 0u; (t < numTiles); t = (t + 1u)) {
       {
         for(uint innerRow = 0u; (innerRow < 4u); innerRow = (innerRow + 1u)) {
           {
             for(uint innerCol = 0u; (innerCol < ColPerThreadA); innerCol = (innerCol + 1u)) {
-              const uint inputRow = (tileRow + innerRow);
-              const uint inputCol = (tileColA + innerCol);
-              const uint tint_symbol = inputRow;
-              const uint tint_symbol_1 = inputCol;
+              uint inputRow = (tileRow + innerRow);
+              uint inputCol = (tileColA + innerCol);
+              uint tint_symbol = inputRow;
+              uint tint_symbol_1 = inputCol;
               mm_Asub[tint_symbol][tint_symbol_1] = mm_readA((globalRow + innerRow), ((t * 64u) + inputCol));
             }
           }
@@ -99,10 +99,10 @@
         for(uint innerRow = 0u; (innerRow < RowPerThreadB); innerRow = (innerRow + 1u)) {
           {
             for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-              const uint inputRow = (tileRowB + innerRow);
-              const uint inputCol = (tileCol + innerCol);
-              const uint tint_symbol_2 = innerCol;
-              const uint tint_symbol_3 = inputCol;
+              uint inputRow = (tileRowB + innerRow);
+              uint inputCol = (tileCol + innerCol);
+              uint tint_symbol_2 = innerCol;
+              uint tint_symbol_3 = inputCol;
               mm_Bsub[tint_symbol_2][tint_symbol_3] = mm_readB(((t * 64u) + inputRow), (globalCol + innerCol));
             }
           }
@@ -121,7 +121,7 @@
               ACached = mm_Asub[(tileRow + innerRow)][k];
               {
                 for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-                  const uint index = ((innerRow * 4u) + innerCol);
+                  uint index = ((innerRow * 4u) + innerCol);
                   acc[index] = (acc[index] + (ACached * BCached[innerCol]));
                 }
               }
@@ -136,7 +136,7 @@
     for(uint innerRow = 0u; (innerRow < 4u); innerRow = (innerRow + 1u)) {
       {
         for(uint innerCol = 0u; (innerCol < 4u); innerCol = (innerCol + 1u)) {
-          const uint index = ((innerRow * 4u) + innerCol);
+          uint index = ((innerRow * 4u) + innerCol);
           mm_write((globalRow + innerRow), (globalCol + innerCol), acc[index]);
         }
       }
diff --git a/test/tint/bug/tint/922.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/922.wgsl.expected.dxc.hlsl
index c15674a..318edf6 100644
--- a/test/tint/bug/tint/922.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/922.wgsl.expected.dxc.hlsl
@@ -44,36 +44,36 @@
 float3 Mat4x3GetCol0_(Mat4x3_ m) {
   Mat4x3_ m1 = (Mat4x3_)0;
   m1 = m;
-  const Mat4x3_ x_e2 = m1;
-  const Mat4x3_ x_e5 = m1;
-  const Mat4x3_ x_e8 = m1;
+  Mat4x3_ x_e2 = m1;
+  Mat4x3_ x_e5 = m1;
+  Mat4x3_ x_e8 = m1;
   return float3(x_e2.mx.x, x_e5.my.x, x_e8.mz.x);
 }
 
 float3 Mat4x3GetCol1_(Mat4x3_ m2) {
   Mat4x3_ m3 = (Mat4x3_)0;
   m3 = m2;
-  const Mat4x3_ x_e2 = m3;
-  const Mat4x3_ x_e5 = m3;
-  const Mat4x3_ x_e8 = m3;
+  Mat4x3_ x_e2 = m3;
+  Mat4x3_ x_e5 = m3;
+  Mat4x3_ x_e8 = m3;
   return float3(x_e2.mx.y, x_e5.my.y, x_e8.mz.y);
 }
 
 float3 Mat4x3GetCol2_(Mat4x3_ m4) {
   Mat4x3_ m5 = (Mat4x3_)0;
   m5 = m4;
-  const Mat4x3_ x_e2 = m5;
-  const Mat4x3_ x_e5 = m5;
-  const Mat4x3_ x_e8 = m5;
+  Mat4x3_ x_e2 = m5;
+  Mat4x3_ x_e5 = m5;
+  Mat4x3_ x_e8 = m5;
   return float3(x_e2.mx.z, x_e5.my.z, x_e8.mz.z);
 }
 
 float3 Mat4x3GetCol3_(Mat4x3_ m6) {
   Mat4x3_ m7 = (Mat4x3_)0;
   m7 = m6;
-  const Mat4x3_ x_e2 = m7;
-  const Mat4x3_ x_e5 = m7;
-  const Mat4x3_ x_e8 = m7;
+  Mat4x3_ x_e2 = m7;
+  Mat4x3_ x_e5 = m7;
+  Mat4x3_ x_e8 = m7;
   return float3(x_e2.mx.w, x_e5.my.w, x_e8.mz.w);
 }
 
@@ -82,14 +82,14 @@
   float4 v1 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m9 = m8;
   v1 = v;
-  const Mat4x4_ x_e4 = m9;
-  const float4 x_e6 = v1;
-  const Mat4x4_ x_e8 = m9;
-  const float4 x_e10 = v1;
-  const Mat4x4_ x_e12 = m9;
-  const float4 x_e14 = v1;
-  const Mat4x4_ x_e16 = m9;
-  const float4 x_e18 = v1;
+  Mat4x4_ x_e4 = m9;
+  float4 x_e6 = v1;
+  Mat4x4_ x_e8 = m9;
+  float4 x_e10 = v1;
+  Mat4x4_ x_e12 = m9;
+  float4 x_e14 = v1;
+  Mat4x4_ x_e16 = m9;
+  float4 x_e18 = v1;
   return float4(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10), dot(x_e12.mz, x_e14), dot(x_e16.mw, x_e18));
 }
 
@@ -98,12 +98,12 @@
   float4 v3 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m11 = m10;
   v3 = v2;
-  const Mat4x3_ x_e4 = m11;
-  const float4 x_e6 = v3;
-  const Mat4x3_ x_e8 = m11;
-  const float4 x_e10 = v3;
-  const Mat4x3_ x_e12 = m11;
-  const float4 x_e14 = v3;
+  Mat4x3_ x_e4 = m11;
+  float4 x_e6 = v3;
+  Mat4x3_ x_e8 = m11;
+  float4 x_e10 = v3;
+  Mat4x3_ x_e12 = m11;
+  float4 x_e14 = v3;
   return float3(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10), dot(x_e12.mz, x_e14));
 }
 
@@ -112,10 +112,10 @@
   float4 v5 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m13 = m12;
   v5 = v4;
-  const Mat4x2_ x_e4 = m13;
-  const float4 x_e6 = v5;
-  const Mat4x2_ x_e8 = m13;
-  const float4 x_e10 = v5;
+  Mat4x2_ x_e4 = m13;
+  float4 x_e6 = v5;
+  Mat4x2_ x_e8 = m13;
+  float4 x_e10 = v5;
   return float2(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10));
 }
 
@@ -124,18 +124,18 @@
   Mat4x3_ m15 = (Mat4x3_)0;
   v7 = v6;
   m15 = m14;
-  const Mat4x3_ x_e5 = m15;
-  const float3 x_e6 = Mat4x3GetCol0_(x_e5);
-  const float3 x_e7 = v7;
-  const Mat4x3_ x_e10 = m15;
-  const float3 x_e11 = Mat4x3GetCol1_(x_e10);
-  const float3 x_e12 = v7;
-  const Mat4x3_ x_e15 = m15;
-  const float3 x_e16 = Mat4x3GetCol2_(x_e15);
-  const float3 x_e17 = v7;
-  const Mat4x3_ x_e20 = m15;
-  const float3 x_e21 = Mat4x3GetCol3_(x_e20);
-  const float3 x_e22 = v7;
+  Mat4x3_ x_e5 = m15;
+  float3 x_e6 = Mat4x3GetCol0_(x_e5);
+  float3 x_e7 = v7;
+  Mat4x3_ x_e10 = m15;
+  float3 x_e11 = Mat4x3GetCol1_(x_e10);
+  float3 x_e12 = v7;
+  Mat4x3_ x_e15 = m15;
+  float3 x_e16 = Mat4x3GetCol2_(x_e15);
+  float3 x_e17 = v7;
+  Mat4x3_ x_e20 = m15;
+  float3 x_e21 = Mat4x3GetCol3_(x_e20);
+  float3 x_e22 = v7;
   return float4(dot(x_e6, x_e7), dot(x_e11, x_e12), dot(x_e16, x_e17), dot(x_e21, x_e22));
 }
 
@@ -143,15 +143,15 @@
   float n1 = 0.0f;
   Mat4x4_ o = (Mat4x4_)0;
   n1 = n;
-  const float x_e4 = n1;
+  float x_e4 = n1;
   o.mx = float4(x_e4, 0.0f, 0.0f, 0.0f);
-  const float x_e11 = n1;
+  float x_e11 = n1;
   o.my = float4(0.0f, x_e11, 0.0f, 0.0f);
-  const float x_e18 = n1;
+  float x_e18 = n1;
   o.mz = float4(0.0f, 0.0f, x_e18, 0.0f);
-  const float x_e25 = n1;
+  float x_e25 = n1;
   o.mw = float4(0.0f, 0.0f, 0.0f, x_e25);
-  const Mat4x4_ x_e27 = o;
+  Mat4x4_ x_e27 = o;
   return x_e27;
 }
 
@@ -159,15 +159,15 @@
   Mat4x3_ m17 = (Mat4x3_)0;
   Mat4x4_ o1 = (Mat4x4_)0;
   m17 = m16;
-  const Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
+  Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
   o1 = x_e4;
-  const Mat4x3_ x_e7 = m17;
+  Mat4x3_ x_e7 = m17;
   o1.mx = x_e7.mx;
-  const Mat4x3_ x_e10 = m17;
+  Mat4x3_ x_e10 = m17;
   o1.my = x_e10.my;
-  const Mat4x3_ x_e13 = m17;
+  Mat4x3_ x_e13 = m17;
   o1.mz = x_e13.mz;
-  const Mat4x4_ x_e15 = o1;
+  Mat4x4_ x_e15 = o1;
   return x_e15;
 }
 
@@ -175,13 +175,13 @@
   Mat4x2_ m19 = (Mat4x2_)0;
   Mat4x4_ o2 = (Mat4x4_)0;
   m19 = m18;
-  const Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
+  Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
   o2 = x_e4;
-  const Mat4x2_ x_e7 = m19;
+  Mat4x2_ x_e7 = m19;
   o2.mx = x_e7.mx;
-  const Mat4x2_ x_e10 = m19;
+  Mat4x2_ x_e10 = m19;
   o2.my = x_e10.my;
-  const Mat4x4_ x_e12 = o2;
+  Mat4x4_ x_e12 = o2;
   return x_e12;
 }
 
@@ -189,13 +189,13 @@
   float n3 = 0.0f;
   Mat4x3_ o3 = (Mat4x3_)0;
   n3 = n2;
-  const float x_e4 = n3;
+  float x_e4 = n3;
   o3.mx = float4(x_e4, 0.0f, 0.0f, 0.0f);
-  const float x_e11 = n3;
+  float x_e11 = n3;
   o3.my = float4(0.0f, x_e11, 0.0f, 0.0f);
-  const float x_e18 = n3;
+  float x_e18 = n3;
   o3.mz = float4(0.0f, 0.0f, x_e18, 0.0f);
-  const Mat4x3_ x_e21 = o3;
+  Mat4x3_ x_e21 = o3;
   return x_e21;
 }
 
@@ -203,13 +203,13 @@
   Mat4x4_ m21 = (Mat4x4_)0;
   Mat4x3_ o4 = (Mat4x3_)0;
   m21 = m20;
-  const Mat4x4_ x_e4 = m21;
+  Mat4x4_ x_e4 = m21;
   o4.mx = x_e4.mx;
-  const Mat4x4_ x_e7 = m21;
+  Mat4x4_ x_e7 = m21;
   o4.my = x_e7.my;
-  const Mat4x4_ x_e10 = m21;
+  Mat4x4_ x_e10 = m21;
   o4.mz = x_e10.mz;
-  const Mat4x3_ x_e12 = o4;
+  Mat4x3_ x_e12 = o4;
   return x_e12;
 }
 
@@ -217,7 +217,7 @@
   const uint scalar_offset = ((offset + 0u)) / 4;
   const uint scalar_offset_1 = ((offset + 16u)) / 4;
   const uint scalar_offset_2 = ((offset + 32u)) / 4;
-  const Mat4x3_ tint_symbol_3 = {asfloat(global2[scalar_offset / 4]), asfloat(global2[scalar_offset_1 / 4]), asfloat(global2[scalar_offset_2 / 4])};
+  Mat4x3_ tint_symbol_3 = {asfloat(global2[scalar_offset / 4]), asfloat(global2[scalar_offset_1 / 4]), asfloat(global2[scalar_offset_2 / 4])};
   return tint_symbol_3;
 }
 
@@ -226,58 +226,58 @@
   const uint scalar_offset_4 = ((offset + 16u)) / 4;
   const uint scalar_offset_5 = ((offset + 32u)) / 4;
   const uint scalar_offset_6 = ((offset + 48u)) / 4;
-  const Mat4x4_ tint_symbol_4 = {asfloat(global[scalar_offset_3 / 4]), asfloat(global[scalar_offset_4 / 4]), asfloat(global[scalar_offset_5 / 4]), asfloat(global[scalar_offset_6 / 4])};
+  Mat4x4_ tint_symbol_4 = {asfloat(global[scalar_offset_3 / 4]), asfloat(global[scalar_offset_4 / 4]), asfloat(global[scalar_offset_5 / 4]), asfloat(global[scalar_offset_6 / 4])};
   return tint_symbol_4;
 }
 
 Mat4x2_ global1_load_1(uint offset) {
   const uint scalar_offset_7 = ((offset + 0u)) / 4;
   const uint scalar_offset_8 = ((offset + 16u)) / 4;
-  const Mat4x2_ tint_symbol_5 = {asfloat(global1[scalar_offset_7 / 4]), asfloat(global1[scalar_offset_8 / 4])};
+  Mat4x2_ tint_symbol_5 = {asfloat(global1[scalar_offset_7 / 4]), asfloat(global1[scalar_offset_8 / 4])};
   return tint_symbol_5;
 }
 
 void main1() {
   Mat4x3_ t_PosMtx = (Mat4x3_)0;
   float2 t_TexSpaceCoord = float2(0.0f, 0.0f);
-  const float x_e15 = a_PosMtxIdx1;
-  const Mat4x3_ x_e18 = global2_load((48u * uint(tint_ftoi(x_e15))));
+  float x_e15 = a_PosMtxIdx1;
+  Mat4x3_ x_e18 = global2_load((48u * uint(tint_ftoi(x_e15))));
   t_PosMtx = x_e18;
-  const Mat4x3_ x_e23 = t_PosMtx;
-  const Mat4x4_ x_e24 = x_Mat4x4_1(x_e23);
-  const float3 x_e25 = a_Position1;
-  const Mat4x3_ x_e29 = t_PosMtx;
-  const Mat4x4_ x_e30 = x_Mat4x4_1(x_e29);
-  const float3 x_e31 = a_Position1;
-  const float4 x_e34 = Mul(x_e30, float4(x_e31, 1.0f));
-  const Mat4x4_ x_e35 = global_load(0u);
-  const Mat4x3_ x_e37 = t_PosMtx;
-  const Mat4x4_ x_e38 = x_Mat4x4_1(x_e37);
-  const float3 x_e39 = a_Position1;
-  const Mat4x3_ x_e43 = t_PosMtx;
-  const Mat4x4_ x_e44 = x_Mat4x4_1(x_e43);
-  const float3 x_e45 = a_Position1;
-  const float4 x_e48 = Mul(x_e44, float4(x_e45, 1.0f));
-  const float4 x_e49 = Mul(x_e35, x_e48);
+  Mat4x3_ x_e23 = t_PosMtx;
+  Mat4x4_ x_e24 = x_Mat4x4_1(x_e23);
+  float3 x_e25 = a_Position1;
+  Mat4x3_ x_e29 = t_PosMtx;
+  Mat4x4_ x_e30 = x_Mat4x4_1(x_e29);
+  float3 x_e31 = a_Position1;
+  float4 x_e34 = Mul(x_e30, float4(x_e31, 1.0f));
+  Mat4x4_ x_e35 = global_load(0u);
+  Mat4x3_ x_e37 = t_PosMtx;
+  Mat4x4_ x_e38 = x_Mat4x4_1(x_e37);
+  float3 x_e39 = a_Position1;
+  Mat4x3_ x_e43 = t_PosMtx;
+  Mat4x4_ x_e44 = x_Mat4x4_1(x_e43);
+  float3 x_e45 = a_Position1;
+  float4 x_e48 = Mul(x_e44, float4(x_e45, 1.0f));
+  float4 x_e49 = Mul(x_e35, x_e48);
   gl_Position = x_e49;
-  const float4 x_e50 = a_Color1;
+  float4 x_e50 = a_Color1;
   v_Color = x_e50;
-  const float4 x_e52 = asfloat(global1[2]);
+  float4 x_e52 = asfloat(global1[2]);
   if ((x_e52.x == 2.0f)) {
     {
-      const float3 x_e59 = a_Normal1;
-      const Mat4x2_ x_e64 = global1_load_1(0u);
-      const float3 x_e65 = a_Normal1;
-      const float2 x_e68 = Mul2(x_e64, float4(x_e65, 1.0f));
+      float3 x_e59 = a_Normal1;
+      Mat4x2_ x_e64 = global1_load_1(0u);
+      float3 x_e65 = a_Normal1;
+      float2 x_e68 = Mul2(x_e64, float4(x_e65, 1.0f));
       v_TexCoord = x_e68.xy;
       return;
     }
   } else {
     {
-      const float2 x_e73 = a_UV1;
-      const Mat4x2_ x_e79 = global1_load_1(0u);
-      const float2 x_e80 = a_UV1;
-      const float2 x_e84 = Mul2(x_e79, float4(x_e80, 1.0f, 1.0f));
+      float2 x_e73 = a_UV1;
+      Mat4x2_ x_e79 = global1_load_1(0u);
+      float2 x_e80 = a_UV1;
+      float2 x_e84 = Mul2(x_e79, float4(x_e80, 1.0f, 1.0f));
       v_TexCoord = x_e84.xy;
       return;
     }
@@ -304,15 +304,15 @@
   a_Normal1 = a_Normal;
   a_PosMtxIdx1 = a_PosMtxIdx;
   main1();
-  const float4 x_e11 = v_Color;
-  const float2 x_e13 = v_TexCoord;
-  const float4 x_e15 = gl_Position;
-  const VertexOutput tint_symbol_6 = {x_e11, x_e13, x_e15};
+  float4 x_e11 = v_Color;
+  float2 x_e13 = v_TexCoord;
+  float4 x_e15 = gl_Position;
+  VertexOutput tint_symbol_6 = {x_e11, x_e13, x_e15};
   return tint_symbol_6;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexOutput inner_result = main_inner(tint_symbol.a_Position, tint_symbol.a_UV, tint_symbol.a_Color, tint_symbol.a_Normal, tint_symbol.a_PosMtxIdx);
+  VertexOutput inner_result = main_inner(tint_symbol.a_Position, tint_symbol.a_UV, tint_symbol.a_Color, tint_symbol.a_Normal, tint_symbol.a_PosMtxIdx);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.v_Color = inner_result.v_Color;
   wrapper_result.v_TexCoord = inner_result.v_TexCoord;
diff --git a/test/tint/bug/tint/922.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/922.wgsl.expected.fxc.hlsl
index c15674a..318edf6 100644
--- a/test/tint/bug/tint/922.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/922.wgsl.expected.fxc.hlsl
@@ -44,36 +44,36 @@
 float3 Mat4x3GetCol0_(Mat4x3_ m) {
   Mat4x3_ m1 = (Mat4x3_)0;
   m1 = m;
-  const Mat4x3_ x_e2 = m1;
-  const Mat4x3_ x_e5 = m1;
-  const Mat4x3_ x_e8 = m1;
+  Mat4x3_ x_e2 = m1;
+  Mat4x3_ x_e5 = m1;
+  Mat4x3_ x_e8 = m1;
   return float3(x_e2.mx.x, x_e5.my.x, x_e8.mz.x);
 }
 
 float3 Mat4x3GetCol1_(Mat4x3_ m2) {
   Mat4x3_ m3 = (Mat4x3_)0;
   m3 = m2;
-  const Mat4x3_ x_e2 = m3;
-  const Mat4x3_ x_e5 = m3;
-  const Mat4x3_ x_e8 = m3;
+  Mat4x3_ x_e2 = m3;
+  Mat4x3_ x_e5 = m3;
+  Mat4x3_ x_e8 = m3;
   return float3(x_e2.mx.y, x_e5.my.y, x_e8.mz.y);
 }
 
 float3 Mat4x3GetCol2_(Mat4x3_ m4) {
   Mat4x3_ m5 = (Mat4x3_)0;
   m5 = m4;
-  const Mat4x3_ x_e2 = m5;
-  const Mat4x3_ x_e5 = m5;
-  const Mat4x3_ x_e8 = m5;
+  Mat4x3_ x_e2 = m5;
+  Mat4x3_ x_e5 = m5;
+  Mat4x3_ x_e8 = m5;
   return float3(x_e2.mx.z, x_e5.my.z, x_e8.mz.z);
 }
 
 float3 Mat4x3GetCol3_(Mat4x3_ m6) {
   Mat4x3_ m7 = (Mat4x3_)0;
   m7 = m6;
-  const Mat4x3_ x_e2 = m7;
-  const Mat4x3_ x_e5 = m7;
-  const Mat4x3_ x_e8 = m7;
+  Mat4x3_ x_e2 = m7;
+  Mat4x3_ x_e5 = m7;
+  Mat4x3_ x_e8 = m7;
   return float3(x_e2.mx.w, x_e5.my.w, x_e8.mz.w);
 }
 
@@ -82,14 +82,14 @@
   float4 v1 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m9 = m8;
   v1 = v;
-  const Mat4x4_ x_e4 = m9;
-  const float4 x_e6 = v1;
-  const Mat4x4_ x_e8 = m9;
-  const float4 x_e10 = v1;
-  const Mat4x4_ x_e12 = m9;
-  const float4 x_e14 = v1;
-  const Mat4x4_ x_e16 = m9;
-  const float4 x_e18 = v1;
+  Mat4x4_ x_e4 = m9;
+  float4 x_e6 = v1;
+  Mat4x4_ x_e8 = m9;
+  float4 x_e10 = v1;
+  Mat4x4_ x_e12 = m9;
+  float4 x_e14 = v1;
+  Mat4x4_ x_e16 = m9;
+  float4 x_e18 = v1;
   return float4(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10), dot(x_e12.mz, x_e14), dot(x_e16.mw, x_e18));
 }
 
@@ -98,12 +98,12 @@
   float4 v3 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m11 = m10;
   v3 = v2;
-  const Mat4x3_ x_e4 = m11;
-  const float4 x_e6 = v3;
-  const Mat4x3_ x_e8 = m11;
-  const float4 x_e10 = v3;
-  const Mat4x3_ x_e12 = m11;
-  const float4 x_e14 = v3;
+  Mat4x3_ x_e4 = m11;
+  float4 x_e6 = v3;
+  Mat4x3_ x_e8 = m11;
+  float4 x_e10 = v3;
+  Mat4x3_ x_e12 = m11;
+  float4 x_e14 = v3;
   return float3(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10), dot(x_e12.mz, x_e14));
 }
 
@@ -112,10 +112,10 @@
   float4 v5 = float4(0.0f, 0.0f, 0.0f, 0.0f);
   m13 = m12;
   v5 = v4;
-  const Mat4x2_ x_e4 = m13;
-  const float4 x_e6 = v5;
-  const Mat4x2_ x_e8 = m13;
-  const float4 x_e10 = v5;
+  Mat4x2_ x_e4 = m13;
+  float4 x_e6 = v5;
+  Mat4x2_ x_e8 = m13;
+  float4 x_e10 = v5;
   return float2(dot(x_e4.mx, x_e6), dot(x_e8.my, x_e10));
 }
 
@@ -124,18 +124,18 @@
   Mat4x3_ m15 = (Mat4x3_)0;
   v7 = v6;
   m15 = m14;
-  const Mat4x3_ x_e5 = m15;
-  const float3 x_e6 = Mat4x3GetCol0_(x_e5);
-  const float3 x_e7 = v7;
-  const Mat4x3_ x_e10 = m15;
-  const float3 x_e11 = Mat4x3GetCol1_(x_e10);
-  const float3 x_e12 = v7;
-  const Mat4x3_ x_e15 = m15;
-  const float3 x_e16 = Mat4x3GetCol2_(x_e15);
-  const float3 x_e17 = v7;
-  const Mat4x3_ x_e20 = m15;
-  const float3 x_e21 = Mat4x3GetCol3_(x_e20);
-  const float3 x_e22 = v7;
+  Mat4x3_ x_e5 = m15;
+  float3 x_e6 = Mat4x3GetCol0_(x_e5);
+  float3 x_e7 = v7;
+  Mat4x3_ x_e10 = m15;
+  float3 x_e11 = Mat4x3GetCol1_(x_e10);
+  float3 x_e12 = v7;
+  Mat4x3_ x_e15 = m15;
+  float3 x_e16 = Mat4x3GetCol2_(x_e15);
+  float3 x_e17 = v7;
+  Mat4x3_ x_e20 = m15;
+  float3 x_e21 = Mat4x3GetCol3_(x_e20);
+  float3 x_e22 = v7;
   return float4(dot(x_e6, x_e7), dot(x_e11, x_e12), dot(x_e16, x_e17), dot(x_e21, x_e22));
 }
 
@@ -143,15 +143,15 @@
   float n1 = 0.0f;
   Mat4x4_ o = (Mat4x4_)0;
   n1 = n;
-  const float x_e4 = n1;
+  float x_e4 = n1;
   o.mx = float4(x_e4, 0.0f, 0.0f, 0.0f);
-  const float x_e11 = n1;
+  float x_e11 = n1;
   o.my = float4(0.0f, x_e11, 0.0f, 0.0f);
-  const float x_e18 = n1;
+  float x_e18 = n1;
   o.mz = float4(0.0f, 0.0f, x_e18, 0.0f);
-  const float x_e25 = n1;
+  float x_e25 = n1;
   o.mw = float4(0.0f, 0.0f, 0.0f, x_e25);
-  const Mat4x4_ x_e27 = o;
+  Mat4x4_ x_e27 = o;
   return x_e27;
 }
 
@@ -159,15 +159,15 @@
   Mat4x3_ m17 = (Mat4x3_)0;
   Mat4x4_ o1 = (Mat4x4_)0;
   m17 = m16;
-  const Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
+  Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
   o1 = x_e4;
-  const Mat4x3_ x_e7 = m17;
+  Mat4x3_ x_e7 = m17;
   o1.mx = x_e7.mx;
-  const Mat4x3_ x_e10 = m17;
+  Mat4x3_ x_e10 = m17;
   o1.my = x_e10.my;
-  const Mat4x3_ x_e13 = m17;
+  Mat4x3_ x_e13 = m17;
   o1.mz = x_e13.mz;
-  const Mat4x4_ x_e15 = o1;
+  Mat4x4_ x_e15 = o1;
   return x_e15;
 }
 
@@ -175,13 +175,13 @@
   Mat4x2_ m19 = (Mat4x2_)0;
   Mat4x4_ o2 = (Mat4x4_)0;
   m19 = m18;
-  const Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
+  Mat4x4_ x_e4 = x_Mat4x4_(1.0f);
   o2 = x_e4;
-  const Mat4x2_ x_e7 = m19;
+  Mat4x2_ x_e7 = m19;
   o2.mx = x_e7.mx;
-  const Mat4x2_ x_e10 = m19;
+  Mat4x2_ x_e10 = m19;
   o2.my = x_e10.my;
-  const Mat4x4_ x_e12 = o2;
+  Mat4x4_ x_e12 = o2;
   return x_e12;
 }
 
@@ -189,13 +189,13 @@
   float n3 = 0.0f;
   Mat4x3_ o3 = (Mat4x3_)0;
   n3 = n2;
-  const float x_e4 = n3;
+  float x_e4 = n3;
   o3.mx = float4(x_e4, 0.0f, 0.0f, 0.0f);
-  const float x_e11 = n3;
+  float x_e11 = n3;
   o3.my = float4(0.0f, x_e11, 0.0f, 0.0f);
-  const float x_e18 = n3;
+  float x_e18 = n3;
   o3.mz = float4(0.0f, 0.0f, x_e18, 0.0f);
-  const Mat4x3_ x_e21 = o3;
+  Mat4x3_ x_e21 = o3;
   return x_e21;
 }
 
@@ -203,13 +203,13 @@
   Mat4x4_ m21 = (Mat4x4_)0;
   Mat4x3_ o4 = (Mat4x3_)0;
   m21 = m20;
-  const Mat4x4_ x_e4 = m21;
+  Mat4x4_ x_e4 = m21;
   o4.mx = x_e4.mx;
-  const Mat4x4_ x_e7 = m21;
+  Mat4x4_ x_e7 = m21;
   o4.my = x_e7.my;
-  const Mat4x4_ x_e10 = m21;
+  Mat4x4_ x_e10 = m21;
   o4.mz = x_e10.mz;
-  const Mat4x3_ x_e12 = o4;
+  Mat4x3_ x_e12 = o4;
   return x_e12;
 }
 
@@ -217,7 +217,7 @@
   const uint scalar_offset = ((offset + 0u)) / 4;
   const uint scalar_offset_1 = ((offset + 16u)) / 4;
   const uint scalar_offset_2 = ((offset + 32u)) / 4;
-  const Mat4x3_ tint_symbol_3 = {asfloat(global2[scalar_offset / 4]), asfloat(global2[scalar_offset_1 / 4]), asfloat(global2[scalar_offset_2 / 4])};
+  Mat4x3_ tint_symbol_3 = {asfloat(global2[scalar_offset / 4]), asfloat(global2[scalar_offset_1 / 4]), asfloat(global2[scalar_offset_2 / 4])};
   return tint_symbol_3;
 }
 
@@ -226,58 +226,58 @@
   const uint scalar_offset_4 = ((offset + 16u)) / 4;
   const uint scalar_offset_5 = ((offset + 32u)) / 4;
   const uint scalar_offset_6 = ((offset + 48u)) / 4;
-  const Mat4x4_ tint_symbol_4 = {asfloat(global[scalar_offset_3 / 4]), asfloat(global[scalar_offset_4 / 4]), asfloat(global[scalar_offset_5 / 4]), asfloat(global[scalar_offset_6 / 4])};
+  Mat4x4_ tint_symbol_4 = {asfloat(global[scalar_offset_3 / 4]), asfloat(global[scalar_offset_4 / 4]), asfloat(global[scalar_offset_5 / 4]), asfloat(global[scalar_offset_6 / 4])};
   return tint_symbol_4;
 }
 
 Mat4x2_ global1_load_1(uint offset) {
   const uint scalar_offset_7 = ((offset + 0u)) / 4;
   const uint scalar_offset_8 = ((offset + 16u)) / 4;
-  const Mat4x2_ tint_symbol_5 = {asfloat(global1[scalar_offset_7 / 4]), asfloat(global1[scalar_offset_8 / 4])};
+  Mat4x2_ tint_symbol_5 = {asfloat(global1[scalar_offset_7 / 4]), asfloat(global1[scalar_offset_8 / 4])};
   return tint_symbol_5;
 }
 
 void main1() {
   Mat4x3_ t_PosMtx = (Mat4x3_)0;
   float2 t_TexSpaceCoord = float2(0.0f, 0.0f);
-  const float x_e15 = a_PosMtxIdx1;
-  const Mat4x3_ x_e18 = global2_load((48u * uint(tint_ftoi(x_e15))));
+  float x_e15 = a_PosMtxIdx1;
+  Mat4x3_ x_e18 = global2_load((48u * uint(tint_ftoi(x_e15))));
   t_PosMtx = x_e18;
-  const Mat4x3_ x_e23 = t_PosMtx;
-  const Mat4x4_ x_e24 = x_Mat4x4_1(x_e23);
-  const float3 x_e25 = a_Position1;
-  const Mat4x3_ x_e29 = t_PosMtx;
-  const Mat4x4_ x_e30 = x_Mat4x4_1(x_e29);
-  const float3 x_e31 = a_Position1;
-  const float4 x_e34 = Mul(x_e30, float4(x_e31, 1.0f));
-  const Mat4x4_ x_e35 = global_load(0u);
-  const Mat4x3_ x_e37 = t_PosMtx;
-  const Mat4x4_ x_e38 = x_Mat4x4_1(x_e37);
-  const float3 x_e39 = a_Position1;
-  const Mat4x3_ x_e43 = t_PosMtx;
-  const Mat4x4_ x_e44 = x_Mat4x4_1(x_e43);
-  const float3 x_e45 = a_Position1;
-  const float4 x_e48 = Mul(x_e44, float4(x_e45, 1.0f));
-  const float4 x_e49 = Mul(x_e35, x_e48);
+  Mat4x3_ x_e23 = t_PosMtx;
+  Mat4x4_ x_e24 = x_Mat4x4_1(x_e23);
+  float3 x_e25 = a_Position1;
+  Mat4x3_ x_e29 = t_PosMtx;
+  Mat4x4_ x_e30 = x_Mat4x4_1(x_e29);
+  float3 x_e31 = a_Position1;
+  float4 x_e34 = Mul(x_e30, float4(x_e31, 1.0f));
+  Mat4x4_ x_e35 = global_load(0u);
+  Mat4x3_ x_e37 = t_PosMtx;
+  Mat4x4_ x_e38 = x_Mat4x4_1(x_e37);
+  float3 x_e39 = a_Position1;
+  Mat4x3_ x_e43 = t_PosMtx;
+  Mat4x4_ x_e44 = x_Mat4x4_1(x_e43);
+  float3 x_e45 = a_Position1;
+  float4 x_e48 = Mul(x_e44, float4(x_e45, 1.0f));
+  float4 x_e49 = Mul(x_e35, x_e48);
   gl_Position = x_e49;
-  const float4 x_e50 = a_Color1;
+  float4 x_e50 = a_Color1;
   v_Color = x_e50;
-  const float4 x_e52 = asfloat(global1[2]);
+  float4 x_e52 = asfloat(global1[2]);
   if ((x_e52.x == 2.0f)) {
     {
-      const float3 x_e59 = a_Normal1;
-      const Mat4x2_ x_e64 = global1_load_1(0u);
-      const float3 x_e65 = a_Normal1;
-      const float2 x_e68 = Mul2(x_e64, float4(x_e65, 1.0f));
+      float3 x_e59 = a_Normal1;
+      Mat4x2_ x_e64 = global1_load_1(0u);
+      float3 x_e65 = a_Normal1;
+      float2 x_e68 = Mul2(x_e64, float4(x_e65, 1.0f));
       v_TexCoord = x_e68.xy;
       return;
     }
   } else {
     {
-      const float2 x_e73 = a_UV1;
-      const Mat4x2_ x_e79 = global1_load_1(0u);
-      const float2 x_e80 = a_UV1;
-      const float2 x_e84 = Mul2(x_e79, float4(x_e80, 1.0f, 1.0f));
+      float2 x_e73 = a_UV1;
+      Mat4x2_ x_e79 = global1_load_1(0u);
+      float2 x_e80 = a_UV1;
+      float2 x_e84 = Mul2(x_e79, float4(x_e80, 1.0f, 1.0f));
       v_TexCoord = x_e84.xy;
       return;
     }
@@ -304,15 +304,15 @@
   a_Normal1 = a_Normal;
   a_PosMtxIdx1 = a_PosMtxIdx;
   main1();
-  const float4 x_e11 = v_Color;
-  const float2 x_e13 = v_TexCoord;
-  const float4 x_e15 = gl_Position;
-  const VertexOutput tint_symbol_6 = {x_e11, x_e13, x_e15};
+  float4 x_e11 = v_Color;
+  float2 x_e13 = v_TexCoord;
+  float4 x_e15 = gl_Position;
+  VertexOutput tint_symbol_6 = {x_e11, x_e13, x_e15};
   return tint_symbol_6;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexOutput inner_result = main_inner(tint_symbol.a_Position, tint_symbol.a_UV, tint_symbol.a_Color, tint_symbol.a_Normal, tint_symbol.a_PosMtxIdx);
+  VertexOutput inner_result = main_inner(tint_symbol.a_Position, tint_symbol.a_UV, tint_symbol.a_Color, tint_symbol.a_Normal, tint_symbol.a_PosMtxIdx);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.v_Color = inner_result.v_Color;
   wrapper_result.v_TexCoord = inner_result.v_TexCoord;
diff --git a/test/tint/bug/tint/926.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/926.wgsl.expected.dxc.hlsl
index c918afe..d0fb1c0 100644
--- a/test/tint/bug/tint/926.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/926.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 
 
 void computeMain_inner(uint3 global_id) {
-  const uint firstVertex = drawOutatomicAdd(0u, cubeVerts);
+  uint firstVertex = drawOutatomicAdd(0u, cubeVerts);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/926.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/926.wgsl.expected.fxc.hlsl
index c918afe..d0fb1c0 100644
--- a/test/tint/bug/tint/926.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/926.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 
 
 void computeMain_inner(uint3 global_id) {
-  const uint firstVertex = drawOutatomicAdd(0u, cubeVerts);
+  uint firstVertex = drawOutatomicAdd(0u, cubeVerts);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/bug/tint/942.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/942.wgsl.expected.dxc.hlsl
index 81c22bc..e40cb93 100644
--- a/test/tint/bug/tint/942.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/942.wgsl.expected.dxc.hlsl
@@ -23,17 +23,17 @@
 void main_inner(uint3 WorkGroupID, uint3 LocalInvocationID, uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 1024u); idx = (idx + 64u)) {
-      const uint i_1 = (idx / 256u);
-      const uint i_2 = (idx % 256u);
+      uint i_1 = (idx / 256u);
+      uint i_2 = (idx % 256u);
       tile[i_1][i_2] = (0.0f).xxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint filterOffset = tint_div((params[0].x - 1u), 2u);
+  uint filterOffset = tint_div((params[0].x - 1u), 2u);
   uint3 tint_tmp;
   inputTex.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const uint2 dims = tint_tmp.xy;
-  const uint2 baseIndex = (((WorkGroupID.xy * uint2(params[0].y, 4u)) + (LocalInvocationID.xy * uint2(4u, 1u))) - uint2(filterOffset, 0u));
+  uint2 dims = tint_tmp.xy;
+  uint2 baseIndex = (((WorkGroupID.xy * uint2(params[0].y, 4u)) + (LocalInvocationID.xy * uint2(4u, 1u))) - uint2(filterOffset, 0u));
   {
     for(uint r = 0u; (r < 4u); r = (r + 1u)) {
       {
@@ -56,7 +56,7 @@
           if ((flip[0].x != 0u)) {
             writeIndex = writeIndex.yx;
           }
-          const uint center = ((4u * LocalInvocationID.x) + c);
+          uint center = ((4u * LocalInvocationID.x) + c);
           bool tint_tmp_2 = (center >= filterOffset);
           if (tint_tmp_2) {
             tint_tmp_2 = (center < (256u - filterOffset));
diff --git a/test/tint/bug/tint/942.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/942.wgsl.expected.fxc.hlsl
index 81c22bc..e40cb93 100644
--- a/test/tint/bug/tint/942.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/942.wgsl.expected.fxc.hlsl
@@ -23,17 +23,17 @@
 void main_inner(uint3 WorkGroupID, uint3 LocalInvocationID, uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 1024u); idx = (idx + 64u)) {
-      const uint i_1 = (idx / 256u);
-      const uint i_2 = (idx % 256u);
+      uint i_1 = (idx / 256u);
+      uint i_2 = (idx % 256u);
       tile[i_1][i_2] = (0.0f).xxx;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint filterOffset = tint_div((params[0].x - 1u), 2u);
+  uint filterOffset = tint_div((params[0].x - 1u), 2u);
   uint3 tint_tmp;
   inputTex.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const uint2 dims = tint_tmp.xy;
-  const uint2 baseIndex = (((WorkGroupID.xy * uint2(params[0].y, 4u)) + (LocalInvocationID.xy * uint2(4u, 1u))) - uint2(filterOffset, 0u));
+  uint2 dims = tint_tmp.xy;
+  uint2 baseIndex = (((WorkGroupID.xy * uint2(params[0].y, 4u)) + (LocalInvocationID.xy * uint2(4u, 1u))) - uint2(filterOffset, 0u));
   {
     for(uint r = 0u; (r < 4u); r = (r + 1u)) {
       {
@@ -56,7 +56,7 @@
           if ((flip[0].x != 0u)) {
             writeIndex = writeIndex.yx;
           }
-          const uint center = ((4u * LocalInvocationID.x) + c);
+          uint center = ((4u * LocalInvocationID.x) + c);
           bool tint_tmp_2 = (center >= filterOffset);
           if (tint_tmp_2) {
             tint_tmp_2 = (center < (256u - filterOffset));
diff --git a/test/tint/bug/tint/948.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/948.wgsl.expected.dxc.hlsl
index 7d2dc12..e49142b 100644
--- a/test/tint/bug/tint/948.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/948.wgsl.expected.dxc.hlsl
@@ -25,15 +25,15 @@
 
 float4x4 getFrameData_f1_(inout float frameID) {
   float fX = 0.0f;
-  const float x_15 = frameID;
-  const float x_25 = asfloat(x_20[6].w);
+  float x_15 = frameID;
+  float x_25 = asfloat(x_20[6].w);
   fX = (x_15 / x_25);
-  const float x_37 = fX;
-  const float4 x_40 = frameMapTexture.SampleBias(frameMapSampler, float2(x_37, 0.0f), 0.0f);
-  const float x_44 = fX;
-  const float4 x_47 = frameMapTexture.SampleBias(frameMapSampler, float2(x_44, 0.25f), 0.0f);
-  const float x_51 = fX;
-  const float4 x_54 = frameMapTexture.SampleBias(frameMapSampler, float2(x_51, 0.5f), 0.0f);
+  float x_37 = fX;
+  float4 x_40 = frameMapTexture.SampleBias(frameMapSampler, float2(x_37, 0.0f), 0.0f);
+  float x_44 = fX;
+  float4 x_47 = frameMapTexture.SampleBias(frameMapSampler, float2(x_44, 0.25f), 0.0f);
+  float x_51 = fX;
+  float4 x_54 = frameMapTexture.SampleBias(frameMapSampler, float2(x_51, 0.5f), 0.0f);
   return float4x4(float4(x_40.x, x_40.y, x_40.z, x_40.w), float4(x_47.x, x_47.y, x_47.z, x_47.w), float4(x_54.x, x_54.y, x_54.z, x_54.w), (0.0f).xxxx);
 }
 
@@ -61,38 +61,38 @@
   float alpha = 0.0f;
   float3 mixed = float3(0.0f, 0.0f, 0.0f);
   color = (0.0f).xxxx;
-  const float2 x_86 = tUV;
+  float2 x_86 = tUV;
   tileUV = frac(x_86);
-  const float x_91 = tileUV.y;
+  float x_91 = tileUV.y;
   tileUV.y = (1.0f - x_91);
-  const float2 x_95 = tUV;
+  float2 x_95 = tUV;
   tileID = floor(x_95);
-  const float2 x_101 = asfloat(x_20[6].xy);
+  float2 x_101 = asfloat(x_20[6].xy);
   sheetUnits = ((1.0f).xx / x_101);
-  const float x_106 = asfloat(x_20[6].w);
+  float x_106 = asfloat(x_20[6].w);
   spriteUnits = (1.0f / x_106);
-  const float2 x_111 = asfloat(x_20[5].zw);
+  float2 x_111 = asfloat(x_20[5].zw);
   stageUnits = ((1.0f).xx / x_111);
   i = 0;
   while (true) {
-    const int x_122 = i;
+    int x_122 = i;
     if ((x_122 < 2)) {
     } else {
       break;
     }
-    const int x_126 = i;
+    int x_126 = i;
     switch(x_126) {
       case 1: {
-        const float2 x_150 = tileID;
-        const float2 x_154 = asfloat(x_20[5].zw);
-        const float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
+        float2 x_150 = tileID;
+        float2 x_154 = asfloat(x_20[5].zw);
+        float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
         frameID_1 = x_156.x;
         break;
       }
       case 0: {
-        const float2 x_136 = tileID;
-        const float2 x_140 = asfloat(x_20[5].zw);
-        const float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
+        float2 x_136 = tileID;
+        float2 x_140 = asfloat(x_20[5].zw);
+        float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
         frameID_1 = x_142.x;
         break;
       }
@@ -100,93 +100,93 @@
         break;
       }
     }
-    const float x_166 = frameID_1;
-    const float x_169 = asfloat(x_20[6].w);
-    const float4 x_172 = animationMapTexture.SampleBias(animationMapSampler, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
+    float x_166 = frameID_1;
+    float x_169 = asfloat(x_20[6].w);
+    float4 x_172 = animationMapTexture.SampleBias(animationMapSampler, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
     animationData = x_172;
-    const float x_174 = animationData.y;
+    float x_174 = animationData.y;
     if ((x_174 > 0.0f)) {
-      const float x_181 = asfloat(x_20[0].x);
-      const float x_184 = animationData.z;
+      float x_181 = asfloat(x_20[0].x);
+      float x_184 = animationData.z;
       mt = tint_float_mod((x_181 * x_184), 1.0f);
       f = 0.0f;
       while (true) {
-        const float x_193 = f;
+        float x_193 = f;
         if ((x_193 < 8.0f)) {
         } else {
           break;
         }
-        const float x_197 = animationData.y;
-        const float x_198 = mt;
+        float x_197 = animationData.y;
+        float x_198 = mt;
         if ((x_197 > x_198)) {
-          const float x_203 = animationData.x;
+          float x_203 = animationData.x;
           frameID_1 = x_203;
           break;
         }
-        const float x_208 = frameID_1;
-        const float x_211 = asfloat(x_20[6].w);
-        const float x_214 = f;
-        const float4 x_217 = (0.0f).xxxx;
+        float x_208 = frameID_1;
+        float x_211 = asfloat(x_20[6].w);
+        float x_214 = f;
+        float4 x_217 = (0.0f).xxxx;
         animationData = x_217;
         {
-          const float x_218 = f;
+          float x_218 = f;
           f = (x_218 + 1.0f);
         }
       }
     }
-    const float x_222 = frameID_1;
+    float x_222 = frameID_1;
     param = (x_222 + 0.5f);
-    const float4x4 x_225 = getFrameData_f1_(param);
+    float4x4 x_225 = getFrameData_f1_(param);
     frameData = x_225;
-    const float4 x_228 = frameData[0];
-    const float2 x_231 = asfloat(x_20[6].xy);
+    float4 x_228 = frameData[0];
+    float2 x_231 = asfloat(x_20[6].xy);
     frameSize = (float2(x_228.w, x_228.z) / x_231);
-    const float4 x_235 = frameData[0];
-    const float2 x_237 = sheetUnits;
+    float4 x_235 = frameData[0];
+    float2 x_237 = sheetUnits;
     offset_1 = (float2(x_235.x, x_235.y) * x_237);
-    const float4 x_241 = frameData[2];
-    const float4 x_244 = frameData[0];
+    float4 x_241 = frameData[2];
+    float4 x_244 = frameData[0];
     ratio = (float2(x_241.x, x_241.y) / float2(x_244.w, x_244.z));
-    const float x_248 = frameData[2].z;
+    float x_248 = frameData[2].z;
     if ((x_248 == 1.0f)) {
-      const float2 x_252 = tileUV;
+      float2 x_252 = tileUV;
       tileUV = float2(x_252.y, x_252.x);
     }
-    const int x_254 = i;
+    int x_254 = i;
     if ((x_254 == 0)) {
-      const float2 x_263 = tileUV;
-      const float2 x_264 = frameSize;
-      const float2 x_266 = offset_1;
-      const float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
+      float2 x_263 = tileUV;
+      float2 x_264 = frameSize;
+      float2 x_266 = offset_1;
+      float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
       color = x_268;
     } else {
-      const float2 x_274 = tileUV;
-      const float2 x_275 = frameSize;
-      const float2 x_277 = offset_1;
-      const float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
+      float2 x_274 = tileUV;
+      float2 x_275 = frameSize;
+      float2 x_277 = offset_1;
+      float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
       nc = x_279;
-      const float x_283 = color.w;
-      const float x_285 = nc.w;
+      float x_283 = color.w;
+      float x_285 = nc.w;
       alpha = min((x_283 + x_285), 1.0f);
-      const float4 x_290 = color;
-      const float4 x_292 = nc;
-      const float x_295 = nc.w;
+      float4 x_290 = color;
+      float4 x_292 = nc;
+      float x_295 = nc.w;
       mixed = lerp(float3(x_290.x, x_290.y, x_290.z), float3(x_292.x, x_292.y, x_292.z), float3(x_295, x_295, x_295));
-      const float3 x_298 = mixed;
-      const float x_299 = alpha;
+      float3 x_298 = mixed;
+      float x_299 = alpha;
       color = float4(x_298.x, x_298.y, x_298.z, x_299);
     }
     {
-      const int x_304 = i;
+      int x_304 = i;
       i = (x_304 + 1);
     }
   }
-  const float3 x_310 = asfloat(x_20[7].xyz);
-  const float4 x_311 = color;
-  const float3 x_313 = (float3(x_311.x, x_311.y, x_311.z) * x_310);
-  const float4 x_314 = color;
+  float3 x_310 = asfloat(x_20[7].xyz);
+  float4 x_311 = color;
+  float3 x_313 = (float3(x_311.x, x_311.y, x_311.z) * x_310);
+  float4 x_314 = color;
   color = float4(x_313.x, x_313.y, x_313.z, x_314.w);
-  const float4 x_318 = color;
+  float4 x_318 = color;
   glFragColor = x_318;
   return;
 }
@@ -214,12 +214,12 @@
   vPosition = vPosition_param;
   vUV = vUV_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.tUV_param, tint_symbol.tileID_1_param, tint_symbol.levelUnits_param, tint_symbol.stageUnits_1_param, tint_symbol.vPosition_param, tint_symbol.vUV_param);
+  main_out inner_result = main_inner(tint_symbol.tUV_param, tint_symbol.tileID_1_param, tint_symbol.levelUnits_param, tint_symbol.stageUnits_1_param, tint_symbol.vPosition_param, tint_symbol.vUV_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/948.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/948.wgsl.expected.fxc.hlsl
index 7d2dc12..e49142b 100644
--- a/test/tint/bug/tint/948.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/948.wgsl.expected.fxc.hlsl
@@ -25,15 +25,15 @@
 
 float4x4 getFrameData_f1_(inout float frameID) {
   float fX = 0.0f;
-  const float x_15 = frameID;
-  const float x_25 = asfloat(x_20[6].w);
+  float x_15 = frameID;
+  float x_25 = asfloat(x_20[6].w);
   fX = (x_15 / x_25);
-  const float x_37 = fX;
-  const float4 x_40 = frameMapTexture.SampleBias(frameMapSampler, float2(x_37, 0.0f), 0.0f);
-  const float x_44 = fX;
-  const float4 x_47 = frameMapTexture.SampleBias(frameMapSampler, float2(x_44, 0.25f), 0.0f);
-  const float x_51 = fX;
-  const float4 x_54 = frameMapTexture.SampleBias(frameMapSampler, float2(x_51, 0.5f), 0.0f);
+  float x_37 = fX;
+  float4 x_40 = frameMapTexture.SampleBias(frameMapSampler, float2(x_37, 0.0f), 0.0f);
+  float x_44 = fX;
+  float4 x_47 = frameMapTexture.SampleBias(frameMapSampler, float2(x_44, 0.25f), 0.0f);
+  float x_51 = fX;
+  float4 x_54 = frameMapTexture.SampleBias(frameMapSampler, float2(x_51, 0.5f), 0.0f);
   return float4x4(float4(x_40.x, x_40.y, x_40.z, x_40.w), float4(x_47.x, x_47.y, x_47.z, x_47.w), float4(x_54.x, x_54.y, x_54.z, x_54.w), (0.0f).xxxx);
 }
 
@@ -61,38 +61,38 @@
   float alpha = 0.0f;
   float3 mixed = float3(0.0f, 0.0f, 0.0f);
   color = (0.0f).xxxx;
-  const float2 x_86 = tUV;
+  float2 x_86 = tUV;
   tileUV = frac(x_86);
-  const float x_91 = tileUV.y;
+  float x_91 = tileUV.y;
   tileUV.y = (1.0f - x_91);
-  const float2 x_95 = tUV;
+  float2 x_95 = tUV;
   tileID = floor(x_95);
-  const float2 x_101 = asfloat(x_20[6].xy);
+  float2 x_101 = asfloat(x_20[6].xy);
   sheetUnits = ((1.0f).xx / x_101);
-  const float x_106 = asfloat(x_20[6].w);
+  float x_106 = asfloat(x_20[6].w);
   spriteUnits = (1.0f / x_106);
-  const float2 x_111 = asfloat(x_20[5].zw);
+  float2 x_111 = asfloat(x_20[5].zw);
   stageUnits = ((1.0f).xx / x_111);
   i = 0;
   while (true) {
-    const int x_122 = i;
+    int x_122 = i;
     if ((x_122 < 2)) {
     } else {
       break;
     }
-    const int x_126 = i;
+    int x_126 = i;
     switch(x_126) {
       case 1: {
-        const float2 x_150 = tileID;
-        const float2 x_154 = asfloat(x_20[5].zw);
-        const float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
+        float2 x_150 = tileID;
+        float2 x_154 = asfloat(x_20[5].zw);
+        float4 x_156 = tileMapsTexture1.SampleBias(tileMapsSampler, ((x_150 + (0.5f).xx) / x_154), 0.0f);
         frameID_1 = x_156.x;
         break;
       }
       case 0: {
-        const float2 x_136 = tileID;
-        const float2 x_140 = asfloat(x_20[5].zw);
-        const float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
+        float2 x_136 = tileID;
+        float2 x_140 = asfloat(x_20[5].zw);
+        float4 x_142 = tileMapsTexture0.SampleBias(tileMapsSampler, ((x_136 + (0.5f).xx) / x_140), 0.0f);
         frameID_1 = x_142.x;
         break;
       }
@@ -100,93 +100,93 @@
         break;
       }
     }
-    const float x_166 = frameID_1;
-    const float x_169 = asfloat(x_20[6].w);
-    const float4 x_172 = animationMapTexture.SampleBias(animationMapSampler, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
+    float x_166 = frameID_1;
+    float x_169 = asfloat(x_20[6].w);
+    float4 x_172 = animationMapTexture.SampleBias(animationMapSampler, float2(((x_166 + 0.5f) / x_169), 0.0f), 0.0f);
     animationData = x_172;
-    const float x_174 = animationData.y;
+    float x_174 = animationData.y;
     if ((x_174 > 0.0f)) {
-      const float x_181 = asfloat(x_20[0].x);
-      const float x_184 = animationData.z;
+      float x_181 = asfloat(x_20[0].x);
+      float x_184 = animationData.z;
       mt = tint_float_mod((x_181 * x_184), 1.0f);
       f = 0.0f;
       while (true) {
-        const float x_193 = f;
+        float x_193 = f;
         if ((x_193 < 8.0f)) {
         } else {
           break;
         }
-        const float x_197 = animationData.y;
-        const float x_198 = mt;
+        float x_197 = animationData.y;
+        float x_198 = mt;
         if ((x_197 > x_198)) {
-          const float x_203 = animationData.x;
+          float x_203 = animationData.x;
           frameID_1 = x_203;
           break;
         }
-        const float x_208 = frameID_1;
-        const float x_211 = asfloat(x_20[6].w);
-        const float x_214 = f;
-        const float4 x_217 = (0.0f).xxxx;
+        float x_208 = frameID_1;
+        float x_211 = asfloat(x_20[6].w);
+        float x_214 = f;
+        float4 x_217 = (0.0f).xxxx;
         animationData = x_217;
         {
-          const float x_218 = f;
+          float x_218 = f;
           f = (x_218 + 1.0f);
         }
       }
     }
-    const float x_222 = frameID_1;
+    float x_222 = frameID_1;
     param = (x_222 + 0.5f);
-    const float4x4 x_225 = getFrameData_f1_(param);
+    float4x4 x_225 = getFrameData_f1_(param);
     frameData = x_225;
-    const float4 x_228 = frameData[0];
-    const float2 x_231 = asfloat(x_20[6].xy);
+    float4 x_228 = frameData[0];
+    float2 x_231 = asfloat(x_20[6].xy);
     frameSize = (float2(x_228.w, x_228.z) / x_231);
-    const float4 x_235 = frameData[0];
-    const float2 x_237 = sheetUnits;
+    float4 x_235 = frameData[0];
+    float2 x_237 = sheetUnits;
     offset_1 = (float2(x_235.x, x_235.y) * x_237);
-    const float4 x_241 = frameData[2];
-    const float4 x_244 = frameData[0];
+    float4 x_241 = frameData[2];
+    float4 x_244 = frameData[0];
     ratio = (float2(x_241.x, x_241.y) / float2(x_244.w, x_244.z));
-    const float x_248 = frameData[2].z;
+    float x_248 = frameData[2].z;
     if ((x_248 == 1.0f)) {
-      const float2 x_252 = tileUV;
+      float2 x_252 = tileUV;
       tileUV = float2(x_252.y, x_252.x);
     }
-    const int x_254 = i;
+    int x_254 = i;
     if ((x_254 == 0)) {
-      const float2 x_263 = tileUV;
-      const float2 x_264 = frameSize;
-      const float2 x_266 = offset_1;
-      const float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
+      float2 x_263 = tileUV;
+      float2 x_264 = frameSize;
+      float2 x_266 = offset_1;
+      float4 x_268 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_263 * x_264) + x_266));
       color = x_268;
     } else {
-      const float2 x_274 = tileUV;
-      const float2 x_275 = frameSize;
-      const float2 x_277 = offset_1;
-      const float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
+      float2 x_274 = tileUV;
+      float2 x_275 = frameSize;
+      float2 x_277 = offset_1;
+      float4 x_279 = spriteSheetTexture.Sample(spriteSheetSampler, ((x_274 * x_275) + x_277));
       nc = x_279;
-      const float x_283 = color.w;
-      const float x_285 = nc.w;
+      float x_283 = color.w;
+      float x_285 = nc.w;
       alpha = min((x_283 + x_285), 1.0f);
-      const float4 x_290 = color;
-      const float4 x_292 = nc;
-      const float x_295 = nc.w;
+      float4 x_290 = color;
+      float4 x_292 = nc;
+      float x_295 = nc.w;
       mixed = lerp(float3(x_290.x, x_290.y, x_290.z), float3(x_292.x, x_292.y, x_292.z), float3(x_295, x_295, x_295));
-      const float3 x_298 = mixed;
-      const float x_299 = alpha;
+      float3 x_298 = mixed;
+      float x_299 = alpha;
       color = float4(x_298.x, x_298.y, x_298.z, x_299);
     }
     {
-      const int x_304 = i;
+      int x_304 = i;
       i = (x_304 + 1);
     }
   }
-  const float3 x_310 = asfloat(x_20[7].xyz);
-  const float4 x_311 = color;
-  const float3 x_313 = (float3(x_311.x, x_311.y, x_311.z) * x_310);
-  const float4 x_314 = color;
+  float3 x_310 = asfloat(x_20[7].xyz);
+  float4 x_311 = color;
+  float3 x_313 = (float3(x_311.x, x_311.y, x_311.z) * x_310);
+  float4 x_314 = color;
   color = float4(x_313.x, x_313.y, x_313.z, x_314.w);
-  const float4 x_318 = color;
+  float4 x_318 = color;
   glFragColor = x_318;
   return;
 }
@@ -214,12 +214,12 @@
   vPosition = vPosition_param;
   vUV = vUV_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.tUV_param, tint_symbol.tileID_1_param, tint_symbol.levelUnits_param, tint_symbol.stageUnits_1_param, tint_symbol.vPosition_param, tint_symbol.vUV_param);
+  main_out inner_result = main_inner(tint_symbol.tUV_param, tint_symbol.tileID_1_param, tint_symbol.levelUnits_param, tint_symbol.stageUnits_1_param, tint_symbol.vPosition_param, tint_symbol.vUV_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/949.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/949.wgsl.expected.dxc.hlsl
index 0ae00ab..40e600f 100644
--- a/test/tint/bug/tint/949.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/949.wgsl.expected.dxc.hlsl
@@ -34,48 +34,48 @@
   float3 tangent = float3(0.0f, 0.0f, 0.0f);
   float3 bitangent = float3(0.0f, 0.0f, 0.0f);
   float invmax = 0.0f;
-  const float3 x_133 = p;
+  float3 x_133 = p;
   dp1 = ddx(x_133);
-  const float3 x_136 = p;
+  float3 x_136 = p;
   dp2 = ddy(x_136);
-  const float2 x_139 = uv;
+  float2 x_139 = uv;
   duv1 = ddx(x_139);
-  const float2 x_142 = uv;
+  float2 x_142 = uv;
   duv2 = ddy(x_142);
-  const float3 x_145 = dp2;
-  const float3 x_146 = normal_1;
+  float3 x_145 = dp2;
+  float3 x_146 = normal_1;
   dp2perp = cross(x_145, x_146);
-  const float3 x_149 = normal_1;
-  const float3 x_150 = dp1;
+  float3 x_149 = normal_1;
+  float3 x_150 = dp1;
   dp1perp = cross(x_149, x_150);
-  const float3 x_153 = dp2perp;
-  const float x_155 = duv1.x;
-  const float3 x_157 = dp1perp;
-  const float x_159 = duv2.x;
+  float3 x_153 = dp2perp;
+  float x_155 = duv1.x;
+  float3 x_157 = dp1perp;
+  float x_159 = duv2.x;
   tangent = ((x_153 * x_155) + (x_157 * x_159));
-  const float3 x_163 = dp2perp;
-  const float x_165 = duv1.y;
-  const float3 x_167 = dp1perp;
-  const float x_169 = duv2.y;
+  float3 x_163 = dp2perp;
+  float x_165 = duv1.y;
+  float3 x_167 = dp1perp;
+  float x_169 = duv2.y;
   bitangent = ((x_163 * x_165) + (x_167 * x_169));
-  const float x_173 = tangentSpaceParams.x;
-  const float3 x_174 = tangent;
+  float x_173 = tangentSpaceParams.x;
+  float3 x_174 = tangent;
   tangent = (x_174 * x_173);
-  const float x_177 = tangentSpaceParams.y;
-  const float3 x_178 = bitangent;
+  float x_177 = tangentSpaceParams.y;
+  float3 x_178 = bitangent;
   bitangent = (x_178 * x_177);
-  const float3 x_181 = tangent;
-  const float3 x_182 = tangent;
-  const float3 x_184 = bitangent;
-  const float3 x_185 = bitangent;
+  float3 x_181 = tangent;
+  float3 x_182 = tangent;
+  float3 x_184 = bitangent;
+  float3 x_185 = bitangent;
   invmax = rsqrt(max(dot(x_181, x_182), dot(x_184, x_185)));
-  const float3 x_189 = tangent;
-  const float x_190 = invmax;
-  const float3 x_191 = (x_189 * x_190);
-  const float3 x_192 = bitangent;
-  const float x_193 = invmax;
-  const float3 x_194 = (x_192 * x_193);
-  const float3 x_195 = normal_1;
+  float3 x_189 = tangent;
+  float x_190 = invmax;
+  float3 x_191 = (x_189 * x_190);
+  float3 x_192 = bitangent;
+  float x_193 = invmax;
+  float3 x_194 = (x_192 * x_193);
+  float3 x_195 = normal_1;
   return float3x3(float3(x_191.x, x_191.y, x_191.z), float3(x_194.x, x_194.y, x_194.z), float3(x_195.x, x_195.y, x_195.z));
 }
 
@@ -84,32 +84,32 @@
   float3 i1 = float3(0.0f, 0.0f, 0.0f);
   float3 i2 = float3(0.0f, 0.0f, 0.0f);
   float3x3 outMatrix = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float3 x_60 = inMatrix[0];
+  float3 x_60 = inMatrix[0];
   i0 = x_60;
-  const float3 x_64 = inMatrix[1];
+  float3 x_64 = inMatrix[1];
   i1 = x_64;
-  const float3 x_68 = inMatrix[2];
+  float3 x_68 = inMatrix[2];
   i2 = x_68;
-  const float x_73 = i0.x;
-  const float x_75 = i1.x;
-  const float x_77 = i2.x;
-  const float3 x_78 = float3(x_73, x_75, x_77);
-  const float x_81 = i0.y;
-  const float x_83 = i1.y;
-  const float x_85 = i2.y;
-  const float3 x_86 = float3(x_81, x_83, x_85);
-  const float x_89 = i0.z;
-  const float x_91 = i1.z;
-  const float x_93 = i2.z;
-  const float3 x_94 = float3(x_89, x_91, x_93);
+  float x_73 = i0.x;
+  float x_75 = i1.x;
+  float x_77 = i2.x;
+  float3 x_78 = float3(x_73, x_75, x_77);
+  float x_81 = i0.y;
+  float x_83 = i1.y;
+  float x_85 = i2.y;
+  float3 x_86 = float3(x_81, x_83, x_85);
+  float x_89 = i0.z;
+  float x_91 = i1.z;
+  float x_93 = i2.z;
+  float3 x_94 = float3(x_89, x_91, x_93);
   outMatrix = float3x3(float3(x_78.x, x_78.y, x_78.z), float3(x_86.x, x_86.y, x_86.z), float3(x_94.x, x_94.y, x_94.z));
-  const float3x3 x_110 = outMatrix;
+  float3x3 x_110 = outMatrix;
   return x_110;
 }
 
 float3 perturbNormalBase_mf33_vf3_f1_(inout float3x3 cotangentFrame, inout float3 normal, inout float scale) {
-  const float3x3 x_113 = cotangentFrame;
-  const float3 x_114 = normal;
+  float3x3 x_113 = cotangentFrame;
+  float3 x_114 = normal;
   return normalize(mul(x_114, x_113));
 }
 
@@ -117,13 +117,13 @@
   float3x3 param = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float3 param_1 = float3(0.0f, 0.0f, 0.0f);
   float param_2 = 0.0f;
-  const float3 x_119 = textureSample;
-  const float3x3 x_125 = cotangentFrame_1;
+  float3 x_119 = textureSample;
+  float3x3 x_125 = cotangentFrame_1;
   param = x_125;
   param_1 = ((x_119 * 2.0f) - (1.0f).xxx);
-  const float x_128 = scale_1;
+  float x_128 = scale_1;
   param_2 = x_128;
-  const float3 x_129 = perturbNormalBase_mf33_vf3_f1_(param, param_1, param_2);
+  float3 x_129 = perturbNormalBase_mf33_vf3_f1_(param, param_1, param_2);
   return x_129;
 }
 
@@ -132,26 +132,26 @@
   lightingInfo result = (lightingInfo)0;
   float3 angleW = float3(0.0f, 0.0f, 0.0f);
   float specComp = 0.0f;
-  const float3 x_212 = vNormal;
-  const float4 x_213 = lightData;
+  float3 x_212 = vNormal;
+  float4 x_213 = lightData;
   ndl = ((dot(x_212, float3(x_213.x, x_213.y, x_213.z)) * 0.5f) + 0.5f);
-  const float3 x_220 = groundColor;
-  const float3 x_221 = diffuseColor;
-  const float x_222 = ndl;
+  float3 x_220 = groundColor;
+  float3 x_221 = diffuseColor;
+  float x_222 = ndl;
   result.diffuse = lerp(x_220, x_221, float3(x_222, x_222, x_222));
-  const float3 x_227 = viewDirectionW;
-  const float4 x_228 = lightData;
+  float3 x_227 = viewDirectionW;
+  float4 x_228 = lightData;
   angleW = normalize((x_227 + float3(x_228.x, x_228.y, x_228.z)));
-  const float3 x_233 = vNormal;
-  const float3 x_234 = angleW;
+  float3 x_233 = vNormal;
+  float3 x_234 = angleW;
   specComp = max(0.0f, dot(x_233, x_234));
-  const float x_237 = specComp;
-  const float x_238 = glossiness;
+  float x_237 = specComp;
+  float x_238 = glossiness;
   specComp = pow(x_237, max(1.0f, x_238));
-  const float x_241 = specComp;
-  const float3 x_242 = specularColor;
+  float x_241 = specComp;
+  float3 x_242 = specularColor;
   result.specular = (x_242 * x_241);
-  const lightingInfo x_245 = result;
+  lightingInfo x_245 = result;
   return x_245;
 }
 
@@ -211,66 +211,66 @@
   float3 output3 = float3(0.0f, 0.0f, 0.0f);
   u_Float = 100.0f;
   u_Color = (0.5f).xxx;
-  const float2 x_261 = vMainuv;
-  const float4 x_262 = TextureSamplerTexture.Sample(TextureSamplerSampler, x_261);
+  float2 x_261 = vMainuv;
+  float4 x_262 = TextureSamplerTexture.Sample(TextureSamplerSampler, x_261);
   tempTextureRead = x_262;
-  const float4 x_264 = tempTextureRead;
-  const float x_273 = asfloat(x_269[10].x);
+  float4 x_264 = tempTextureRead;
+  float x_273 = asfloat(x_269[10].x);
   rgb = (float3(x_264.x, x_264.y, x_264.z) * x_273);
-  const float3 x_279 = asfloat(x_269[9].xyz);
-  const float4 x_282 = v_output1;
+  float3 x_279 = asfloat(x_269[9].xyz);
+  float4 x_282 = v_output1;
   output5 = normalize((x_279 - float3(x_282.x, x_282.y, x_282.z)));
   output4 = (0.0f).xxxx;
   uvOffset = (0.0f).xx;
-  const float x_292 = asfloat(x_269[8].x);
+  float x_292 = asfloat(x_269[8].x);
   normalScale = (1.0f / x_292);
-  const bool x_298 = gl_FrontFacing;
+  bool x_298 = gl_FrontFacing;
   if (x_298) {
-    const float2 x_303 = v_uv;
+    float2 x_303 = v_uv;
     x_299 = x_303;
   } else {
-    const float2 x_305 = v_uv;
+    float2 x_305 = v_uv;
     x_299 = -(x_305);
   }
-  const float2 x_307 = x_299;
+  float2 x_307 = x_299;
   TBNUV = x_307;
-  const float4 x_310 = v_output2;
-  const float x_312 = normalScale;
+  float4 x_310 = v_output2;
+  float x_312 = normalScale;
   param_3 = (float3(x_310.x, x_310.y, x_310.z) * x_312);
-  const float4 x_317 = v_output1;
+  float4 x_317 = v_output1;
   param_4 = float3(x_317.x, x_317.y, x_317.z);
-  const float2 x_320 = TBNUV;
+  float2 x_320 = TBNUV;
   param_5 = x_320;
-  const float2 x_324 = asfloat(x_269[10].zw);
+  float2 x_324 = asfloat(x_269[10].zw);
   param_6 = x_324;
-  const float3x3 x_325 = cotangent_frame_vf3_vf3_vf2_vf2_(param_3, param_4, param_5, param_6);
+  float3x3 x_325 = cotangent_frame_vf3_vf3_vf2_vf2_(param_3, param_4, param_5, param_6);
   TBN = x_325;
-  const float3x3 x_328 = TBN;
+  float3x3 x_328 = TBN;
   param_7 = x_328;
-  const float3x3 x_329 = transposeMat3_mf33_(param_7);
+  float3x3 x_329 = transposeMat3_mf33_(param_7);
   invTBN = x_329;
-  const float3x3 x_331 = invTBN;
-  const float3 x_332 = output5;
-  const float3 x_334 = mul(-(x_332), x_331);
-  const float3x3 x_337 = invTBN;
-  const float3 x_338 = output5;
+  float3x3 x_331 = invTBN;
+  float3 x_332 = output5;
+  float3 x_334 = mul(-(x_332), x_331);
+  float3x3 x_337 = invTBN;
+  float3 x_338 = output5;
   parallaxLimit = (length(float2(x_334.x, x_334.y)) / mul(-(x_338), x_337).z);
-  const float x_345 = asfloat(x_269[9].w);
-  const float x_346 = parallaxLimit;
+  float x_345 = asfloat(x_269[9].w);
+  float x_346 = parallaxLimit;
   parallaxLimit = (x_346 * x_345);
-  const float3x3 x_349 = invTBN;
-  const float3 x_350 = output5;
-  const float3 x_352 = mul(-(x_350), x_349);
+  float3x3 x_349 = invTBN;
+  float3 x_350 = output5;
+  float3 x_352 = mul(-(x_350), x_349);
   vOffsetDir = normalize(float2(x_352.x, x_352.y));
-  const float2 x_356 = vOffsetDir;
-  const float x_357 = parallaxLimit;
+  float2 x_356 = vOffsetDir;
+  float x_357 = parallaxLimit;
   vMaxOffset = (x_356 * x_357);
-  const float3x3 x_361 = invTBN;
-  const float3 x_362 = output5;
-  const float3x3 x_365 = invTBN;
-  const float4 x_366 = v_output2;
+  float3x3 x_361 = invTBN;
+  float3 x_362 = output5;
+  float3x3 x_365 = invTBN;
+  float4 x_366 = v_output2;
   numSamples = (15.0f + (dot(mul(-(x_362), x_361), mul(float3(x_366.x, x_366.y, x_366.z), x_365)) * -11.0f));
-  const float x_374 = numSamples;
+  float x_374 = numSamples;
   stepSize = (1.0f / x_374);
   currRayHeight = 1.0f;
   vCurrOffset = (0.0f).xx;
@@ -279,121 +279,121 @@
   currSampledHeight = 1.0f;
   i = 0;
   while (true) {
-    const int x_388 = i;
+    int x_388 = i;
     if ((x_388 < 15)) {
     } else {
       break;
     }
-    const float2 x_394 = v_uv;
-    const float2 x_395 = vCurrOffset;
-    const float4 x_397 = (0.0f).xxxx;
+    float2 x_394 = v_uv;
+    float2 x_395 = vCurrOffset;
+    float4 x_397 = (0.0f).xxxx;
     currSampledHeight = x_397.w;
-    const float x_400 = currSampledHeight;
-    const float x_401 = currRayHeight;
+    float x_400 = currSampledHeight;
+    float x_401 = currRayHeight;
     if ((x_400 > x_401)) {
-      const float x_406 = currSampledHeight;
-      const float x_407 = currRayHeight;
+      float x_406 = currSampledHeight;
+      float x_407 = currRayHeight;
       delta1 = (x_406 - x_407);
-      const float x_410 = currRayHeight;
-      const float x_411 = stepSize;
-      const float x_413 = lastSampledHeight;
+      float x_410 = currRayHeight;
+      float x_411 = stepSize;
+      float x_413 = lastSampledHeight;
       delta2 = ((x_410 + x_411) - x_413);
-      const float x_416 = delta1;
-      const float x_417 = delta1;
-      const float x_418 = delta2;
+      float x_416 = delta1;
+      float x_417 = delta1;
+      float x_418 = delta2;
       ratio = (x_416 / (x_417 + x_418));
-      const float x_421 = ratio;
-      const float2 x_422 = vLastOffset;
-      const float x_424 = ratio;
-      const float2 x_426 = vCurrOffset;
+      float x_421 = ratio;
+      float2 x_422 = vLastOffset;
+      float x_424 = ratio;
+      float2 x_426 = vCurrOffset;
       vCurrOffset = ((x_422 * x_421) + (x_426 * (1.0f - x_424)));
       break;
     } else {
-      const float x_431 = stepSize;
-      const float x_432 = currRayHeight;
+      float x_431 = stepSize;
+      float x_432 = currRayHeight;
       currRayHeight = (x_432 - x_431);
-      const float2 x_434 = vCurrOffset;
+      float2 x_434 = vCurrOffset;
       vLastOffset = x_434;
-      const float x_435 = stepSize;
-      const float2 x_436 = vMaxOffset;
-      const float2 x_438 = vCurrOffset;
+      float x_435 = stepSize;
+      float2 x_436 = vMaxOffset;
+      float2 x_438 = vCurrOffset;
       vCurrOffset = (x_438 + (x_436 * x_435));
-      const float x_440 = currSampledHeight;
+      float x_440 = currSampledHeight;
       lastSampledHeight = x_440;
     }
     {
-      const int x_441 = i;
+      int x_441 = i;
       i = (x_441 + 1);
     }
   }
-  const float2 x_444 = vCurrOffset;
+  float2 x_444 = vCurrOffset;
   parallaxOcclusion_0 = x_444;
-  const float2 x_445 = parallaxOcclusion_0;
+  float2 x_445 = parallaxOcclusion_0;
   uvOffset = x_445;
-  const float2 x_449 = v_uv;
-  const float2 x_450 = uvOffset;
-  const float4 x_452 = TextureSamplerTexture.Sample(TextureSamplerSampler, (x_449 + x_450));
-  const float x_454 = asfloat(x_269[8].x);
-  const float3x3 x_457 = TBN;
+  float2 x_449 = v_uv;
+  float2 x_450 = uvOffset;
+  float4 x_452 = TextureSamplerTexture.Sample(TextureSamplerSampler, (x_449 + x_450));
+  float x_454 = asfloat(x_269[8].x);
+  float3x3 x_457 = TBN;
   param_8 = x_457;
   param_9 = float3(x_452.x, x_452.y, x_452.z);
   param_10 = (1.0f / x_454);
-  const float3 x_461 = perturbNormal_mf33_vf3_f1_(param_8, param_9, param_10);
-  const float4 x_462 = output4;
+  float3 x_461 = perturbNormal_mf33_vf3_f1_(param_8, param_9, param_10);
+  float4 x_462 = output4;
   output4 = float4(x_461.x, x_461.y, x_461.z, x_462.w);
-  const float2 x_465 = v_uv;
-  const float2 x_466 = uvOffset;
+  float2 x_465 = v_uv;
+  float2 x_466 = uvOffset;
   output6 = (x_465 + x_466);
-  const float2 x_474 = output6;
-  const float4 x_475 = TextureSampler1Texture.Sample(TextureSampler1Sampler, x_474);
+  float2 x_474 = output6;
+  float4 x_475 = TextureSampler1Texture.Sample(TextureSampler1Sampler, x_474);
   tempTextureRead1 = x_475;
-  const float4 x_477 = tempTextureRead1;
+  float4 x_477 = tempTextureRead1;
   rgb1 = float3(x_477.x, x_477.y, x_477.z);
-  const float3 x_481 = asfloat(x_269[9].xyz);
-  const float4 x_482 = v_output1;
+  float3 x_481 = asfloat(x_269[9].xyz);
+  float4 x_482 = v_output1;
   viewDirectionW_1 = normalize((x_481 - float3(x_482.x, x_482.y, x_482.z)));
   shadow = 1.0f;
-  const float x_488 = u_Float;
+  float x_488 = u_Float;
   glossiness_1 = (1.0f * x_488);
   diffuseBase = (0.0f).xxx;
   specularBase = (0.0f).xxx;
-  const float4 x_494 = output4;
+  float4 x_494 = output4;
   normalW = float3(x_494.x, x_494.y, x_494.z);
-  const float3 x_501 = viewDirectionW_1;
+  float3 x_501 = viewDirectionW_1;
   param_11 = x_501;
-  const float3 x_503 = normalW;
+  float3 x_503 = normalW;
   param_12 = x_503;
-  const float4 x_507 = asfloat(light0[0]);
+  float4 x_507 = asfloat(light0[0]);
   param_13 = x_507;
-  const float4 x_510 = asfloat(light0[1]);
+  float4 x_510 = asfloat(light0[1]);
   param_14 = float3(x_510.x, x_510.y, x_510.z);
-  const float4 x_514 = asfloat(light0[2]);
+  float4 x_514 = asfloat(light0[2]);
   param_15 = float3(x_514.x, x_514.y, x_514.z);
-  const float3 x_518 = asfloat(light0[3].xyz);
+  float3 x_518 = asfloat(light0[3].xyz);
   param_16 = x_518;
-  const float x_520 = glossiness_1;
+  float x_520 = glossiness_1;
   param_17 = x_520;
-  const lightingInfo x_521 = computeHemisphericLighting_vf3_vf3_vf4_vf3_vf3_vf3_f1_(param_11, param_12, param_13, param_14, param_15, param_16, param_17);
+  lightingInfo x_521 = computeHemisphericLighting_vf3_vf3_vf4_vf3_vf3_vf3_f1_(param_11, param_12, param_13, param_14, param_15, param_16, param_17);
   info = x_521;
   shadow = 1.0f;
-  const float3 x_523 = info.diffuse;
-  const float x_524 = shadow;
-  const float3 x_526 = diffuseBase;
+  float3 x_523 = info.diffuse;
+  float x_524 = shadow;
+  float3 x_526 = diffuseBase;
   diffuseBase = (x_526 + (x_523 * x_524));
-  const float3 x_529 = info.specular;
-  const float x_530 = shadow;
-  const float3 x_532 = specularBase;
+  float3 x_529 = info.specular;
+  float x_530 = shadow;
+  float3 x_532 = specularBase;
   specularBase = (x_532 + (x_529 * x_530));
-  const float3 x_535 = diffuseBase;
-  const float3 x_536 = rgb1;
+  float3 x_535 = diffuseBase;
+  float3 x_536 = rgb1;
   diffuseOutput = (x_535 * x_536);
-  const float3 x_539 = specularBase;
-  const float3 x_540 = u_Color;
+  float3 x_539 = specularBase;
+  float3 x_540 = u_Color;
   specularOutput = (x_539 * x_540);
-  const float3 x_543 = diffuseOutput;
-  const float3 x_544 = specularOutput;
+  float3 x_543 = diffuseOutput;
+  float3 x_544 = specularOutput;
   output3 = (x_543 + x_544);
-  const float3 x_548 = output3;
+  float3 x_548 = output3;
   glFragColor = float4(x_548.x, x_548.y, x_548.z, 1.0f);
   return;
 }
@@ -419,12 +419,12 @@
   v_uv = v_uv_param;
   v_output2 = v_output2_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.vMainuv_param, tint_symbol.v_output1_param, tint_symbol.gl_FrontFacing_param, tint_symbol.v_uv_param, tint_symbol.v_output2_param);
+  main_out inner_result = main_inner(tint_symbol.vMainuv_param, tint_symbol.v_output1_param, tint_symbol.gl_FrontFacing_param, tint_symbol.v_uv_param, tint_symbol.v_output2_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/949.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/949.wgsl.expected.fxc.hlsl
index 0ae00ab..40e600f 100644
--- a/test/tint/bug/tint/949.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/949.wgsl.expected.fxc.hlsl
@@ -34,48 +34,48 @@
   float3 tangent = float3(0.0f, 0.0f, 0.0f);
   float3 bitangent = float3(0.0f, 0.0f, 0.0f);
   float invmax = 0.0f;
-  const float3 x_133 = p;
+  float3 x_133 = p;
   dp1 = ddx(x_133);
-  const float3 x_136 = p;
+  float3 x_136 = p;
   dp2 = ddy(x_136);
-  const float2 x_139 = uv;
+  float2 x_139 = uv;
   duv1 = ddx(x_139);
-  const float2 x_142 = uv;
+  float2 x_142 = uv;
   duv2 = ddy(x_142);
-  const float3 x_145 = dp2;
-  const float3 x_146 = normal_1;
+  float3 x_145 = dp2;
+  float3 x_146 = normal_1;
   dp2perp = cross(x_145, x_146);
-  const float3 x_149 = normal_1;
-  const float3 x_150 = dp1;
+  float3 x_149 = normal_1;
+  float3 x_150 = dp1;
   dp1perp = cross(x_149, x_150);
-  const float3 x_153 = dp2perp;
-  const float x_155 = duv1.x;
-  const float3 x_157 = dp1perp;
-  const float x_159 = duv2.x;
+  float3 x_153 = dp2perp;
+  float x_155 = duv1.x;
+  float3 x_157 = dp1perp;
+  float x_159 = duv2.x;
   tangent = ((x_153 * x_155) + (x_157 * x_159));
-  const float3 x_163 = dp2perp;
-  const float x_165 = duv1.y;
-  const float3 x_167 = dp1perp;
-  const float x_169 = duv2.y;
+  float3 x_163 = dp2perp;
+  float x_165 = duv1.y;
+  float3 x_167 = dp1perp;
+  float x_169 = duv2.y;
   bitangent = ((x_163 * x_165) + (x_167 * x_169));
-  const float x_173 = tangentSpaceParams.x;
-  const float3 x_174 = tangent;
+  float x_173 = tangentSpaceParams.x;
+  float3 x_174 = tangent;
   tangent = (x_174 * x_173);
-  const float x_177 = tangentSpaceParams.y;
-  const float3 x_178 = bitangent;
+  float x_177 = tangentSpaceParams.y;
+  float3 x_178 = bitangent;
   bitangent = (x_178 * x_177);
-  const float3 x_181 = tangent;
-  const float3 x_182 = tangent;
-  const float3 x_184 = bitangent;
-  const float3 x_185 = bitangent;
+  float3 x_181 = tangent;
+  float3 x_182 = tangent;
+  float3 x_184 = bitangent;
+  float3 x_185 = bitangent;
   invmax = rsqrt(max(dot(x_181, x_182), dot(x_184, x_185)));
-  const float3 x_189 = tangent;
-  const float x_190 = invmax;
-  const float3 x_191 = (x_189 * x_190);
-  const float3 x_192 = bitangent;
-  const float x_193 = invmax;
-  const float3 x_194 = (x_192 * x_193);
-  const float3 x_195 = normal_1;
+  float3 x_189 = tangent;
+  float x_190 = invmax;
+  float3 x_191 = (x_189 * x_190);
+  float3 x_192 = bitangent;
+  float x_193 = invmax;
+  float3 x_194 = (x_192 * x_193);
+  float3 x_195 = normal_1;
   return float3x3(float3(x_191.x, x_191.y, x_191.z), float3(x_194.x, x_194.y, x_194.z), float3(x_195.x, x_195.y, x_195.z));
 }
 
@@ -84,32 +84,32 @@
   float3 i1 = float3(0.0f, 0.0f, 0.0f);
   float3 i2 = float3(0.0f, 0.0f, 0.0f);
   float3x3 outMatrix = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float3 x_60 = inMatrix[0];
+  float3 x_60 = inMatrix[0];
   i0 = x_60;
-  const float3 x_64 = inMatrix[1];
+  float3 x_64 = inMatrix[1];
   i1 = x_64;
-  const float3 x_68 = inMatrix[2];
+  float3 x_68 = inMatrix[2];
   i2 = x_68;
-  const float x_73 = i0.x;
-  const float x_75 = i1.x;
-  const float x_77 = i2.x;
-  const float3 x_78 = float3(x_73, x_75, x_77);
-  const float x_81 = i0.y;
-  const float x_83 = i1.y;
-  const float x_85 = i2.y;
-  const float3 x_86 = float3(x_81, x_83, x_85);
-  const float x_89 = i0.z;
-  const float x_91 = i1.z;
-  const float x_93 = i2.z;
-  const float3 x_94 = float3(x_89, x_91, x_93);
+  float x_73 = i0.x;
+  float x_75 = i1.x;
+  float x_77 = i2.x;
+  float3 x_78 = float3(x_73, x_75, x_77);
+  float x_81 = i0.y;
+  float x_83 = i1.y;
+  float x_85 = i2.y;
+  float3 x_86 = float3(x_81, x_83, x_85);
+  float x_89 = i0.z;
+  float x_91 = i1.z;
+  float x_93 = i2.z;
+  float3 x_94 = float3(x_89, x_91, x_93);
   outMatrix = float3x3(float3(x_78.x, x_78.y, x_78.z), float3(x_86.x, x_86.y, x_86.z), float3(x_94.x, x_94.y, x_94.z));
-  const float3x3 x_110 = outMatrix;
+  float3x3 x_110 = outMatrix;
   return x_110;
 }
 
 float3 perturbNormalBase_mf33_vf3_f1_(inout float3x3 cotangentFrame, inout float3 normal, inout float scale) {
-  const float3x3 x_113 = cotangentFrame;
-  const float3 x_114 = normal;
+  float3x3 x_113 = cotangentFrame;
+  float3 x_114 = normal;
   return normalize(mul(x_114, x_113));
 }
 
@@ -117,13 +117,13 @@
   float3x3 param = float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
   float3 param_1 = float3(0.0f, 0.0f, 0.0f);
   float param_2 = 0.0f;
-  const float3 x_119 = textureSample;
-  const float3x3 x_125 = cotangentFrame_1;
+  float3 x_119 = textureSample;
+  float3x3 x_125 = cotangentFrame_1;
   param = x_125;
   param_1 = ((x_119 * 2.0f) - (1.0f).xxx);
-  const float x_128 = scale_1;
+  float x_128 = scale_1;
   param_2 = x_128;
-  const float3 x_129 = perturbNormalBase_mf33_vf3_f1_(param, param_1, param_2);
+  float3 x_129 = perturbNormalBase_mf33_vf3_f1_(param, param_1, param_2);
   return x_129;
 }
 
@@ -132,26 +132,26 @@
   lightingInfo result = (lightingInfo)0;
   float3 angleW = float3(0.0f, 0.0f, 0.0f);
   float specComp = 0.0f;
-  const float3 x_212 = vNormal;
-  const float4 x_213 = lightData;
+  float3 x_212 = vNormal;
+  float4 x_213 = lightData;
   ndl = ((dot(x_212, float3(x_213.x, x_213.y, x_213.z)) * 0.5f) + 0.5f);
-  const float3 x_220 = groundColor;
-  const float3 x_221 = diffuseColor;
-  const float x_222 = ndl;
+  float3 x_220 = groundColor;
+  float3 x_221 = diffuseColor;
+  float x_222 = ndl;
   result.diffuse = lerp(x_220, x_221, float3(x_222, x_222, x_222));
-  const float3 x_227 = viewDirectionW;
-  const float4 x_228 = lightData;
+  float3 x_227 = viewDirectionW;
+  float4 x_228 = lightData;
   angleW = normalize((x_227 + float3(x_228.x, x_228.y, x_228.z)));
-  const float3 x_233 = vNormal;
-  const float3 x_234 = angleW;
+  float3 x_233 = vNormal;
+  float3 x_234 = angleW;
   specComp = max(0.0f, dot(x_233, x_234));
-  const float x_237 = specComp;
-  const float x_238 = glossiness;
+  float x_237 = specComp;
+  float x_238 = glossiness;
   specComp = pow(x_237, max(1.0f, x_238));
-  const float x_241 = specComp;
-  const float3 x_242 = specularColor;
+  float x_241 = specComp;
+  float3 x_242 = specularColor;
   result.specular = (x_242 * x_241);
-  const lightingInfo x_245 = result;
+  lightingInfo x_245 = result;
   return x_245;
 }
 
@@ -211,66 +211,66 @@
   float3 output3 = float3(0.0f, 0.0f, 0.0f);
   u_Float = 100.0f;
   u_Color = (0.5f).xxx;
-  const float2 x_261 = vMainuv;
-  const float4 x_262 = TextureSamplerTexture.Sample(TextureSamplerSampler, x_261);
+  float2 x_261 = vMainuv;
+  float4 x_262 = TextureSamplerTexture.Sample(TextureSamplerSampler, x_261);
   tempTextureRead = x_262;
-  const float4 x_264 = tempTextureRead;
-  const float x_273 = asfloat(x_269[10].x);
+  float4 x_264 = tempTextureRead;
+  float x_273 = asfloat(x_269[10].x);
   rgb = (float3(x_264.x, x_264.y, x_264.z) * x_273);
-  const float3 x_279 = asfloat(x_269[9].xyz);
-  const float4 x_282 = v_output1;
+  float3 x_279 = asfloat(x_269[9].xyz);
+  float4 x_282 = v_output1;
   output5 = normalize((x_279 - float3(x_282.x, x_282.y, x_282.z)));
   output4 = (0.0f).xxxx;
   uvOffset = (0.0f).xx;
-  const float x_292 = asfloat(x_269[8].x);
+  float x_292 = asfloat(x_269[8].x);
   normalScale = (1.0f / x_292);
-  const bool x_298 = gl_FrontFacing;
+  bool x_298 = gl_FrontFacing;
   if (x_298) {
-    const float2 x_303 = v_uv;
+    float2 x_303 = v_uv;
     x_299 = x_303;
   } else {
-    const float2 x_305 = v_uv;
+    float2 x_305 = v_uv;
     x_299 = -(x_305);
   }
-  const float2 x_307 = x_299;
+  float2 x_307 = x_299;
   TBNUV = x_307;
-  const float4 x_310 = v_output2;
-  const float x_312 = normalScale;
+  float4 x_310 = v_output2;
+  float x_312 = normalScale;
   param_3 = (float3(x_310.x, x_310.y, x_310.z) * x_312);
-  const float4 x_317 = v_output1;
+  float4 x_317 = v_output1;
   param_4 = float3(x_317.x, x_317.y, x_317.z);
-  const float2 x_320 = TBNUV;
+  float2 x_320 = TBNUV;
   param_5 = x_320;
-  const float2 x_324 = asfloat(x_269[10].zw);
+  float2 x_324 = asfloat(x_269[10].zw);
   param_6 = x_324;
-  const float3x3 x_325 = cotangent_frame_vf3_vf3_vf2_vf2_(param_3, param_4, param_5, param_6);
+  float3x3 x_325 = cotangent_frame_vf3_vf3_vf2_vf2_(param_3, param_4, param_5, param_6);
   TBN = x_325;
-  const float3x3 x_328 = TBN;
+  float3x3 x_328 = TBN;
   param_7 = x_328;
-  const float3x3 x_329 = transposeMat3_mf33_(param_7);
+  float3x3 x_329 = transposeMat3_mf33_(param_7);
   invTBN = x_329;
-  const float3x3 x_331 = invTBN;
-  const float3 x_332 = output5;
-  const float3 x_334 = mul(-(x_332), x_331);
-  const float3x3 x_337 = invTBN;
-  const float3 x_338 = output5;
+  float3x3 x_331 = invTBN;
+  float3 x_332 = output5;
+  float3 x_334 = mul(-(x_332), x_331);
+  float3x3 x_337 = invTBN;
+  float3 x_338 = output5;
   parallaxLimit = (length(float2(x_334.x, x_334.y)) / mul(-(x_338), x_337).z);
-  const float x_345 = asfloat(x_269[9].w);
-  const float x_346 = parallaxLimit;
+  float x_345 = asfloat(x_269[9].w);
+  float x_346 = parallaxLimit;
   parallaxLimit = (x_346 * x_345);
-  const float3x3 x_349 = invTBN;
-  const float3 x_350 = output5;
-  const float3 x_352 = mul(-(x_350), x_349);
+  float3x3 x_349 = invTBN;
+  float3 x_350 = output5;
+  float3 x_352 = mul(-(x_350), x_349);
   vOffsetDir = normalize(float2(x_352.x, x_352.y));
-  const float2 x_356 = vOffsetDir;
-  const float x_357 = parallaxLimit;
+  float2 x_356 = vOffsetDir;
+  float x_357 = parallaxLimit;
   vMaxOffset = (x_356 * x_357);
-  const float3x3 x_361 = invTBN;
-  const float3 x_362 = output5;
-  const float3x3 x_365 = invTBN;
-  const float4 x_366 = v_output2;
+  float3x3 x_361 = invTBN;
+  float3 x_362 = output5;
+  float3x3 x_365 = invTBN;
+  float4 x_366 = v_output2;
   numSamples = (15.0f + (dot(mul(-(x_362), x_361), mul(float3(x_366.x, x_366.y, x_366.z), x_365)) * -11.0f));
-  const float x_374 = numSamples;
+  float x_374 = numSamples;
   stepSize = (1.0f / x_374);
   currRayHeight = 1.0f;
   vCurrOffset = (0.0f).xx;
@@ -279,121 +279,121 @@
   currSampledHeight = 1.0f;
   i = 0;
   while (true) {
-    const int x_388 = i;
+    int x_388 = i;
     if ((x_388 < 15)) {
     } else {
       break;
     }
-    const float2 x_394 = v_uv;
-    const float2 x_395 = vCurrOffset;
-    const float4 x_397 = (0.0f).xxxx;
+    float2 x_394 = v_uv;
+    float2 x_395 = vCurrOffset;
+    float4 x_397 = (0.0f).xxxx;
     currSampledHeight = x_397.w;
-    const float x_400 = currSampledHeight;
-    const float x_401 = currRayHeight;
+    float x_400 = currSampledHeight;
+    float x_401 = currRayHeight;
     if ((x_400 > x_401)) {
-      const float x_406 = currSampledHeight;
-      const float x_407 = currRayHeight;
+      float x_406 = currSampledHeight;
+      float x_407 = currRayHeight;
       delta1 = (x_406 - x_407);
-      const float x_410 = currRayHeight;
-      const float x_411 = stepSize;
-      const float x_413 = lastSampledHeight;
+      float x_410 = currRayHeight;
+      float x_411 = stepSize;
+      float x_413 = lastSampledHeight;
       delta2 = ((x_410 + x_411) - x_413);
-      const float x_416 = delta1;
-      const float x_417 = delta1;
-      const float x_418 = delta2;
+      float x_416 = delta1;
+      float x_417 = delta1;
+      float x_418 = delta2;
       ratio = (x_416 / (x_417 + x_418));
-      const float x_421 = ratio;
-      const float2 x_422 = vLastOffset;
-      const float x_424 = ratio;
-      const float2 x_426 = vCurrOffset;
+      float x_421 = ratio;
+      float2 x_422 = vLastOffset;
+      float x_424 = ratio;
+      float2 x_426 = vCurrOffset;
       vCurrOffset = ((x_422 * x_421) + (x_426 * (1.0f - x_424)));
       break;
     } else {
-      const float x_431 = stepSize;
-      const float x_432 = currRayHeight;
+      float x_431 = stepSize;
+      float x_432 = currRayHeight;
       currRayHeight = (x_432 - x_431);
-      const float2 x_434 = vCurrOffset;
+      float2 x_434 = vCurrOffset;
       vLastOffset = x_434;
-      const float x_435 = stepSize;
-      const float2 x_436 = vMaxOffset;
-      const float2 x_438 = vCurrOffset;
+      float x_435 = stepSize;
+      float2 x_436 = vMaxOffset;
+      float2 x_438 = vCurrOffset;
       vCurrOffset = (x_438 + (x_436 * x_435));
-      const float x_440 = currSampledHeight;
+      float x_440 = currSampledHeight;
       lastSampledHeight = x_440;
     }
     {
-      const int x_441 = i;
+      int x_441 = i;
       i = (x_441 + 1);
     }
   }
-  const float2 x_444 = vCurrOffset;
+  float2 x_444 = vCurrOffset;
   parallaxOcclusion_0 = x_444;
-  const float2 x_445 = parallaxOcclusion_0;
+  float2 x_445 = parallaxOcclusion_0;
   uvOffset = x_445;
-  const float2 x_449 = v_uv;
-  const float2 x_450 = uvOffset;
-  const float4 x_452 = TextureSamplerTexture.Sample(TextureSamplerSampler, (x_449 + x_450));
-  const float x_454 = asfloat(x_269[8].x);
-  const float3x3 x_457 = TBN;
+  float2 x_449 = v_uv;
+  float2 x_450 = uvOffset;
+  float4 x_452 = TextureSamplerTexture.Sample(TextureSamplerSampler, (x_449 + x_450));
+  float x_454 = asfloat(x_269[8].x);
+  float3x3 x_457 = TBN;
   param_8 = x_457;
   param_9 = float3(x_452.x, x_452.y, x_452.z);
   param_10 = (1.0f / x_454);
-  const float3 x_461 = perturbNormal_mf33_vf3_f1_(param_8, param_9, param_10);
-  const float4 x_462 = output4;
+  float3 x_461 = perturbNormal_mf33_vf3_f1_(param_8, param_9, param_10);
+  float4 x_462 = output4;
   output4 = float4(x_461.x, x_461.y, x_461.z, x_462.w);
-  const float2 x_465 = v_uv;
-  const float2 x_466 = uvOffset;
+  float2 x_465 = v_uv;
+  float2 x_466 = uvOffset;
   output6 = (x_465 + x_466);
-  const float2 x_474 = output6;
-  const float4 x_475 = TextureSampler1Texture.Sample(TextureSampler1Sampler, x_474);
+  float2 x_474 = output6;
+  float4 x_475 = TextureSampler1Texture.Sample(TextureSampler1Sampler, x_474);
   tempTextureRead1 = x_475;
-  const float4 x_477 = tempTextureRead1;
+  float4 x_477 = tempTextureRead1;
   rgb1 = float3(x_477.x, x_477.y, x_477.z);
-  const float3 x_481 = asfloat(x_269[9].xyz);
-  const float4 x_482 = v_output1;
+  float3 x_481 = asfloat(x_269[9].xyz);
+  float4 x_482 = v_output1;
   viewDirectionW_1 = normalize((x_481 - float3(x_482.x, x_482.y, x_482.z)));
   shadow = 1.0f;
-  const float x_488 = u_Float;
+  float x_488 = u_Float;
   glossiness_1 = (1.0f * x_488);
   diffuseBase = (0.0f).xxx;
   specularBase = (0.0f).xxx;
-  const float4 x_494 = output4;
+  float4 x_494 = output4;
   normalW = float3(x_494.x, x_494.y, x_494.z);
-  const float3 x_501 = viewDirectionW_1;
+  float3 x_501 = viewDirectionW_1;
   param_11 = x_501;
-  const float3 x_503 = normalW;
+  float3 x_503 = normalW;
   param_12 = x_503;
-  const float4 x_507 = asfloat(light0[0]);
+  float4 x_507 = asfloat(light0[0]);
   param_13 = x_507;
-  const float4 x_510 = asfloat(light0[1]);
+  float4 x_510 = asfloat(light0[1]);
   param_14 = float3(x_510.x, x_510.y, x_510.z);
-  const float4 x_514 = asfloat(light0[2]);
+  float4 x_514 = asfloat(light0[2]);
   param_15 = float3(x_514.x, x_514.y, x_514.z);
-  const float3 x_518 = asfloat(light0[3].xyz);
+  float3 x_518 = asfloat(light0[3].xyz);
   param_16 = x_518;
-  const float x_520 = glossiness_1;
+  float x_520 = glossiness_1;
   param_17 = x_520;
-  const lightingInfo x_521 = computeHemisphericLighting_vf3_vf3_vf4_vf3_vf3_vf3_f1_(param_11, param_12, param_13, param_14, param_15, param_16, param_17);
+  lightingInfo x_521 = computeHemisphericLighting_vf3_vf3_vf4_vf3_vf3_vf3_f1_(param_11, param_12, param_13, param_14, param_15, param_16, param_17);
   info = x_521;
   shadow = 1.0f;
-  const float3 x_523 = info.diffuse;
-  const float x_524 = shadow;
-  const float3 x_526 = diffuseBase;
+  float3 x_523 = info.diffuse;
+  float x_524 = shadow;
+  float3 x_526 = diffuseBase;
   diffuseBase = (x_526 + (x_523 * x_524));
-  const float3 x_529 = info.specular;
-  const float x_530 = shadow;
-  const float3 x_532 = specularBase;
+  float3 x_529 = info.specular;
+  float x_530 = shadow;
+  float3 x_532 = specularBase;
   specularBase = (x_532 + (x_529 * x_530));
-  const float3 x_535 = diffuseBase;
-  const float3 x_536 = rgb1;
+  float3 x_535 = diffuseBase;
+  float3 x_536 = rgb1;
   diffuseOutput = (x_535 * x_536);
-  const float3 x_539 = specularBase;
-  const float3 x_540 = u_Color;
+  float3 x_539 = specularBase;
+  float3 x_540 = u_Color;
   specularOutput = (x_539 * x_540);
-  const float3 x_543 = diffuseOutput;
-  const float3 x_544 = specularOutput;
+  float3 x_543 = diffuseOutput;
+  float3 x_544 = specularOutput;
   output3 = (x_543 + x_544);
-  const float3 x_548 = output3;
+  float3 x_548 = output3;
   glFragColor = float4(x_548.x, x_548.y, x_548.z, 1.0f);
   return;
 }
@@ -419,12 +419,12 @@
   v_uv = v_uv_param;
   v_output2 = v_output2_param;
   main_1();
-  const main_out tint_symbol_3 = {glFragColor};
+  main_out tint_symbol_3 = {glFragColor};
   return tint_symbol_3;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const main_out inner_result = main_inner(tint_symbol.vMainuv_param, tint_symbol.v_output1_param, tint_symbol.gl_FrontFacing_param, tint_symbol.v_uv_param, tint_symbol.v_output2_param);
+  main_out inner_result = main_inner(tint_symbol.vMainuv_param, tint_symbol.v_output1_param, tint_symbol.gl_FrontFacing_param, tint_symbol.v_uv_param, tint_symbol.v_output2_param);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.glFragColor_1 = inner_result.glFragColor_1;
   return wrapper_result;
diff --git a/test/tint/bug/tint/977.spvasm.expected.dxc.hlsl b/test/tint/bug/tint/977.spvasm.expected.dxc.hlsl
index 4d1fe22..3115650 100644
--- a/test/tint/bug/tint/977.spvasm.expected.dxc.hlsl
+++ b/test/tint/bug/tint/977.spvasm.expected.dxc.hlsl
@@ -11,13 +11,13 @@
   if ((b == 0.0f)) {
     return 1.0f;
   }
-  const float x_21 = b;
+  float x_21 = b;
   if (!((round((x_21 - (2.0f * floor((x_21 / 2.0f))))) == 1.0f))) {
     x_26 = pow(abs(a), b);
   } else {
     x_26 = (float(sign(a)) * pow(abs(a), b));
   }
-  const float x_41 = x_26;
+  float x_41 = x_26;
   return x_41;
 }
 
@@ -28,10 +28,10 @@
   float param_1 = 0.0f;
   index = asint(gl_GlobalInvocationID.x);
   a_1 = -10;
-  const int x_63 = index;
+  int x_63 = index;
   param = -4.0f;
   param_1 = -3.0f;
-  const float x_68 = binaryOperation_f1_f1_(param, param_1);
+  float x_68 = binaryOperation_f1_f1_(param, param_1);
   resultMatrix.Store((4u * uint(x_63)), asuint(x_68));
   return;
 }
diff --git a/test/tint/bug/tint/977.spvasm.expected.fxc.hlsl b/test/tint/bug/tint/977.spvasm.expected.fxc.hlsl
index 4d1fe22..3115650 100644
--- a/test/tint/bug/tint/977.spvasm.expected.fxc.hlsl
+++ b/test/tint/bug/tint/977.spvasm.expected.fxc.hlsl
@@ -11,13 +11,13 @@
   if ((b == 0.0f)) {
     return 1.0f;
   }
-  const float x_21 = b;
+  float x_21 = b;
   if (!((round((x_21 - (2.0f * floor((x_21 / 2.0f))))) == 1.0f))) {
     x_26 = pow(abs(a), b);
   } else {
     x_26 = (float(sign(a)) * pow(abs(a), b));
   }
-  const float x_41 = x_26;
+  float x_41 = x_26;
   return x_41;
 }
 
@@ -28,10 +28,10 @@
   float param_1 = 0.0f;
   index = asint(gl_GlobalInvocationID.x);
   a_1 = -10;
-  const int x_63 = index;
+  int x_63 = index;
   param = -4.0f;
   param_1 = -3.0f;
-  const float x_68 = binaryOperation_f1_f1_(param, param_1);
+  float x_68 = binaryOperation_f1_f1_(param, param_1);
   resultMatrix.Store((4u * uint(x_63)), asuint(x_68));
   return;
 }
diff --git a/test/tint/bug/tint/978.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/978.wgsl.expected.dxc.hlsl
index a869da4..bcec5d8 100644
--- a/test/tint/bug/tint/978.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/978.wgsl.expected.dxc.hlsl
@@ -16,16 +16,16 @@
 };
 
 FragmentOutput main_inner(FragmentInput fIn) {
-  const float tint_symbol = depthMap.Sample(texSampler, fIn.vUv).x;
-  const float3 color = float3(tint_symbol, tint_symbol, tint_symbol);
+  float tint_symbol = depthMap.Sample(texSampler, fIn.vUv).x;
+  float3 color = float3(tint_symbol, tint_symbol, tint_symbol);
   FragmentOutput fOut = (FragmentOutput)0;
   fOut.color = float4(color, 1.0f);
   return fOut;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const FragmentInput tint_symbol_4 = {tint_symbol_1.vUv};
-  const FragmentOutput inner_result = main_inner(tint_symbol_4);
+  FragmentInput tint_symbol_4 = {tint_symbol_1.vUv};
+  FragmentOutput inner_result = main_inner(tint_symbol_4);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.color = inner_result.color;
   return wrapper_result;
diff --git a/test/tint/bug/tint/978.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/978.wgsl.expected.fxc.hlsl
index a869da4..bcec5d8 100644
--- a/test/tint/bug/tint/978.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/978.wgsl.expected.fxc.hlsl
@@ -16,16 +16,16 @@
 };
 
 FragmentOutput main_inner(FragmentInput fIn) {
-  const float tint_symbol = depthMap.Sample(texSampler, fIn.vUv).x;
-  const float3 color = float3(tint_symbol, tint_symbol, tint_symbol);
+  float tint_symbol = depthMap.Sample(texSampler, fIn.vUv).x;
+  float3 color = float3(tint_symbol, tint_symbol, tint_symbol);
   FragmentOutput fOut = (FragmentOutput)0;
   fOut.color = float4(color, 1.0f);
   return fOut;
 }
 
 tint_symbol_3 main(tint_symbol_2 tint_symbol_1) {
-  const FragmentInput tint_symbol_4 = {tint_symbol_1.vUv};
-  const FragmentOutput inner_result = main_inner(tint_symbol_4);
+  FragmentInput tint_symbol_4 = {tint_symbol_1.vUv};
+  FragmentOutput inner_result = main_inner(tint_symbol_4);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.color = inner_result.color;
   return wrapper_result;
diff --git a/test/tint/bug/tint/992.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/992.wgsl.expected.dxc.hlsl
index 7aace92..418b914 100644
--- a/test/tint/bug/tint/992.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/992.wgsl.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 }
 
 tint_symbol frag_main() {
-  const float4 inner_result = frag_main_inner();
+  float4 inner_result = frag_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/992.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/992.wgsl.expected.fxc.hlsl
index 7aace92..418b914 100644
--- a/test/tint/bug/tint/992.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/992.wgsl.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 }
 
 tint_symbol frag_main() {
-  const float4 inner_result = frag_main_inner();
+  float4 inner_result = frag_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/bug/tint/993.wgsl.expected.dxc.hlsl b/test/tint/bug/tint/993.wgsl.expected.dxc.hlsl
index a371675..af78cdf 100644
--- a/test/tint/bug/tint/993.wgsl.expected.dxc.hlsl
+++ b/test/tint/bug/tint/993.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int tint_symbol = runTest();
+  int tint_symbol = runTest();
   result.Store(0u, asuint(uint(tint_symbol)));
   return;
 }
diff --git a/test/tint/bug/tint/993.wgsl.expected.fxc.hlsl b/test/tint/bug/tint/993.wgsl.expected.fxc.hlsl
index a371675..af78cdf 100644
--- a/test/tint/bug/tint/993.wgsl.expected.fxc.hlsl
+++ b/test/tint/bug/tint/993.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int tint_symbol = runTest();
+  int tint_symbol = runTest();
   result.Store(0u, asuint(uint(tint_symbol)));
   return;
 }
diff --git a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.dxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.fxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.dxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.fxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.dxc.hlsl
index fd329c3..794df78 100644
--- a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
-  const uint l2 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
+  uint l2 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.fxc.hlsl
index fd329c3..794df78 100644
--- a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
-  const uint l2 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
+  uint l2 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/simple.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/simple.wgsl.expected.dxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/simple.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/simple.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/simple.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/simple.wgsl.expected.fxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/simple.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/simple.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.dxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.fxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/via_let.wgsl.expected.dxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/via_let.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/via_let.wgsl.expected.fxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/via_let.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.dxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.fxc.hlsl
index 726f047..4f10e8c 100644
--- a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = ((tint_symbol_1 - 0u) / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.dxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.fxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.dxc.hlsl b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.dxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.fxc.hlsl b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.fxc.hlsl
index c89e5e8..7e00306 100644
--- a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void main() {
   uint tint_symbol_1 = 0u;
   G.GetDimensions(tint_symbol_1);
-  const uint tint_symbol_2 = (tint_symbol_1 / 4u);
-  const uint l1 = tint_symbol_2;
+  uint tint_symbol_2 = (tint_symbol_1 / 4u);
+  uint l1 = tint_symbol_2;
   return;
 }
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.dxc.hlsl
index 45b7216..6ea8bcb 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.dxc.hlsl
@@ -16,9 +16,9 @@
     if (!((idx < 6u))) {
       break;
     }
-    const uint x_31 = idx;
-    const uint x_33 = idx;
-    const uint x_35 = idx;
+    uint x_31 = idx;
+    uint x_33 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[tint_div(x_31, 2u)][tint_mod(x_33, 2u)][tint_mod(x_35, 1u)], 0u, atomic_result);
     {
@@ -32,7 +32,7 @@
 }
 
 void compute_main_1() {
-  const uint x_57 = local_invocation_index_1;
+  uint x_57 = local_invocation_index_1;
   compute_main_inner(x_57);
   return;
 }
@@ -44,9 +44,9 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 6u); idx_1 = (idx_1 + 1u)) {
-      const uint i = (idx_1 / 2u);
-      const uint i_1 = (idx_1 % 2u);
-      const uint i_2 = (idx_1 % 1u);
+      uint i = (idx_1 / 2u);
+      uint i_1 = (idx_1 % 2u);
+      uint i_2 = (idx_1 % 1u);
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.fxc.hlsl
index 45b7216..6ea8bcb 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.fxc.hlsl
@@ -16,9 +16,9 @@
     if (!((idx < 6u))) {
       break;
     }
-    const uint x_31 = idx;
-    const uint x_33 = idx;
-    const uint x_35 = idx;
+    uint x_31 = idx;
+    uint x_33 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[tint_div(x_31, 2u)][tint_mod(x_33, 2u)][tint_mod(x_35, 1u)], 0u, atomic_result);
     {
@@ -32,7 +32,7 @@
 }
 
 void compute_main_1() {
-  const uint x_57 = local_invocation_index_1;
+  uint x_57 = local_invocation_index_1;
   compute_main_inner(x_57);
   return;
 }
@@ -44,9 +44,9 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 6u); idx_1 = (idx_1 + 1u)) {
-      const uint i = (idx_1 / 2u);
-      const uint i_1 = (idx_1 % 2u);
-      const uint i_2 = (idx_1 % 1u);
+      uint i = (idx_1 / 2u);
+      uint i_1 = (idx_1 % 2u);
+      uint i_2 = (idx_1 % 1u);
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.dxc.hlsl
index 4e13e38..f1093da 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.dxc.hlsl
@@ -7,9 +7,9 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 2u);
-      const uint i_1 = (idx % 2u);
-      const uint i_2 = (idx % 1u);
+      uint i = (idx / 2u);
+      uint i_1 = (idx % 2u);
+      uint i_2 = (idx % 1u);
       uint atomic_result = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.fxc.hlsl
index 4e13e38..f1093da 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.fxc.hlsl
@@ -7,9 +7,9 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 2u);
-      const uint i_1 = (idx % 2u);
-      const uint i_2 = (idx % 1u);
+      uint i = (idx / 2u);
+      uint i_1 = (idx % 2u);
+      uint i_2 = (idx % 1u);
       uint atomic_result = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/array/array.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/array.spvasm.expected.dxc.hlsl
index 34ffbb5..c946c97 100644
--- a/test/tint/builtins/atomicStore/array/array.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/array.spvasm.expected.dxc.hlsl
@@ -8,7 +8,7 @@
     if (!((idx < 4u))) {
       break;
     }
-    const uint x_26 = idx;
+    uint x_26 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[x_26], 0u, atomic_result);
     {
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_47 = local_invocation_index_1;
+  uint x_47 = local_invocation_index_1;
   compute_main_inner(x_47);
   return;
 }
@@ -34,7 +34,7 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 4u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/array.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/array.spvasm.expected.fxc.hlsl
index 34ffbb5..c946c97 100644
--- a/test/tint/builtins/atomicStore/array/array.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/array.spvasm.expected.fxc.hlsl
@@ -8,7 +8,7 @@
     if (!((idx < 4u))) {
       break;
     }
-    const uint x_26 = idx;
+    uint x_26 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[x_26], 0u, atomic_result);
     {
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_47 = local_invocation_index_1;
+  uint x_47 = local_invocation_index_1;
   compute_main_inner(x_47);
   return;
 }
@@ -34,7 +34,7 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 4u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/array.wgsl.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/array.wgsl.expected.dxc.hlsl
index 7c252a9..e317d3a 100644
--- a/test/tint/builtins/atomicStore/array/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/array.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       uint atomic_result = 0u;
       InterlockedExchange(wg[i], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/array/array.wgsl.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/array.wgsl.expected.fxc.hlsl
index 7c252a9..e317d3a 100644
--- a/test/tint/builtins/atomicStore/array/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/array.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       uint atomic_result = 0u;
       InterlockedExchange(wg[i], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.dxc.hlsl
index 45b7216..6ea8bcb 100644
--- a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.dxc.hlsl
@@ -16,9 +16,9 @@
     if (!((idx < 6u))) {
       break;
     }
-    const uint x_31 = idx;
-    const uint x_33 = idx;
-    const uint x_35 = idx;
+    uint x_31 = idx;
+    uint x_33 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[tint_div(x_31, 2u)][tint_mod(x_33, 2u)][tint_mod(x_35, 1u)], 0u, atomic_result);
     {
@@ -32,7 +32,7 @@
 }
 
 void compute_main_1() {
-  const uint x_57 = local_invocation_index_1;
+  uint x_57 = local_invocation_index_1;
   compute_main_inner(x_57);
   return;
 }
@@ -44,9 +44,9 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 6u); idx_1 = (idx_1 + 1u)) {
-      const uint i = (idx_1 / 2u);
-      const uint i_1 = (idx_1 % 2u);
-      const uint i_2 = (idx_1 % 1u);
+      uint i = (idx_1 / 2u);
+      uint i_1 = (idx_1 % 2u);
+      uint i_2 = (idx_1 % 1u);
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.fxc.hlsl
index 45b7216..6ea8bcb 100644
--- a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.fxc.hlsl
@@ -16,9 +16,9 @@
     if (!((idx < 6u))) {
       break;
     }
-    const uint x_31 = idx;
-    const uint x_33 = idx;
-    const uint x_35 = idx;
+    uint x_31 = idx;
+    uint x_33 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg[tint_div(x_31, 2u)][tint_mod(x_33, 2u)][tint_mod(x_35, 1u)], 0u, atomic_result);
     {
@@ -32,7 +32,7 @@
 }
 
 void compute_main_1() {
-  const uint x_57 = local_invocation_index_1;
+  uint x_57 = local_invocation_index_1;
   compute_main_inner(x_57);
   return;
 }
@@ -44,9 +44,9 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 6u); idx_1 = (idx_1 + 1u)) {
-      const uint i = (idx_1 / 2u);
-      const uint i_1 = (idx_1 % 2u);
-      const uint i_2 = (idx_1 % 1u);
+      uint i = (idx_1 / 2u);
+      uint i_1 = (idx_1 % 2u);
+      uint i_2 = (idx_1 % 1u);
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.dxc.hlsl b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.dxc.hlsl
index 4e13e38..f1093da 100644
--- a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.dxc.hlsl
@@ -7,9 +7,9 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 2u);
-      const uint i_1 = (idx % 2u);
-      const uint i_2 = (idx % 1u);
+      uint i = (idx / 2u);
+      uint i_1 = (idx % 2u);
+      uint i_2 = (idx % 1u);
       uint atomic_result = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.fxc.hlsl b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.fxc.hlsl
index 4e13e38..f1093da 100644
--- a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.fxc.hlsl
@@ -7,9 +7,9 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 2u);
-      const uint i_1 = (idx % 2u);
-      const uint i_2 = (idx % 1u);
+      uint i = (idx / 2u);
+      uint i_1 = (idx % 2u);
+      uint i_2 = (idx % 1u);
       uint atomic_result = 0u;
       InterlockedExchange(wg[i][i_1][i_2], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.dxc.hlsl
index ae8c7df..0d299af 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.dxc.hlsl
@@ -14,7 +14,7 @@
     if (!((idx < 10u))) {
       break;
     }
-    const uint x_28 = idx;
+    uint x_28 = idx;
     wg[x_28].x = 0;
     uint atomic_result = 0u;
     InterlockedExchange(wg[x_28].a, 0u, atomic_result);
@@ -30,7 +30,7 @@
 }
 
 void compute_main_1() {
-  const uint x_53 = local_invocation_index_1;
+  uint x_53 = local_invocation_index_1;
   compute_main_inner(x_53);
   return;
 }
@@ -42,7 +42,7 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 10u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       wg[i].x = 0;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i].a, 0u, atomic_result_2);
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.fxc.hlsl
index ae8c7df..0d299af 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.fxc.hlsl
@@ -14,7 +14,7 @@
     if (!((idx < 10u))) {
       break;
     }
-    const uint x_28 = idx;
+    uint x_28 = idx;
     wg[x_28].x = 0;
     uint atomic_result = 0u;
     InterlockedExchange(wg[x_28].a, 0u, atomic_result);
@@ -30,7 +30,7 @@
 }
 
 void compute_main_1() {
-  const uint x_53 = local_invocation_index_1;
+  uint x_53 = local_invocation_index_1;
   compute_main_inner(x_53);
   return;
 }
@@ -42,7 +42,7 @@
 void compute_main_inner_1(uint local_invocation_index_1_param) {
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 10u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       wg[i].x = 0;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg[i].a, 0u, atomic_result_2);
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.dxc.hlsl
index e11012c..b005711 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 10u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       wg[i].x = 0;
       uint atomic_result = 0u;
       InterlockedExchange(wg[i].a, 0u, atomic_result);
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.fxc.hlsl
index e11012c..b005711 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 void compute_main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 10u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       wg[i].x = 0;
       uint atomic_result = 0u;
       InterlockedExchange(wg[i].a, 0u, atomic_result);
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.dxc.hlsl
index c56ccea..f0c0b04 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_39 = local_invocation_index_1;
+  uint x_39 = local_invocation_index_1;
   compute_main_inner(x_39);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.fxc.hlsl
index c56ccea..f0c0b04 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_39 = local_invocation_index_1;
+  uint x_39 = local_invocation_index_1;
   compute_main_inner(x_39);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.dxc.hlsl
index d735498..bd7a57b 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.fxc.hlsl
index d735498..bd7a57b 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.dxc.hlsl
index b564c9c..9957b1a 100644
--- a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.dxc.hlsl
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_44 = local_invocation_index_1;
+  uint x_44 = local_invocation_index_1;
   compute_main_inner(x_44);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.fxc.hlsl
index b564c9c..9957b1a 100644
--- a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.fxc.hlsl
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_44 = local_invocation_index_1;
+  uint x_44 = local_invocation_index_1;
   compute_main_inner(x_44);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.dxc.hlsl
index c96d4af..78d1ea7 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.dxc.hlsl
@@ -16,7 +16,7 @@
     if (!((idx < 10u))) {
       break;
     }
-    const uint x_35 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg.a[x_35], 0u, atomic_result);
     {
@@ -30,7 +30,7 @@
 }
 
 void compute_main_1() {
-  const uint x_53 = local_invocation_index_1;
+  uint x_53 = local_invocation_index_1;
   compute_main_inner(x_53);
   return;
 }
@@ -46,7 +46,7 @@
   }
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 10u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg.a[i], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.fxc.hlsl
index c96d4af..78d1ea7 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.fxc.hlsl
@@ -16,7 +16,7 @@
     if (!((idx < 10u))) {
       break;
     }
-    const uint x_35 = idx;
+    uint x_35 = idx;
     uint atomic_result = 0u;
     InterlockedExchange(wg.a[x_35], 0u, atomic_result);
     {
@@ -30,7 +30,7 @@
 }
 
 void compute_main_1() {
-  const uint x_53 = local_invocation_index_1;
+  uint x_53 = local_invocation_index_1;
   compute_main_inner(x_53);
   return;
 }
@@ -46,7 +46,7 @@
   }
   {
     for(uint idx_1 = local_invocation_index_1_param; (idx_1 < 10u); idx_1 = (idx_1 + 1u)) {
-      const uint i = idx_1;
+      uint i = idx_1;
       uint atomic_result_2 = 0u;
       InterlockedExchange(wg.a[i], 0u, atomic_result_2);
     }
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.dxc.hlsl
index 1a042b7..c173184 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
   }
   {
     for(uint idx = local_invocation_index; (idx < 10u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       uint atomic_result = 0u;
       InterlockedExchange(wg.a[i], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.fxc.hlsl
index 1a042b7..c173184 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
   }
   {
     for(uint idx = local_invocation_index; (idx < 10u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       uint atomic_result = 0u;
       InterlockedExchange(wg.a[i], 0u, atomic_result);
     }
diff --git a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.dxc.hlsl
index d735498..bd7a57b 100644
--- a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.fxc.hlsl
index d735498..bd7a57b 100644
--- a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
index 62075b2..ceebab1 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicAdd(0u, 1);
+  int x_9 = sb_rwatomicAdd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
index 62075b2..ceebab1 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicAdd(0u, 1);
+  int x_9 = sb_rwatomicAdd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
index 23e2b93..5f86679 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAdd(0u, 1u);
+  uint x_9 = sb_rwatomicAdd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
index 23e2b93..5f86679 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAdd(0u, 1u);
+  uint x_9 = sb_rwatomicAdd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
index 0c494d2..9962951 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
index 0c494d2..9962951 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
index 99ac4aa..863b3f0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
index 99ac4aa..863b3f0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
index 8f5d21f..aa4320f 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAnd_152966() {
   int res = 0;
-  const int x_9 = sb_rwatomicAnd(0u, 1);
+  int x_9 = sb_rwatomicAnd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
index 8f5d21f..aa4320f 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAnd_152966() {
   int res = 0;
-  const int x_9 = sb_rwatomicAnd(0u, 1);
+  int x_9 = sb_rwatomicAnd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
index 734886d..028cc30 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAnd_85a8d9() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAnd(0u, 1u);
+  uint x_9 = sb_rwatomicAnd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
index 734886d..028cc30 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAnd_85a8d9() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAnd(0u, 1u);
+  uint x_9 = sb_rwatomicAnd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
index bb3fe38..3dcad28 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAnd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
index bb3fe38..3dcad28 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAnd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
index 15512d3..c305320 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAnd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
index 15512d3..c305320 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAnd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
index 0a188ef..fab0522 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
@@ -19,10 +19,10 @@
 
 void atomicCompareExchangeWeak_1bd40a() {
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
-  const atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1, 1);
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_19 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_19, (x_19 == 1)};
+  atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1, 1);
+  int old_value_1 = tint_symbol.old_value;
+  int x_19 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_19, (x_19 == 1)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
index 0a188ef..fab0522 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
@@ -19,10 +19,10 @@
 
 void atomicCompareExchangeWeak_1bd40a() {
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
-  const atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1, 1);
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_19 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_19, (x_19 == 1)};
+  atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1, 1);
+  int old_value_1 = tint_symbol.old_value;
+  int x_19 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_19, (x_19 == 1)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
index de0fce4..02ca466 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
@@ -19,10 +19,10 @@
 
 void atomicCompareExchangeWeak_63d8e6() {
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
-  const atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1u, 1u);
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_17 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_17, (x_17 == 1u)};
+  atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1u, 1u);
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_17 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_17, (x_17 == 1u)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
index de0fce4..02ca466 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
@@ -19,10 +19,10 @@
 
 void atomicCompareExchangeWeak_63d8e6() {
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
-  const atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1u, 1u);
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_17 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_17, (x_17 == 1u)};
+  atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, 1u, 1u);
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_17 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_17, (x_17 == 1u)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
index b86a5ff..25cb5fe 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -16,10 +16,10 @@
   int atomic_compare_value = 1;
   InterlockedCompareExchange(arg_0, atomic_compare_value, 1, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_18 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_18, (x_18 == 1)};
+  atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
+  int old_value_1 = tint_symbol.old_value;
+  int x_18 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_18, (x_18 == 1)};
   res = tint_symbol_3;
   return;
 }
@@ -33,7 +33,7 @@
 }
 
 void compute_main_1() {
-  const uint x_36 = local_invocation_index_1;
+  uint x_36 = local_invocation_index_1;
   compute_main_inner(x_36);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
index b86a5ff..25cb5fe 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -16,10 +16,10 @@
   int atomic_compare_value = 1;
   InterlockedCompareExchange(arg_0, atomic_compare_value, 1, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_18 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_18, (x_18 == 1)};
+  atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
+  int old_value_1 = tint_symbol.old_value;
+  int x_18 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_18, (x_18 == 1)};
   res = tint_symbol_3;
   return;
 }
@@ -33,7 +33,7 @@
 }
 
 void compute_main_1() {
-  const uint x_36 = local_invocation_index_1;
+  uint x_36 = local_invocation_index_1;
   compute_main_inner(x_36);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
index b5a010d..61b2399 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -16,10 +16,10 @@
   uint atomic_compare_value = 1u;
   InterlockedCompareExchange(arg_0, atomic_compare_value, 1u, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_17 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_17, (x_17 == 1u)};
+  atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_17 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_17, (x_17 == 1u)};
   res = tint_symbol_3;
   return;
 }
@@ -33,7 +33,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
index b5a010d..61b2399 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -16,10 +16,10 @@
   uint atomic_compare_value = 1u;
   InterlockedCompareExchange(arg_0, atomic_compare_value, 1u, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_17 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_17, (x_17 == 1u)};
+  atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_17 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_17, (x_17 == 1u)};
   res = tint_symbol_3;
   return;
 }
@@ -33,7 +33,7 @@
 }
 
 void compute_main_1() {
-  const uint x_35 = local_invocation_index_1;
+  uint x_35 = local_invocation_index_1;
   compute_main_inner(x_35);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
index 884033d..4f66c39 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicExchange_f2e22f() {
   int res = 0;
-  const int x_9 = sb_rwatomicExchange(0u, 1);
+  int x_9 = sb_rwatomicExchange(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
index 884033d..4f66c39 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicExchange_f2e22f() {
   int res = 0;
-  const int x_9 = sb_rwatomicExchange(0u, 1);
+  int x_9 = sb_rwatomicExchange(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
index 01c2a3f..f63c5ef 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicExchange_d59712() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicExchange(0u, 1u);
+  uint x_9 = sb_rwatomicExchange(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
index 01c2a3f..f63c5ef 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicExchange_d59712() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicExchange(0u, 1u);
+  uint x_9 = sb_rwatomicExchange(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
index 154f6cf..4ac5831 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedExchange(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
index 154f6cf..4ac5831 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedExchange(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
index b0f013f..2e23c86 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
index b0f013f..2e23c86 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
index 6d0778e..8456364 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_0806ad() {
   int res = 0;
-  const int x_9 = sb_rwatomicLoad(0u);
+  int x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
index 6d0778e..8456364 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_0806ad() {
   int res = 0;
-  const int x_9 = sb_rwatomicLoad(0u);
+  int x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
index 3939416..31e3771 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_fe6cc3() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicLoad(0u);
+  uint x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
index 3939416..31e3771 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_fe6cc3() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicLoad(0u);
+  uint x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
index 14e42dd..5e1404d 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 0, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
index 14e42dd..5e1404d 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 0, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
index 2eb7c6c..46e5215 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 0, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
index 2eb7c6c..46e5215 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 0, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
index 14ad059..0fd37dd 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMax_92aa72() {
   int res = 0;
-  const int x_9 = sb_rwatomicMax(0u, 1);
+  int x_9 = sb_rwatomicMax(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
index 14ad059..0fd37dd 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMax_92aa72() {
   int res = 0;
-  const int x_9 = sb_rwatomicMax(0u, 1);
+  int x_9 = sb_rwatomicMax(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
index 6e83700..b6ed31c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMax_51b9be() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicMax(0u, 1u);
+  uint x_9 = sb_rwatomicMax(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
index 6e83700..b6ed31c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMax_51b9be() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicMax(0u, 1u);
+  uint x_9 = sb_rwatomicMax(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
index 0288892..c9e2fa2 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedMax(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
index 0288892..c9e2fa2 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedMax(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
index b09ef95..df6e0fb 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedMax(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
index b09ef95..df6e0fb 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedMax(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
index 3aedf74..73ea210 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMin_8e38dc() {
   int res = 0;
-  const int x_9 = sb_rwatomicMin(0u, 1);
+  int x_9 = sb_rwatomicMin(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
index 3aedf74..73ea210 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMin_8e38dc() {
   int res = 0;
-  const int x_9 = sb_rwatomicMin(0u, 1);
+  int x_9 = sb_rwatomicMin(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
index a36b17f..898ee52 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMin_c67a74() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicMin(0u, 1u);
+  uint x_9 = sb_rwatomicMin(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
index a36b17f..898ee52 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicMin_c67a74() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicMin(0u, 1u);
+  uint x_9 = sb_rwatomicMin(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
index 8ccadb6..4e13dea 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedMin(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
index 8ccadb6..4e13dea 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedMin(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
index ad033d3..afa1be4 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedMin(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
index ad033d3..afa1be4 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedMin(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
index e6fa0fa..b275036 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicOr_8d96a0() {
   int res = 0;
-  const int x_9 = sb_rwatomicOr(0u, 1);
+  int x_9 = sb_rwatomicOr(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
index e6fa0fa..b275036 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicOr_8d96a0() {
   int res = 0;
-  const int x_9 = sb_rwatomicOr(0u, 1);
+  int x_9 = sb_rwatomicOr(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
index 4e4b2bd..8dc94f2 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicOr_5e95d4() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicOr(0u, 1u);
+  uint x_9 = sb_rwatomicOr(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
index 4e4b2bd..8dc94f2 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicOr_5e95d4() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicOr(0u, 1u);
+  uint x_9 = sb_rwatomicOr(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
index 7ad2a81..3b14d07 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
index 7ad2a81..3b14d07 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
index 3ba0201..67bb92a 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
index 3ba0201..67bb92a 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
index 57d9ca3..85a9453 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
index 57d9ca3..85a9453 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
index 5456c6d..0831a1c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 void compute_main_1() {
-  const uint x_28 = local_invocation_index_1;
+  uint x_28 = local_invocation_index_1;
   compute_main_inner(x_28);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
index 5456c6d..0831a1c 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 void compute_main_1() {
-  const uint x_28 = local_invocation_index_1;
+  uint x_28 = local_invocation_index_1;
   compute_main_inner(x_28);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
index 0daa678..b17e2bf 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicSub_051100() {
   int res = 0;
-  const int x_9 = sb_rwatomicSub(0u, 1);
+  int x_9 = sb_rwatomicSub(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
index 0daa678..b17e2bf 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicSub_051100() {
   int res = 0;
-  const int x_9 = sb_rwatomicSub(0u, 1);
+  int x_9 = sb_rwatomicSub(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
index 64a93b6..8f4e575 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicSub_15bfc9() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicSub(0u, 1u);
+  uint x_9 = sb_rwatomicSub(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
index 64a93b6..8f4e575 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicSub_15bfc9() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicSub(0u, 1u);
+  uint x_9 = sb_rwatomicSub(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
index 1869d21..a54d728 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
index 1869d21..a54d728 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
index 5ac8859..d0e1fc8 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
index 5ac8859..d0e1fc8 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
index 6f0efa8..318495e 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicXor_c1b78c() {
   int res = 0;
-  const int x_9 = sb_rwatomicXor(0u, 1);
+  int x_9 = sb_rwatomicXor(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
index 6f0efa8..318495e 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicXor_c1b78c() {
   int res = 0;
-  const int x_9 = sb_rwatomicXor(0u, 1);
+  int x_9 = sb_rwatomicXor(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
index becdabc..421a481 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicXor_54510e() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicXor(0u, 1u);
+  uint x_9 = sb_rwatomicXor(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
index becdabc..421a481 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicXor_54510e() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicXor(0u, 1u);
+  uint x_9 = sb_rwatomicXor(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
index c00f2dd..f41216b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedXor(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
index c00f2dd..f41216b 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedXor(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
index 9195263..01905aa 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedXor(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
index 9195263..01905aa 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedXor(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
index 34af827..de73111 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicSub(0u, 1);
+  int x_9 = sb_rwatomicSub(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
index 34af827..de73111 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicSub(0u, 1);
+  int x_9 = sb_rwatomicSub(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
index 697071a..2d670c7 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicSub(0u, 1u);
+  uint x_9 = sb_rwatomicSub(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
index 697071a..2d670c7 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicSub(0u, 1u);
+  uint x_9 = sb_rwatomicSub(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
index fff7006..e4c1b61 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
index fff7006..e4c1b61 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
index 6dfab80..411cc57 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
index 6dfab80..411cc57 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
index 62075b2..ceebab1 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicAdd(0u, 1);
+  int x_9 = sb_rwatomicAdd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
index 62075b2..ceebab1 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_d32fe4() {
   int res = 0;
-  const int x_9 = sb_rwatomicAdd(0u, 1);
+  int x_9 = sb_rwatomicAdd(0u, 1);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
index 23e2b93..5f86679 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAdd(0u, 1u);
+  uint x_9 = sb_rwatomicAdd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
index 23e2b93..5f86679 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicAdd_8a199a() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicAdd(0u, 1u);
+  uint x_9 = sb_rwatomicAdd(0u, 1u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
index 0c494d2..9962951 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
index 0c494d2..9962951 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
index 99ac4aa..863b3f0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
index 99ac4aa..863b3f0 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
index 45c4706..57342cc 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicAdd(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicAdd(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
index 45c4706..57342cc 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicAdd(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicAdd(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
index a103cb6..dc2310f 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicAdd(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicAdd(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
index a103cb6..dc2310f 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicAdd(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicAdd(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
index dc1a28c..d5d08bd 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
index dc1a28c..d5d08bd 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
index 4056d79..e158bce 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
index 4056d79..e158bce 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
index ddc54f7..f4ea517 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicAnd(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicAnd(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
index ddc54f7..f4ea517 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicAnd(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicAnd(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
index 1189b20..6ddf7aa 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicAnd(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicAnd(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
index 1189b20..6ddf7aa 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicAnd(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicAnd(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
index 8d82cb1..198973d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAnd(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
index 8d82cb1..198973d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAnd(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
index a5b66bc..f6fac5c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAnd(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
index a5b66bc..f6fac5c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAnd(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
index 97da599..600c354 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.dxc.hlsl
@@ -23,12 +23,12 @@
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
   arg_1 = 1;
   arg_2 = 1;
-  const int x_23 = arg_2;
-  const int x_24 = arg_1;
-  const atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_24, x_23);
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_25 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_25, (x_25 == x_23)};
+  int x_23 = arg_2;
+  int x_24 = arg_1;
+  atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_24, x_23);
+  int old_value_1 = tint_symbol.old_value;
+  int x_25 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_25, (x_25 == x_23)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
index 97da599..600c354 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.fxc.hlsl
@@ -23,12 +23,12 @@
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
   arg_1 = 1;
   arg_2 = 1;
-  const int x_23 = arg_2;
-  const int x_24 = arg_1;
-  const atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_24, x_23);
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_25 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_25, (x_25 == x_23)};
+  int x_23 = arg_2;
+  int x_24 = arg_1;
+  atomic_compare_exchange_result_i32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_24, x_23);
+  int old_value_1 = tint_symbol.old_value;
+  int x_25 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_1 = {x_25, (x_25 == x_23)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
index 368a192..7476ddd 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.dxc.hlsl
@@ -23,12 +23,12 @@
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
   arg_1 = 1u;
   arg_2 = 1u;
-  const uint x_21 = arg_2;
-  const uint x_22 = arg_1;
-  const atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_22, x_21);
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_23 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_23, (x_23 == x_21)};
+  uint x_21 = arg_2;
+  uint x_22 = arg_1;
+  atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_22, x_21);
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_23 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_23, (x_23 == x_21)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
index 368a192..7476ddd 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.fxc.hlsl
@@ -23,12 +23,12 @@
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
   arg_1 = 1u;
   arg_2 = 1u;
-  const uint x_21 = arg_2;
-  const uint x_22 = arg_1;
-  const atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_22, x_21);
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_23 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_23, (x_23 == x_21)};
+  uint x_21 = arg_2;
+  uint x_22 = arg_1;
+  atomic_compare_exchange_result_u32 tint_symbol = sb_rwatomicCompareExchangeWeak(0u, x_22, x_21);
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_23 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_1 = {x_23, (x_23 == x_21)};
   res = tint_symbol_1;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
index 3326ee4..e5f76df 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -16,16 +16,16 @@
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
   arg_1 = 1;
   arg_2 = 1;
-  const int x_22 = arg_2;
-  const int x_23 = arg_1;
+  int x_22 = arg_2;
+  int x_23 = arg_1;
   atomic_compare_exchange_result_i32 atomic_result = (atomic_compare_exchange_result_i32)0;
   int atomic_compare_value = x_23;
   InterlockedCompareExchange(arg_0, atomic_compare_value, x_22, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_24 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_24, (x_24 == x_22)};
+  atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
+  int old_value_1 = tint_symbol.old_value;
+  int x_24 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_24, (x_24 == x_22)};
   res = tint_symbol_3;
   return;
 }
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_41 = local_invocation_index_1;
+  uint x_41 = local_invocation_index_1;
   compute_main_inner(x_41);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
index 3326ee4..e5f76df 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -16,16 +16,16 @@
   x__atomic_compare_exchange_resulti32 res = (x__atomic_compare_exchange_resulti32)0;
   arg_1 = 1;
   arg_2 = 1;
-  const int x_22 = arg_2;
-  const int x_23 = arg_1;
+  int x_22 = arg_2;
+  int x_23 = arg_1;
   atomic_compare_exchange_result_i32 atomic_result = (atomic_compare_exchange_result_i32)0;
   int atomic_compare_value = x_23;
   InterlockedCompareExchange(arg_0, atomic_compare_value, x_22, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
-  const int old_value_1 = tint_symbol.old_value;
-  const int x_24 = old_value_1;
-  const x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_24, (x_24 == x_22)};
+  atomic_compare_exchange_result_i32 tint_symbol = atomic_result;
+  int old_value_1 = tint_symbol.old_value;
+  int x_24 = old_value_1;
+  x__atomic_compare_exchange_resulti32 tint_symbol_3 = {x_24, (x_24 == x_22)};
   res = tint_symbol_3;
   return;
 }
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_41 = local_invocation_index_1;
+  uint x_41 = local_invocation_index_1;
   compute_main_inner(x_41);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
index 40710ff..bba3966 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -16,16 +16,16 @@
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
   arg_1 = 1u;
   arg_2 = 1u;
-  const uint x_21 = arg_2;
-  const uint x_22 = arg_1;
+  uint x_21 = arg_2;
+  uint x_22 = arg_1;
   atomic_compare_exchange_result_u32 atomic_result = (atomic_compare_exchange_result_u32)0;
   uint atomic_compare_value = x_22;
   InterlockedCompareExchange(arg_0, atomic_compare_value, x_21, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_23 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_23, (x_23 == x_21)};
+  atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_23 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_23, (x_23 == x_21)};
   res = tint_symbol_3;
   return;
 }
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_40 = local_invocation_index_1;
+  uint x_40 = local_invocation_index_1;
   compute_main_inner(x_40);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
index 40710ff..bba3966 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -16,16 +16,16 @@
   x__atomic_compare_exchange_resultu32 res = (x__atomic_compare_exchange_resultu32)0;
   arg_1 = 1u;
   arg_2 = 1u;
-  const uint x_21 = arg_2;
-  const uint x_22 = arg_1;
+  uint x_21 = arg_2;
+  uint x_22 = arg_1;
   atomic_compare_exchange_result_u32 atomic_result = (atomic_compare_exchange_result_u32)0;
   uint atomic_compare_value = x_22;
   InterlockedCompareExchange(arg_0, atomic_compare_value, x_21, atomic_result.old_value);
   atomic_result.exchanged = atomic_result.old_value == atomic_compare_value;
-  const atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
-  const uint old_value_1 = tint_symbol.old_value;
-  const uint x_23 = old_value_1;
-  const x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_23, (x_23 == x_21)};
+  atomic_compare_exchange_result_u32 tint_symbol = atomic_result;
+  uint old_value_1 = tint_symbol.old_value;
+  uint x_23 = old_value_1;
+  x__atomic_compare_exchange_resultu32 tint_symbol_3 = {x_23, (x_23 == x_21)};
   res = tint_symbol_3;
   return;
 }
@@ -39,7 +39,7 @@
 }
 
 void compute_main_1() {
-  const uint x_40 = local_invocation_index_1;
+  uint x_40 = local_invocation_index_1;
   compute_main_inner(x_40);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
index 74c3caa..cf89101 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicExchange(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicExchange(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
index 74c3caa..cf89101 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicExchange(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicExchange(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
index 5846ad6..e43327d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicExchange(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicExchange(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
index 5846ad6..e43327d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicExchange(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicExchange(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
index af14596..01980f9 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedExchange(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
index af14596..01980f9 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedExchange(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
index 6c3f1b7..8c71e1c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
index 6c3f1b7..8c71e1c 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
index 6d0778e..8456364 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_0806ad() {
   int res = 0;
-  const int x_9 = sb_rwatomicLoad(0u);
+  int x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
index 6d0778e..8456364 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_0806ad() {
   int res = 0;
-  const int x_9 = sb_rwatomicLoad(0u);
+  int x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
index 3939416..31e3771 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_fe6cc3() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicLoad(0u);
+  uint x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
index 3939416..31e3771 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 void atomicLoad_fe6cc3() {
   uint res = 0u;
-  const uint x_9 = sb_rwatomicLoad(0u);
+  uint x_9 = sb_rwatomicLoad(0u);
   res = x_9;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
index 14e42dd..5e1404d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 0, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
index 14e42dd..5e1404d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   int res = 0;
   int atomic_result = 0;
   InterlockedOr(arg_0, 0, atomic_result);
-  const int x_11 = atomic_result;
+  int x_11 = atomic_result;
   res = x_11;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_30 = local_invocation_index_1;
+  uint x_30 = local_invocation_index_1;
   compute_main_inner(x_30);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
index 2eb7c6c..46e5215 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 0, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
index 2eb7c6c..46e5215 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,7 +5,7 @@
   uint res = 0u;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, 0, atomic_result);
-  const uint x_10 = atomic_result;
+  uint x_10 = atomic_result;
   res = x_10;
   return;
 }
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_29 = local_invocation_index_1;
+  uint x_29 = local_invocation_index_1;
   compute_main_inner(x_29);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
index e9c1579..697f8c5 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicMax(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicMax(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
index e9c1579..697f8c5 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicMax(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicMax(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
index 632845a..1e947c1 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicMax(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicMax(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
index 632845a..1e947c1 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicMax(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicMax(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
index 14fdeb1..a3f8ce3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedMax(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
index 14fdeb1..a3f8ce3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedMax(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
index ede6d36..2b9e7e9 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedMax(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
index ede6d36..2b9e7e9 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedMax(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
index eb12c7b..e834401 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicMin(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicMin(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
index eb12c7b..e834401 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicMin(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicMin(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
index 7715fa0..75eb663 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicMin(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicMin(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
index 7715fa0..75eb663 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicMin(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicMin(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
index 1daa664..d4d9b8d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedMin(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
index 1daa664..d4d9b8d 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedMin(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
index 109dcd3..81bbce6 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedMin(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
index 109dcd3..81bbce6 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedMin(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
index ef69a3e..facff69 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicOr(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicOr(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
index ef69a3e..facff69 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicOr(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicOr(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
index aaeeda3..26322c3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicOr(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicOr(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
index aaeeda3..26322c3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicOr(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicOr(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
index d35a39f..4c79af1 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedOr(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
index d35a39f..4c79af1 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedOr(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
index 530ca71..dc41527 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
index 530ca71..dc41527 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedOr(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.dxc.hlsl
index b0928b2..1584797 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 void atomicStore_d1e9a6() {
   int arg_1 = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
+  int x_20 = arg_1;
   sb_rwatomicStore(0u, x_20);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.fxc.hlsl
index b0928b2..1584797 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 void atomicStore_d1e9a6() {
   int arg_1 = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
+  int x_20 = arg_1;
   sb_rwatomicStore(0u, x_20);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.dxc.hlsl
index 14fba89..c9111de 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 void atomicStore_cdc29e() {
   uint arg_1 = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   sb_rwatomicStore(0u, x_18);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.fxc.hlsl
index 14fba89..c9111de 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 void atomicStore_cdc29e() {
   uint arg_1 = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   sb_rwatomicStore(0u, x_18);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
index 136c31d..2968ec2 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void atomicStore_8bea94() {
   int arg_1 = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedExchange(arg_0, x_19, atomic_result);
   return;
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
index 136c31d..2968ec2 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void atomicStore_8bea94() {
   int arg_1 = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedExchange(arg_0, x_19, atomic_result);
   return;
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
index 2627136..fbe430b 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void atomicStore_726882() {
   uint arg_1 = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, x_18, atomic_result);
   return;
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
index 2627136..fbe430b 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void atomicStore_726882() {
   uint arg_1 = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedExchange(arg_0, x_18, atomic_result);
   return;
@@ -19,7 +19,7 @@
 }
 
 void compute_main_1() {
-  const uint x_31 = local_invocation_index_1;
+  uint x_31 = local_invocation_index_1;
   compute_main_inner(x_31);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
index d79e78d..9766fb8 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicSub(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicSub(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
index d79e78d..9766fb8 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicSub(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicSub(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
index b6b09f1..3204c65 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicSub(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicSub(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
index b6b09f1..3204c65 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicSub(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicSub(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
index ba3c537..858fde3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(x_19), atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
index ba3c537..858fde3 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(x_19), atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
index 59985b4..662a724 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(x_18), atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
index 59985b4..662a724 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(x_18), atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
index 90274ca..f478261 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicXor(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicXor(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
index 90274ca..f478261 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_20 = arg_1;
-  const int x_13 = sb_rwatomicXor(0u, x_20);
+  int x_20 = arg_1;
+  int x_13 = sb_rwatomicXor(0u, x_20);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
index 9c3e3a4..3e44864 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicXor(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicXor(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
index 9c3e3a4..3e44864 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,8 +11,8 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
-  const uint x_13 = sb_rwatomicXor(0u, x_18);
+  uint x_18 = arg_1;
+  uint x_13 = sb_rwatomicXor(0u, x_18);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
index dbe3980..1179597 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedXor(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
index dbe3980..1179597 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_19 = arg_1;
+  int x_19 = arg_1;
   int atomic_result = 0;
   InterlockedXor(arg_0, x_19, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
index 32ee7a8..42c76f5 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedXor(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
index 32ee7a8..42c76f5 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -5,10 +5,10 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_18 = arg_1;
+  uint x_18 = arg_1;
   uint atomic_result = 0u;
   InterlockedXor(arg_0, x_18, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -22,7 +22,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
index b605ba9..e3ce2bb 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,7 +11,7 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_13 = sb_rwatomicSub(0u, 1);
+  int x_13 = sb_rwatomicSub(0u, 1);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
index b605ba9..e3ce2bb 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,7 +11,7 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_13 = sb_rwatomicSub(0u, 1);
+  int x_13 = sb_rwatomicSub(0u, 1);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
index 45a61a8..4c2ef9b 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,7 +11,7 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_13 = sb_rwatomicSub(0u, 1u);
+  uint x_13 = sb_rwatomicSub(0u, 1u);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
index 45a61a8..4c2ef9b 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,7 +11,7 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_13 = sb_rwatomicSub(0u, 1u);
+  uint x_13 = sb_rwatomicSub(0u, 1u);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
index bc3052b..4e970ee 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
index bc3052b..4e970ee 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, -(1), atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
index 926472f..534da7b 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
index 926472f..534da7b 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, -(1u), atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
index 080270c..35f6757 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.dxc.hlsl
@@ -11,7 +11,7 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_13 = sb_rwatomicAdd(0u, 1);
+  int x_13 = sb_rwatomicAdd(0u, 1);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
index 080270c..35f6757 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.fxc.hlsl
@@ -11,7 +11,7 @@
   int arg_1 = 0;
   int res = 0;
   arg_1 = 1;
-  const int x_13 = sb_rwatomicAdd(0u, 1);
+  int x_13 = sb_rwatomicAdd(0u, 1);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
index cc7a65d..4af896f 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.dxc.hlsl
@@ -11,7 +11,7 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_13 = sb_rwatomicAdd(0u, 1u);
+  uint x_13 = sb_rwatomicAdd(0u, 1u);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
index cc7a65d..4af896f 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.fxc.hlsl
@@ -11,7 +11,7 @@
   uint arg_1 = 0u;
   uint res = 0u;
   arg_1 = 1u;
-  const uint x_13 = sb_rwatomicAdd(0u, 1u);
+  uint x_13 = sb_rwatomicAdd(0u, 1u);
   res = x_13;
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
index 9ccc48a..26053f8 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.dxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
index 9ccc48a..26053f8 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.fxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1;
   int atomic_result = 0;
   InterlockedAdd(arg_0, 1, atomic_result);
-  const int x_15 = atomic_result;
+  int x_15 = atomic_result;
   res = x_15;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_33 = local_invocation_index_1;
+  uint x_33 = local_invocation_index_1;
   compute_main_inner(x_33);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
index e86b714..30461a3 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.dxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
index e86b714..30461a3 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.fxc.hlsl
@@ -7,7 +7,7 @@
   arg_1 = 1u;
   uint atomic_result = 0u;
   InterlockedAdd(arg_0, 1u, atomic_result);
-  const uint x_14 = atomic_result;
+  uint x_14 = atomic_result;
   res = x_14;
   return;
 }
@@ -21,7 +21,7 @@
 }
 
 void compute_main_1() {
-  const uint x_32 = local_invocation_index_1;
+  uint x_32 = local_invocation_index_1;
   compute_main_inner(x_32);
   return;
 }
diff --git a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.dxc.hlsl
index 5f000d2..cf0dfa8 100644
--- a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int tint_extract_bits(int v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int shl_result = ((shl < 32u) ? (v << shl) : 0);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int shl_result = ((shl < 32u) ? (v << shl) : 0);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -11,7 +11,7 @@
   int v = 0;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int x_14 = tint_extract_bits(v, offset_1, count);
+  int x_14 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.fxc.hlsl
index 5f000d2..cf0dfa8 100644
--- a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int tint_extract_bits(int v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int shl_result = ((shl < 32u) ? (v << shl) : 0);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int shl_result = ((shl < 32u) ? (v << shl) : 0);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -11,7 +11,7 @@
   int v = 0;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int x_14 = tint_extract_bits(v, offset_1, count);
+  int x_14 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.dxc.hlsl
index 0bcae19..a6f3577 100644
--- a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint tint_extract_bits(uint v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -11,7 +11,7 @@
   uint v = 0u;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint x_11 = tint_extract_bits(v, offset_1, count);
+  uint x_11 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.fxc.hlsl
index 0bcae19..a6f3577 100644
--- a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint tint_extract_bits(uint v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -11,7 +11,7 @@
   uint v = 0u;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint x_11 = tint_extract_bits(v, offset_1, count);
+  uint x_11 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.dxc.hlsl
index ed9ca4e..69839c4 100644
--- a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int3 tint_extract_bits(int3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -11,7 +11,7 @@
   int3 v = (0).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int3 x_15 = tint_extract_bits(v, offset_1, count);
+  int3 x_15 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.fxc.hlsl
index ed9ca4e..69839c4 100644
--- a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int3 tint_extract_bits(int3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -11,7 +11,7 @@
   int3 v = (0).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int3 x_15 = tint_extract_bits(v, offset_1, count);
+  int3 x_15 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.dxc.hlsl
index 22b0f60..0cfed9b 100644
--- a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint3 tint_extract_bits(uint3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -11,7 +11,7 @@
   uint3 v = (0u).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint3 x_14 = tint_extract_bits(v, offset_1, count);
+  uint3 x_14 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.fxc.hlsl
index 22b0f60..0cfed9b 100644
--- a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint3 tint_extract_bits(uint3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -11,7 +11,7 @@
   uint3 v = (0u).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint3 x_14 = tint_extract_bits(v, offset_1, count);
+  uint3 x_14 = tint_extract_bits(v, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/frexp.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp.wgsl.expected.dxc.hlsl
index 477f97b..83b4db5 100644
--- a/test/tint/builtins/frexp.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_f32 res = {0.61500000953674316406f, 1};
-  const int exp = res.exp;
-  const float fract = res.fract;
+  frexp_result_f32 res = {0.61500000953674316406f, 1};
+  int exp = res.exp;
+  float fract = res.fract;
   return;
 }
diff --git a/test/tint/builtins/frexp.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp.wgsl.expected.fxc.hlsl
index 477f97b..83b4db5 100644
--- a/test/tint/builtins/frexp.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_f32 res = {0.61500000953674316406f, 1};
-  const int exp = res.exp;
-  const float fract = res.fract;
+  frexp_result_f32 res = {0.61500000953674316406f, 1};
+  int exp = res.exp;
+  float fract = res.fract;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/const.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/scalar/const.wgsl.expected.dxc.hlsl
index 1a59a02..88afcbf 100644
--- a/test/tint/builtins/frexp/scalar/const.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/const.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_f32 res = {0.625f, 1};
-  const float fract = res.fract;
-  const int exp = res.exp;
+  frexp_result_f32 res = {0.625f, 1};
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/const.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/scalar/const.wgsl.expected.fxc.hlsl
index 1a59a02..88afcbf 100644
--- a/test/tint/builtins/frexp/scalar/const.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/const.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_f32 res = {0.625f, 1};
-  const float fract = res.fract;
-  const int exp = res.exp;
+  frexp_result_f32 res = {0.625f, 1};
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.dxc.hlsl
index 9f166c2..f613f84 100644
--- a/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float fract = 0.625f;
-  const int exp = 1;
+  float fract = 0.625f;
+  int exp = 1;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.fxc.hlsl
index 9f166c2..f613f84 100644
--- a/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/const_members.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float fract = 0.625f;
-  const int exp = 1;
+  float fract = 0.625f;
+  int exp = 1;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.dxc.hlsl
index cc064b3..544f874 100644
--- a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.dxc.hlsl
@@ -12,11 +12,11 @@
 static const frexp_result_f32 c = {0.625f, 1};
 [numthreads(1, 1, 1)]
 void main() {
-  const float runtime_in = 1.25f;
+  float runtime_in = 1.25f;
   frexp_result_f32 res = {0.625f, 1};
   res = tint_frexp(runtime_in);
   res = c;
-  const float fract = res.fract;
-  const int exp = res.exp;
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.fxc.hlsl
index cc064b3..544f874 100644
--- a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.fxc.hlsl
@@ -12,11 +12,11 @@
 static const frexp_result_f32 c = {0.625f, 1};
 [numthreads(1, 1, 1)]
 void main() {
-  const float runtime_in = 1.25f;
+  float runtime_in = 1.25f;
   frexp_result_f32 res = {0.625f, 1};
   res = tint_frexp(runtime_in);
   res = c;
-  const float fract = res.fract;
-  const int exp = res.exp;
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.dxc.hlsl
index 05fdf30..c91c8c7 100644
--- a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.dxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float tint_symbol = 1.25f;
-  const frexp_result_f32 res = tint_frexp(tint_symbol);
-  const float fract = res.fract;
-  const int exp = res.exp;
+  float tint_symbol = 1.25f;
+  frexp_result_f32 res = tint_frexp(tint_symbol);
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.fxc.hlsl
index 05fdf30..c91c8c7 100644
--- a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.fxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float tint_symbol = 1.25f;
-  const frexp_result_f32 res = tint_frexp(tint_symbol);
-  const float fract = res.fract;
-  const int exp = res.exp;
+  float tint_symbol = 1.25f;
+  frexp_result_f32 res = tint_frexp(tint_symbol);
+  float fract = res.fract;
+  int exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/const.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/vector/const.wgsl.expected.dxc.hlsl
index 96a9c15..8bd4003 100644
--- a/test/tint/builtins/frexp/vector/const.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/vector/const.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/const.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/vector/const.wgsl.expected.fxc.hlsl
index 96a9c15..8bd4003 100644
--- a/test/tint/builtins/frexp/vector/const.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/vector/const.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/const_members.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/vector/const_members.wgsl.expected.dxc.hlsl
index 89217b2..66ca00e 100644
--- a/test/tint/builtins/frexp/vector/const_members.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/vector/const_members.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 fract = float2(0.625f, 0.9375f);
-  const int2 exp = int2(1, 2);
+  float2 fract = float2(0.625f, 0.9375f);
+  int2 exp = int2(1, 2);
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/const_members.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/vector/const_members.wgsl.expected.fxc.hlsl
index 89217b2..66ca00e 100644
--- a/test/tint/builtins/frexp/vector/const_members.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/vector/const_members.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 fract = float2(0.625f, 0.9375f);
-  const int2 exp = int2(1, 2);
+  float2 fract = float2(0.625f, 0.9375f);
+  int2 exp = int2(1, 2);
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.dxc.hlsl
index cf863a4..c843229 100644
--- a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.dxc.hlsl
@@ -12,11 +12,11 @@
 static const frexp_result_vec2_f32 c = {float2(0.625f, 0.9375f), int2(1, 2)};
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 runtime_in = float2(1.25f, 3.75f);
+  float2 runtime_in = float2(1.25f, 3.75f);
   frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
   res = tint_frexp(runtime_in);
   res = c;
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.fxc.hlsl
index cf863a4..c843229 100644
--- a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.fxc.hlsl
@@ -12,11 +12,11 @@
 static const frexp_result_vec2_f32 c = {float2(0.625f, 0.9375f), int2(1, 2)};
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 runtime_in = float2(1.25f, 3.75f);
+  float2 runtime_in = float2(1.25f, 3.75f);
   frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)};
   res = tint_frexp(runtime_in);
   res = c;
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.dxc.hlsl b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.dxc.hlsl
index 390557d..c3277d7 100644
--- a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.dxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 tint_symbol = float2(1.25f, 3.75f);
-  const frexp_result_vec2_f32 res = tint_frexp(tint_symbol);
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  float2 tint_symbol = float2(1.25f, 3.75f);
+  frexp_result_vec2_f32 res = tint_frexp(tint_symbol);
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.fxc.hlsl b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.fxc.hlsl
index 390557d..c3277d7 100644
--- a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.fxc.hlsl
@@ -11,9 +11,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 tint_symbol = float2(1.25f, 3.75f);
-  const frexp_result_vec2_f32 res = tint_frexp(tint_symbol);
-  const float2 fract = res.fract;
-  const int2 exp = res.exp;
+  float2 tint_symbol = float2(1.25f, 3.75f);
+  frexp_result_vec2_f32 res = tint_frexp(tint_symbol);
+  float2 fract = res.fract;
+  int2 exp = res.exp;
   return;
 }
diff --git a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.dxc.hlsl
index 6e76a44..6f51d96 100644
--- a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.fxc.hlsl
index 6e76a44..6f51d96 100644
--- a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.dxc.hlsl
index b5a2c6d0..ec088ff 100644
--- a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.fxc.hlsl
index b5a2c6d0..ec088ff 100644
--- a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.dxc.hlsl
index 031389d..478d61e3 100644
--- a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.fxc.hlsl
index 031389d..478d61e3 100644
--- a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.dxc.hlsl
index 985b846..19f3eb2 100644
--- a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.fxc.hlsl
index 985b846..19f3eb2 100644
--- a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.dxc.hlsl
index d3dc754..8c1c15b 100644
--- a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.fxc.hlsl
index d3dc754..8c1c15b 100644
--- a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.dxc.hlsl
index bd2debc..8bdbf6e 100644
--- a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.dxc.hlsl
index 2cc0c08..0e8183a 100644
--- a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.fxc.hlsl
index 2cc0c08..0e8183a 100644
--- a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.dxc.hlsl
index f272893..b99b664f 100644
--- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.fxc.hlsl
index f272893..b99b664f 100644
--- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.dxc.hlsl
index 0204e0e..81c27f1 100644
--- a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.dxc.hlsl
index d24e2b9..1d0b3ec 100644
--- a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.fxc.hlsl
index d24e2b9..1d0b3ec 100644
--- a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.dxc.hlsl
index 86901c6..cb30ec2 100644
--- a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.fxc.hlsl
index 86901c6..cb30ec2 100644
--- a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.dxc.hlsl
index 44f56bc..cfd1282 100644
--- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.fxc.hlsl
index 44f56bc..cfd1282 100644
--- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.dxc.hlsl
index f15686b..6a05199 100644
--- a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.dxc.hlsl
index eaf2aa1..e597d6a 100644
--- a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.fxc.hlsl
index eaf2aa1..e597d6a 100644
--- a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.dxc.hlsl
index b8e038c..52506d9 100644
--- a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.fxc.hlsl
index b8e038c..52506d9 100644
--- a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.dxc.hlsl
index d77553f..cb48d16 100644
--- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.fxc.hlsl
index d77553f..cb48d16 100644
--- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.dxc.hlsl
index 558b2e3..9451773 100644
--- a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.fxc.hlsl
index 558b2e3..9451773 100644
--- a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.dxc.hlsl
index ded6c62..4e12ffd 100644
--- a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.fxc.hlsl
index ded6c62..4e12ffd 100644
--- a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.dxc.hlsl
index 9572189..aa163a4 100644
--- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.fxc.hlsl
index 9572189..aa163a4 100644
--- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.dxc.hlsl
index 1de84a5..c7a988c 100644
--- a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.fxc.hlsl
index 1de84a5..c7a988c 100644
--- a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.dxc.hlsl
index c947b8d..38df831 100644
--- a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.fxc.hlsl
index c947b8d..38df831 100644
--- a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.dxc.hlsl
index 0aa2ad9..ecb1415 100644
--- a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.fxc.hlsl
index 0aa2ad9..ecb1415 100644
--- a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.dxc.hlsl
index 46f6f3f..ed340d2 100644
--- a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.fxc.hlsl
index 46f6f3f..ed340d2 100644
--- a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.dxc.hlsl
index 3c6ae8a..e6acde2 100644
--- a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.dxc.hlsl
index 8d01506..d985047 100644
--- a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.dxc.hlsl
index 9f628c0..f32384f 100644
--- a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.fxc.hlsl
index 9f628c0..f32384f 100644
--- a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.dxc.hlsl
index 503eb81..09b4539 100644
--- a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.fxc.hlsl
index 503eb81..09b4539 100644
--- a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.dxc.hlsl
index 2962c11..951ec67 100644
--- a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.dxc.hlsl
index 6428580..c0a7242 100644
--- a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.dxc.hlsl
index ac57776..bf88247 100644
--- a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.fxc.hlsl
index ac57776..bf88247 100644
--- a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.dxc.hlsl
index 5aba9a5..28d0870 100644
--- a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.fxc.hlsl
index 5aba9a5..28d0870 100644
--- a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.dxc.hlsl
index e6fef13..9a458f1 100644
--- a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.fxc.hlsl
index e6fef13..9a458f1 100644
--- a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.dxc.hlsl
index c3a5937..c150b55 100644
--- a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.fxc.hlsl
index c3a5937..c150b55 100644
--- a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.dxc.hlsl
index 6a59564..ad52307 100644
--- a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.fxc.hlsl
index 6a59564..ad52307 100644
--- a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.dxc.hlsl
index 4a0df62..53d4d5d 100644
--- a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.fxc.hlsl
index 4a0df62..53d4d5d 100644
--- a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.dxc.hlsl
index 873299d..d0ec2c2 100644
--- a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.dxc.hlsl
index 2585c3d..1126ee7 100644
--- a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.fxc.hlsl
index 2585c3d..1126ee7 100644
--- a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.dxc.hlsl
index 868a9af..09cec0b 100644
--- a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.fxc.hlsl
index 868a9af..09cec0b 100644
--- a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.dxc.hlsl
index 1799078..0b76e63 100644
--- a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.fxc.hlsl
index 1799078..0b76e63 100644
--- a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.dxc.hlsl
index 4cc7aca..f24d79f 100644
--- a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.dxc.hlsl
index 49b3c99..2aca4cb 100644
--- a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.fxc.hlsl
index 49b3c99..2aca4cb 100644
--- a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.dxc.hlsl
index 8f27be1..db7d888 100644
--- a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.fxc.hlsl
index 8f27be1..db7d888 100644
--- a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.dxc.hlsl
index 35c9e0d..46650c4 100644
--- a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.dxc.hlsl
index b55a72f..eec33d6 100644
--- a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.fxc.hlsl
index b55a72f..eec33d6 100644
--- a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.dxc.hlsl
index 766375b..f70b70a 100644
--- a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.dxc.hlsl
index 1c8f759..df22364 100644
--- a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.fxc.hlsl
index 1c8f759..df22364 100644
--- a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.dxc.hlsl
index db7727b..071c3b9 100644
--- a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.fxc.hlsl
index db7727b..071c3b9 100644
--- a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.dxc.hlsl
index c0fac29..a8cfa8e 100644
--- a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.dxc.hlsl
index 62b0e2f..aae7454 100644
--- a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.fxc.hlsl
index 62b0e2f..aae7454 100644
--- a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.dxc.hlsl
index d5a5e7c..4efd1ec 100644
--- a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.fxc.hlsl
index d5a5e7c..4efd1ec 100644
--- a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.dxc.hlsl
index 37843b6..6a8f6d5 100644
--- a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.fxc.hlsl
index 37843b6..6a8f6d5 100644
--- a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.dxc.hlsl
index 02bb1a7..781a63c 100644
--- a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.fxc.hlsl
index 02bb1a7..781a63c 100644
--- a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.dxc.hlsl
index b2d4dd4..6b751c0 100644
--- a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.fxc.hlsl
index b2d4dd4..6b751c0 100644
--- a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.dxc.hlsl
index 9c97020..698eca8 100644
--- a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.fxc.hlsl
index 9c97020..698eca8 100644
--- a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.dxc.hlsl
index 6bb322a..dc8b42c 100644
--- a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.fxc.hlsl
index 6bb322a..dc8b42c 100644
--- a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.dxc.hlsl
index 3b48d66..774f0ae 100644
--- a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.fxc.hlsl
index 3b48d66..774f0ae 100644
--- a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.dxc.hlsl
index 6897c1f..3310e3c 100644
--- a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_1588cd() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.fxc.hlsl
index 6897c1f..3310e3c 100644
--- a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_1588cd() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
index de19dd2..225090f 100644
--- a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_61b1c7() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
index de19dd2..225090f 100644
--- a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_61b1c7() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.dxc.hlsl
index d7ce3f2..501b1f1 100644
--- a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_8421b9() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.fxc.hlsl
index d7ce3f2..501b1f1 100644
--- a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_8421b9() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
index 4dff097..b02605b 100644
--- a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_a0f5ca() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
index 4dff097..b02605b 100644
--- a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_a0f5ca() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
index 526e00f..4f941df 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cbd6b5() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
index 526e00f..4f941df 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cbd6b5() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.dxc.hlsl
index 3099a0a..1131023 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cdd123() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.fxc.hlsl
index 3099a0a..1131023 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cdd123() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
index 65a0cc2..61fe737 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cfca0a() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
index 65a0cc2..61fe737 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cfca0a() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.dxc.hlsl
index d00eab1..d228346 100644
--- a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_eb510f() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.fxc.hlsl
index d00eab1..d228346 100644
--- a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_eb510f() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.dxc.hlsl
index 0ed2d59..6126b40 100644
--- a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.fxc.hlsl
index 0ed2d59..6126b40 100644
--- a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.dxc.hlsl
index 96bd88a..f56f860 100644
--- a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.fxc.hlsl
index 96bd88a..f56f860 100644
--- a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.dxc.hlsl
index d15d514..f7b448f 100644
--- a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.dxc.hlsl
index b04d8c9..2d4d95c 100644
--- a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.dxc.hlsl
index 7f2d074..e761594 100644
--- a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.dxc.hlsl
index 1ee8601..ac0dc09 100644
--- a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.fxc.hlsl
index 1ee8601..ac0dc09 100644
--- a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.dxc.hlsl
index 39ff72f..ebd56b4 100644
--- a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.fxc.hlsl
index 39ff72f..ebd56b4 100644
--- a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.dxc.hlsl
index ca6db14..130e089 100644
--- a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.fxc.hlsl
index ca6db14..130e089 100644
--- a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.dxc.hlsl
index d910dc9..80ffef4 100644
--- a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.fxc.hlsl
index d910dc9..80ffef4 100644
--- a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.dxc.hlsl
index 5e01eb0..d900a18 100644
--- a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.fxc.hlsl
index 5e01eb0..d900a18 100644
--- a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.dxc.hlsl
index 7bc0cdd..1126776 100644
--- a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.dxc.hlsl
index fe970d3..b175778 100644
--- a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.fxc.hlsl
index fe970d3..b175778 100644
--- a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.dxc.hlsl
index e35b24a..538af9d 100644
--- a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.fxc.hlsl
index e35b24a..538af9d 100644
--- a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.dxc.hlsl
index 01a4bd5..bb216ab 100644
--- a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.fxc.hlsl
index 01a4bd5..bb216ab 100644
--- a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.dxc.hlsl
index 10d6034..f0e3d28 100644
--- a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.fxc.hlsl
index 10d6034..f0e3d28 100644
--- a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.dxc.hlsl
index 9859458..8b27ac1 100644
--- a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.fxc.hlsl
index 9859458..8b27ac1 100644
--- a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.dxc.hlsl
index 818cb4a..865029c 100644
--- a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.dxc.hlsl
index 5790c2f..a9c868e 100644
--- a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.fxc.hlsl
index 5790c2f..a9c868e 100644
--- a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.dxc.hlsl
index 1a8827f..f1fc1e4 100644
--- a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.fxc.hlsl
index 1a8827f..f1fc1e4 100644
--- a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.dxc.hlsl
index 8cbc18e..5b2984b 100644
--- a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.fxc.hlsl
index 8cbc18e..5b2984b 100644
--- a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.dxc.hlsl
index 6da10c2..5177656 100644
--- a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.dxc.hlsl
index 0e67c72..78f5707 100644
--- a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.dxc.hlsl
index dbf7249..6a05565 100644
--- a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.fxc.hlsl
index dbf7249..6a05565 100644
--- a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.dxc.hlsl
index d2514ed..91a9114 100644
--- a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.dxc.hlsl
index 1d2d3b8..d73a808 100644
--- a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.fxc.hlsl
index 1d2d3b8..d73a808 100644
--- a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.dxc.hlsl
index 063cb733..14de0a8 100644
--- a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.dxc.hlsl
index 3506a79..8e1db6c 100644
--- a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.dxc.hlsl
index 1edc4e1..7434830 100644
--- a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.fxc.hlsl
index 1edc4e1..7434830 100644
--- a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.dxc.hlsl
index a7298c6..967a3bf 100644
--- a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.fxc.hlsl
index a7298c6..967a3bf 100644
--- a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.dxc.hlsl
index 2db8ef0..73201db 100644
--- a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.fxc.hlsl
index 2db8ef0..73201db 100644
--- a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.dxc.hlsl
index e193179..c69f450 100644
--- a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.fxc.hlsl
index e193179..c69f450 100644
--- a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.dxc.hlsl
index 74deaa8..b7b932c 100644
--- a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.dxc.hlsl
index b7625ac..55e2a13 100644
--- a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.dxc.hlsl
index 130342a..0608222 100644
--- a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.fxc.hlsl
index 130342a..0608222 100644
--- a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.dxc.hlsl
index 3965113..70a56d7 100644
--- a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.fxc.hlsl
index 3965113..70a56d7 100644
--- a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.dxc.hlsl
index e6dfad9..6342661 100644
--- a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.fxc.hlsl
index e6dfad9..6342661 100644
--- a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.dxc.hlsl
index 5af1f00..ff2f0cd 100644
--- a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.fxc.hlsl
index 5af1f00..ff2f0cd 100644
--- a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.dxc.hlsl
index 49d886f..875096c 100644
--- a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.dxc.hlsl
index 6251bb1..bdf13db 100644
--- a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.fxc.hlsl
index 6251bb1..bdf13db 100644
--- a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.dxc.hlsl
index 86460b6..2894594 100644
--- a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.fxc.hlsl
index 86460b6..2894594 100644
--- a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.dxc.hlsl
index 0967fbb..6b21e2e 100644
--- a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.dxc.hlsl
index 4cff46c..0b27ff2 100644
--- a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.fxc.hlsl
index 4cff46c..0b27ff2 100644
--- a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.dxc.hlsl
index 3c575d4..8948249 100644
--- a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.fxc.hlsl
index 3c575d4..8948249 100644
--- a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.dxc.hlsl
index 0faff85..22facb3 100644
--- a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.fxc.hlsl
index 0faff85..22facb3 100644
--- a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.dxc.hlsl
index 2401e58..fe1cc47 100644
--- a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.fxc.hlsl
index 2401e58..fe1cc47 100644
--- a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.dxc.hlsl
index 63f0862..3b6f227 100644
--- a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.fxc.hlsl
index 63f0862..3b6f227 100644
--- a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.dxc.hlsl
index 67c30d0..9cb02fd 100644
--- a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.dxc.hlsl
index 645da70..88af922 100644
--- a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.dxc.hlsl
index 21fe1e9..55ea5a3 100644
--- a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.fxc.hlsl
index 21fe1e9..55ea5a3 100644
--- a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.dxc.hlsl
index 42aec88..4596eda 100644
--- a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.dxc.hlsl
index bf921e0..d7712cd 100644
--- a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.fxc.hlsl
index bf921e0..d7712cd 100644
--- a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.dxc.hlsl
index 0e08b5e..6c34064 100644
--- a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.fxc.hlsl
index 0e08b5e..6c34064 100644
--- a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.dxc.hlsl
index 9493ebf..2c44c83 100644
--- a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.fxc.hlsl
index 9493ebf..2c44c83 100644
--- a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.dxc.hlsl
index 67d4b6c..c32e888 100644
--- a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.fxc.hlsl
index 67d4b6c..c32e888 100644
--- a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.dxc.hlsl
index 39101cd..c4881fb 100644
--- a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.fxc.hlsl
index 39101cd..c4881fb 100644
--- a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.dxc.hlsl
index 05c1f71..42b9cc2 100644
--- a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.dxc.hlsl
index cf88ff7..e9fa162 100644
--- a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.dxc.hlsl
index dbd3c2d..a387d6d 100644
--- a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.fxc.hlsl
index dbd3c2d..a387d6d 100644
--- a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.dxc.hlsl
index 4dd8f89..94b40fb 100644
--- a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.dxc.hlsl
index 62f78b3..0b4e432 100644
--- a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.fxc.hlsl
index 62f78b3..0b4e432 100644
--- a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.dxc.hlsl
index e7b5d23..f1b6378 100644
--- a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.dxc.hlsl
index 05f5861..9dee1c6 100644
--- a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.fxc.hlsl
index 05f5861..9dee1c6 100644
--- a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.dxc.hlsl
index 064bd86..9bba77f 100644
--- a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.dxc.hlsl
index fcd472c..45bb8c1 100644
--- a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.fxc.hlsl
index fcd472c..45bb8c1 100644
--- a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.dxc.hlsl
index d44c950..46869ae 100644
--- a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.fxc.hlsl
index d44c950..46869ae 100644
--- a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.dxc.hlsl
index 0f12c75..068b0d5 100644
--- a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.dxc.hlsl
index ad2d012..a2c226b 100644
--- a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.fxc.hlsl
index ad2d012..a2c226b 100644
--- a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.dxc.hlsl
index b8d87dc..1ce2a2e 100644
--- a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.fxc.hlsl
index b8d87dc..1ce2a2e 100644
--- a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.dxc.hlsl
index 53344dc..2a857c2 100644
--- a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.fxc.hlsl
index 53344dc..2a857c2 100644
--- a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.dxc.hlsl
index ceb4fee..a847184 100644
--- a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.fxc.hlsl
index ceb4fee..a847184 100644
--- a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.dxc.hlsl
index 8f36f5c..2ad02ec 100644
--- a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.fxc.hlsl
index 8f36f5c..2ad02ec 100644
--- a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.dxc.hlsl
index b8707ca..bb42445 100644
--- a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.dxc.hlsl
index 9e893ed..710e4c9 100644
--- a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.fxc.hlsl
index 9e893ed..710e4c9 100644
--- a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.dxc.hlsl
index 0706d74..34411e9 100644
--- a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.fxc.hlsl
index 0706d74..34411e9 100644
--- a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.dxc.hlsl
index 1eb1b2a..8d3c0f4 100644
--- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.fxc.hlsl
index 1eb1b2a..8d3c0f4 100644
--- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.dxc.hlsl
index cc9745b..b08f1f4 100644
--- a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.dxc.hlsl
index 7b0cd06..7ec37bc 100644
--- a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.fxc.hlsl
index 7b0cd06..7ec37bc 100644
--- a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.dxc.hlsl
index 4a89a64..c93411c 100644
--- a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.fxc.hlsl
index 4a89a64..c93411c 100644
--- a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.dxc.hlsl
index 0066a1c..1095439 100644
--- a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.fxc.hlsl
index 0066a1c..1095439 100644
--- a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.dxc.hlsl
index ca770c8..1c53ac0 100644
--- a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.dxc.hlsl
index 0bfabc3..b79c836 100644
--- a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.fxc.hlsl
index 0bfabc3..b79c836 100644
--- a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.dxc.hlsl
index 6ef0c3c..1e63bb3 100644
--- a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.dxc.hlsl
index ecb46df..808572d 100644
--- a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.fxc.hlsl
index ecb46df..808572d 100644
--- a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.dxc.hlsl
index b68a074..e74448b 100644
--- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.fxc.hlsl
index b68a074..e74448b 100644
--- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.dxc.hlsl
index 59583c0..814fe0b 100644
--- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.fxc.hlsl
index 59583c0..814fe0b 100644
--- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.dxc.hlsl
index 45b6223..312e1be 100644
--- a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.fxc.hlsl
index 45b6223..312e1be 100644
--- a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.dxc.hlsl
index 9070839..5de3809 100644
--- a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.fxc.hlsl
index 9070839..5de3809 100644
--- a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.dxc.hlsl
index f9670d0..21209ec 100644
--- a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.fxc.hlsl
index f9670d0..21209ec 100644
--- a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.dxc.hlsl
index 9ffb0cb..aef6cbf 100644
--- a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.fxc.hlsl
index 9ffb0cb..aef6cbf 100644
--- a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.dxc.hlsl
index b445f25..86b09a5 100644
--- a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.fxc.hlsl
index b445f25..86b09a5 100644
--- a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.dxc.hlsl
index b14e434..be5b02e 100644
--- a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.fxc.hlsl
index b14e434..be5b02e 100644
--- a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.dxc.hlsl
index abdf03a..53a6aa8 100644
--- a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.fxc.hlsl
index abdf03a..53a6aa8 100644
--- a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.dxc.hlsl
index 32eb190..cf0f947 100644
--- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.fxc.hlsl
index 32eb190..cf0f947 100644
--- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.dxc.hlsl
index 0419937..6ad5766 100644
--- a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.dxc.hlsl
index 3e1d712..4fa9bf8 100644
--- a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.fxc.hlsl
index 3e1d712..4fa9bf8 100644
--- a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.dxc.hlsl
index bb6559a..d6e5a46 100644
--- a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.fxc.hlsl
index bb6559a..d6e5a46 100644
--- a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.dxc.hlsl
index 5f1e189..a92e7bc 100644
--- a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.dxc.hlsl
index 1414c57..4f3d5e0 100644
--- a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.dxc.hlsl
index 86cc62f..97c500a 100644
--- a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.fxc.hlsl
index 86cc62f..97c500a 100644
--- a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.dxc.hlsl
index f69fb77..4b13c18 100644
--- a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.fxc.hlsl
index f69fb77..4b13c18 100644
--- a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.dxc.hlsl
index e60270e..c65f812 100644
--- a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.fxc.hlsl
index e60270e..c65f812 100644
--- a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.dxc.hlsl
index c4bbb86..ae2393e 100644
--- a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.dxc.hlsl
index 889d228..4db1806 100644
--- a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.fxc.hlsl
index 889d228..4db1806 100644
--- a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.dxc.hlsl
index 94ef8f5..55be234 100644
--- a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.fxc.hlsl
index 94ef8f5..55be234 100644
--- a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.dxc.hlsl
index 4d4a7fe..176a95a 100644
--- a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.fxc.hlsl
index 4d4a7fe..176a95a 100644
--- a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.dxc.hlsl
index c3846b1..2363554 100644
--- a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.fxc.hlsl
index c3846b1..2363554 100644
--- a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.dxc.hlsl
index 94953b8..541edae 100644
--- a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.fxc.hlsl
index 94953b8..541edae 100644
--- a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.dxc.hlsl
index 505f777..309a8f3 100644
--- a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.dxc.hlsl
index 57815de..0c7a5b3 100644
--- a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.dxc.hlsl
index a1b246b..36d9869 100644
--- a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.fxc.hlsl
index a1b246b..36d9869 100644
--- a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.dxc.hlsl
index f2caec7..20d063a 100644
--- a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.dxc.hlsl
index f17e79e..f50b17d 100644
--- a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.fxc.hlsl
index f17e79e..f50b17d 100644
--- a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.dxc.hlsl
index e170ba95..609d43e 100644
--- a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.dxc.hlsl
index 37a141d..be9a575 100644
--- a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.dxc.hlsl
index cb937d6..66a5f76 100644
--- a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.fxc.hlsl
index cb937d6..66a5f76 100644
--- a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.dxc.hlsl
index b014629..a214911 100644
--- a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.fxc.hlsl
index b014629..a214911 100644
--- a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.dxc.hlsl
index 6cf84f9..01108a3 100644
--- a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.fxc.hlsl
index 6cf84f9..01108a3 100644
--- a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.dxc.hlsl
index 34735c3..ff0a6d9 100644
--- a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.fxc.hlsl
index 34735c3..ff0a6d9 100644
--- a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.dxc.hlsl
index 13f95a6..cc3451e 100644
--- a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.fxc.hlsl
index 13f95a6..cc3451e 100644
--- a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.dxc.hlsl
index 9b84eeb..b9c4cfc 100644
--- a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.fxc.hlsl
index 9b84eeb..b9c4cfc 100644
--- a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
index 83309fa..52920c8 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
index 83309fa..52920c8 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
index 724dd41..d5a8c14 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
index 724dd41..d5a8c14 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
index 7c1ea73..91ef8f0 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
index 7c1ea73..91ef8f0 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
index 347ec3f..d7d321c 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
index 347ec3f..d7d321c 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
index 88e4718..4e2bf44d 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
index 88e4718..4e2bf44d 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
index 143fda3..6e04411 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
index 143fda3..6e04411 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
index 3ffa510..fb214c8 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
index 3ffa510..fb214c8 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
index 6e4f450..46bb6bf 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
index 6e4f450..46bb6bf 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
index 533c425..0f6b925 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
index 533c425..0f6b925 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.dxc.hlsl
index 7a5ab95..7dd6c74 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.fxc.hlsl
index 7a5ab95..7dd6c74 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
index 2a2ed973..6b09e6b 100644
--- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
index 2a2ed973..6b09e6b 100644
--- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.dxc.hlsl
index 598d30e..fb28dee 100644
--- a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.fxc.hlsl
index 598d30e..fb28dee 100644
--- a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.dxc.hlsl
index 9ae4c7c..db755f5 100644
--- a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.fxc.hlsl
index 9ae4c7c..db755f5 100644
--- a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
index b9e3e85..926f561 100644
--- a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
index b9e3e85..926f561 100644
--- a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.dxc.hlsl
index e30ef2d..eba5ab1 100644
--- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.fxc.hlsl
index e30ef2d..eba5ab1 100644
--- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
index 8958769..e362e7c 100644
--- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
index 8958769..e362e7c 100644
--- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
index 198fde3..0cd4ef6 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
index 198fde3..0cd4ef6 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
index 2a3127e..9b17c41 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
index 2a3127e..9b17c41 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
index 0b95a59..1b67d07 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
index 0b95a59..1b67d07 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
index 4c5b07b..366e0ea 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
index 4c5b07b..366e0ea 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
index ee843fc..dedd506 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
index ee843fc..dedd506 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
index 444b31b..eb5fa27 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
index 444b31b..eb5fa27 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
index 0de30eb..d7b6a5f 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
index 0de30eb..d7b6a5f 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
index 943a1e9..dd2ad27 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
index 943a1e9..dd2ad27 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.dxc.hlsl
index f00574f..7b6265e 100644
--- a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.fxc.hlsl
index f00574f..7b6265e 100644
--- a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.dxc.hlsl
index 0ca2ea4..4f8d12c 100644
--- a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.fxc.hlsl
index 0ca2ea4..4f8d12c 100644
--- a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.dxc.hlsl
index 04b4e39..08e20dc 100644
--- a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.dxc.hlsl
index 6bc2da9..d208a2a 100644
--- a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.fxc.hlsl
index 6bc2da9..d208a2a 100644
--- a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.dxc.hlsl
index 368382e..006865f 100644
--- a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.fxc.hlsl
index 368382e..006865f 100644
--- a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.dxc.hlsl
index 615fda9..3307119 100644
--- a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.fxc.hlsl
index 615fda9..3307119 100644
--- a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.dxc.hlsl
index 5a57082..911add9 100644
--- a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.dxc.hlsl
index 2316af3..b79015f 100644
--- a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.fxc.hlsl
index 2316af3..b79015f 100644
--- a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.dxc.hlsl
index e12d177..226df36 100644
--- a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.dxc.hlsl
index 7092c04..86accf6 100644
--- a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.fxc.hlsl
index 7092c04..86accf6 100644
--- a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.dxc.hlsl
index 1b755ad..e9ea689 100644
--- a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.fxc.hlsl
index 1b755ad..e9ea689 100644
--- a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.dxc.hlsl
index 5d5f6b3..51d6583 100644
--- a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.fxc.hlsl
index 5d5f6b3..51d6583 100644
--- a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.dxc.hlsl
index c050597..8c74de2 100644
--- a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.dxc.hlsl
index 45761b7..43ea1c5e 100644
--- a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.dxc.hlsl
index 574781e6..df16048 100644
--- a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.fxc.hlsl
index 574781e6..df16048 100644
--- a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.dxc.hlsl
index 3202766..dcf3173 100644
--- a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.fxc.hlsl
index 3202766..dcf3173 100644
--- a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.dxc.hlsl
index b0f85c6..45e61b3 100644
--- a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.fxc.hlsl
index b0f85c6..45e61b3 100644
--- a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.dxc.hlsl
index eb9bd7a..ea17159 100644
--- a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.dxc.hlsl
index 694a93d..8cbb6bf 100644
--- a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.fxc.hlsl
index 694a93d..8cbb6bf 100644
--- a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.dxc.hlsl
index 8415cb1..894bcab 100644
--- a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.fxc.hlsl
index 8415cb1..894bcab 100644
--- a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.dxc.hlsl
index ff28608..dbdba60 100644
--- a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.fxc.hlsl
index ff28608..dbdba60 100644
--- a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.dxc.hlsl
index 605a339..32f568e 100644
--- a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.dxc.hlsl
index 8a5a0fe..6def6ff 100644
--- a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.fxc.hlsl
index 8a5a0fe..6def6ff 100644
--- a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.dxc.hlsl
index 090cef6..381ef54 100644
--- a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.dxc.hlsl
index 955dca0..5ff8b1b 100644
--- a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.fxc.hlsl
index 955dca0..5ff8b1b 100644
--- a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.dxc.hlsl
index 2bc4567..495f368 100644
--- a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.fxc.hlsl
index 2bc4567..495f368 100644
--- a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.dxc.hlsl
index 649f694..6cb7ee8 100644
--- a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.dxc.hlsl
index a324873..e52b660 100644
--- a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.dxc.hlsl
index 7fe07e2..81261fa 100644
--- a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.fxc.hlsl
index 7fe07e2..81261fa 100644
--- a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.dxc.hlsl
index 869e8ce..8d361dc 100644
--- a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.dxc.hlsl
index fbed002..a573952 100644
--- a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.dxc.hlsl
index 402aaac..237859b 100644
--- a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.fxc.hlsl
index 402aaac..237859b 100644
--- a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.dxc.hlsl
index 00ff903..8fe07e1 100644
--- a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.fxc.hlsl
index 00ff903..8fe07e1 100644
--- a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.dxc.hlsl
index 6a2192f..1177c7e 100644
--- a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.fxc.hlsl
index 6a2192f..1177c7e 100644
--- a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.dxc.hlsl
index b9d0458..e06eb64 100644
--- a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.fxc.hlsl
index b9d0458..e06eb64 100644
--- a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.dxc.hlsl
index 2c8da65..dd4934c 100644
--- a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.fxc.hlsl
index 2c8da65..dd4934c 100644
--- a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.dxc.hlsl
index c4e18de..1bd99c5 100644
--- a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.fxc.hlsl
index c4e18de..1bd99c5 100644
--- a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.dxc.hlsl
index 03310a3..4c9754a 100644
--- a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.fxc.hlsl
index 03310a3..4c9754a 100644
--- a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.dxc.hlsl
index 46e88b5..b863451 100644
--- a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.fxc.hlsl
index 46e88b5..b863451 100644
--- a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.dxc.hlsl
index 77562dc..0d0339b 100644
--- a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.fxc.hlsl
index 77562dc..0d0339b 100644
--- a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.dxc.hlsl
index b6e6077..ea380bd 100644
--- a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.fxc.hlsl
index b6e6077..ea380bd 100644
--- a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.dxc.hlsl
index ece84ec..16a74fb 100644
--- a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.fxc.hlsl
index ece84ec..16a74fb 100644
--- a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.dxc.hlsl
index 5a22498..07121c8 100644
--- a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.fxc.hlsl
index 5a22498..07121c8 100644
--- a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.dxc.hlsl
index 43339b7..7d24b68 100644
--- a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.dxc.hlsl
index d197c0a..1600c56 100644
--- a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.fxc.hlsl
index d197c0a..1600c56 100644
--- a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.dxc.hlsl
index 284e648..4441744 100644
--- a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.fxc.hlsl
index 284e648..4441744 100644
--- a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.dxc.hlsl
index c35aa55..426d118 100644
--- a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.fxc.hlsl
index c35aa55..426d118 100644
--- a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.dxc.hlsl
index fb07793..a03ff79 100644
--- a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.dxc.hlsl
index 83e8ac1..d99c836 100644
--- a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.dxc.hlsl
index 17b4f93..aaf9c25 100644
--- a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.fxc.hlsl
index 17b4f93..aaf9c25 100644
--- a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.dxc.hlsl
index 348af30..45a36e3 100644
--- a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.fxc.hlsl
index 348af30..45a36e3 100644
--- a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.dxc.hlsl
index 9f5fa7c..e506506 100644
--- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.fxc.hlsl
index 9f5fa7c..e506506 100644
--- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.dxc.hlsl
index 187ddb0..333fa70 100644
--- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.fxc.hlsl
index 187ddb0..333fa70 100644
--- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.dxc.hlsl
index 9511843..e8d9ea5 100644
--- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.fxc.hlsl
index 9511843..e8d9ea5 100644
--- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
index 55ae75d..ba09e86 100644
--- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
index 55ae75d..ba09e86 100644
--- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
index a7adc4a..8ac2a0a 100644
--- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
index a7adc4a..8ac2a0a 100644
--- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.dxc.hlsl
index 7ce085a..aa9ed42 100644
--- a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.fxc.hlsl
index 7ce085a..aa9ed42 100644
--- a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.dxc.hlsl
index a06cb77..05090cf 100644
--- a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.dxc.hlsl
index 562480b..50ac161 100644
--- a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.fxc.hlsl
index 562480b..50ac161 100644
--- a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.dxc.hlsl
index 863a70e..e93ec5c 100644
--- a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.dxc.hlsl
index 28dfe2e..108a6d4 100644
--- a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.fxc.hlsl
index 28dfe2e..108a6d4 100644
--- a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.dxc.hlsl
index b333873..3a2867a 100644
--- a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.dxc.hlsl
index 03894d3..db2cdac 100644
--- a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.fxc.hlsl
index 03894d3..db2cdac 100644
--- a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.dxc.hlsl
index 3c4f669..09a9547 100644
--- a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.fxc.hlsl
index 3c4f669..09a9547 100644
--- a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.dxc.hlsl
index 439cbe2..ec9a05d 100644
--- a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.fxc.hlsl
index 439cbe2..ec9a05d 100644
--- a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.dxc.hlsl
index bcd6a6e..938bcff 100644
--- a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.dxc.hlsl
index bb74a9b..98feac8 100644
--- a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.fxc.hlsl
index bb74a9b..98feac8 100644
--- a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.dxc.hlsl
index 7d907a4..68c8fc2 100644
--- a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.fxc.hlsl
index 7d907a4..68c8fc2 100644
--- a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.dxc.hlsl
index 8706d9b..934dbe6 100644
--- a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.dxc.hlsl
index e787438..55b06b6 100644
--- a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.fxc.hlsl
index e787438..55b06b6 100644
--- a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.dxc.hlsl
index e11b2f0..b2dc2ca 100644
--- a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.fxc.hlsl
index e11b2f0..b2dc2ca 100644
--- a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.dxc.hlsl
index c41710e..8d243b2 100644
--- a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.fxc.hlsl
index c41710e..8d243b2 100644
--- a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.dxc.hlsl
index 1ae01e3..b744c34 100644
--- a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.dxc.hlsl
index f67ab78..e593db8 100644
--- a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.fxc.hlsl
index f67ab78..e593db8 100644
--- a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.dxc.hlsl
index 96fa0aa..a277443 100644
--- a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.fxc.hlsl
index 96fa0aa..a277443 100644
--- a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.dxc.hlsl
index e340f33..c22ef7e 100644
--- a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.dxc.hlsl
index 196a839..b6a7dfa 100644
--- a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.fxc.hlsl
index 196a839..b6a7dfa 100644
--- a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.dxc.hlsl
index dcdb1b2a..0792d6d 100644
--- a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.fxc.hlsl
index dcdb1b2a..0792d6d 100644
--- a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.dxc.hlsl
index 35b7bc2..209aa72 100644
--- a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.fxc.hlsl
index 35b7bc2..209aa72 100644
--- a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.dxc.hlsl
index 57aca0a..e83d30e 100644
--- a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.dxc.hlsl
index df0f96d..175c295 100644
--- a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.fxc.hlsl
index df0f96d..175c295 100644
--- a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.dxc.hlsl
index 89fcaeb..980b72d 100644
--- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.fxc.hlsl
index 89fcaeb..980b72d 100644
--- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.dxc.hlsl
index b67da9b..cca8290 100644
--- a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.fxc.hlsl
index b67da9b..cca8290 100644
--- a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.dxc.hlsl
index 2a6b13e..e38e516 100644
--- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.fxc.hlsl
index 2a6b13e..e38e516 100644
--- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.dxc.hlsl
index 387282e..4a5a0fc 100644
--- a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.fxc.hlsl
index 387282e..4a5a0fc 100644
--- a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.dxc.hlsl
index ac79784..17833f8 100644
--- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.fxc.hlsl
index ac79784..17833f8 100644
--- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.dxc.hlsl
index b0d3fac..8fc6a62 100644
--- a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.fxc.hlsl
index b0d3fac..8fc6a62 100644
--- a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.dxc.hlsl
index da1d880..4a3be14 100644
--- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.fxc.hlsl
index da1d880..4a3be14 100644
--- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.dxc.hlsl
index 1109ceb..80bfaf1 100644
--- a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.fxc.hlsl
index 1109ceb..80bfaf1 100644
--- a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.dxc.hlsl
index ed48f61..4f27f8a 100644
--- a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.dxc.hlsl
index 4d3e3b8..1575cc4 100644
--- a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.fxc.hlsl
index 4d3e3b8..1575cc4 100644
--- a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.dxc.hlsl
index 28b8413..486482c 100644
--- a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.fxc.hlsl
index 28b8413..486482c 100644
--- a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.dxc.hlsl
index a91017d..ef0145a 100644
--- a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.fxc.hlsl
index a91017d..ef0145a 100644
--- a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.dxc.hlsl
index e63f368..304192d 100644
--- a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.dxc.hlsl
index d10f0bf..206a0f9 100644
--- a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.fxc.hlsl
index d10f0bf..206a0f9 100644
--- a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
index a9ca8aa..ee15f1b 100644
--- a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.dxc.hlsl
index 706394b..d527fe5 100644
--- a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.fxc.hlsl
index 706394b..d527fe5 100644
--- a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
index b2d439a..be1edf2 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
index b2d439a..be1edf2 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
index f5024e5..f086461 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
index f5024e5..f086461 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
index 42d5ad7..b4ab327 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
index 42d5ad7..b4ab327 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
index 2f67913..514cf7d 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
index 2f67913..514cf7d 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
index 12165d0..27c6f6f 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
index 12165d0..27c6f6f 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
index 467b45e..07b4781 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
index 467b45e..07b4781 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
index 875919f..4dfe4d9 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
index 875919f..4dfe4d9 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
index ac069cc..bade2f0 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
index ac069cc..bade2f0 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
index 07ff3fb..ff8eeeb 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
index 07ff3fb..ff8eeeb 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
index a654dbf..9523d11 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
index a654dbf..9523d11 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
index e48740a..d12c3f8 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
index e48740a..d12c3f8 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
index c099100..12af19c 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
index c099100..12af19c 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
index 969e897..1fccd8c 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
index 969e897..1fccd8c 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
index 5eb9217..fd645ee 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
index 5eb9217..fd645ee 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
index 1930296..f9a01d9 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
index 1930296..f9a01d9 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
index 35f617e..a121def 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
index 35f617e..a121def 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.dxc.hlsl
index e05e05a..122980b 100644
--- a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.fxc.hlsl
index e05e05a..122980b 100644
--- a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.dxc.hlsl
index 4fb4643..b32a367 100644
--- a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.dxc.hlsl
index 5b6e4ba..17ad281 100644
--- a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.fxc.hlsl
index 5b6e4ba..17ad281 100644
--- a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.dxc.hlsl
index fa2a4f2..353ed0e 100644
--- a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.fxc.hlsl
index fa2a4f2..353ed0e 100644
--- a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.dxc.hlsl
index a6483cd..96cfc08 100644
--- a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.fxc.hlsl
index a6483cd..96cfc08 100644
--- a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.dxc.hlsl
index 24233a5..fa3c233 100644
--- a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.fxc.hlsl
index 24233a5..fa3c233 100644
--- a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.dxc.hlsl
index d451305..2d30777 100644
--- a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.dxc.hlsl
index b31726b..9b92779 100644
--- a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.fxc.hlsl
index b31726b..9b92779 100644
--- a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.dxc.hlsl
index 9c6cad6..2d4739c 100644
--- a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.dxc.hlsl
index 4bbfc57..d08b3e3 100644
--- a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.dxc.hlsl
index e7f8650..d87affb 100644
--- a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.fxc.hlsl
index e7f8650..d87affb 100644
--- a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.dxc.hlsl
index c988d3c..48fd643 100644
--- a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.fxc.hlsl
index c988d3c..48fd643 100644
--- a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.dxc.hlsl
index 6c3ad71..1afa351 100644
--- a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.fxc.hlsl
index 6c3ad71..1afa351 100644
--- a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.dxc.hlsl
index e7655ab..42d5217 100644
--- a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.fxc.hlsl
index e7655ab..42d5217 100644
--- a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.dxc.hlsl
index 2f35161..95e9852 100644
--- a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.fxc.hlsl
index 2f35161..95e9852 100644
--- a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.dxc.hlsl
index c070a74..c06385b 100644
--- a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.fxc.hlsl
index c070a74..c06385b 100644
--- a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.dxc.hlsl
index 75f562c..0e328b9 100644
--- a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.fxc.hlsl
index 75f562c..0e328b9 100644
--- a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.dxc.hlsl
index b5f9f5a..90436083 100644
--- a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.dxc.hlsl
index 4cfc8e2..ae20a5f 100644
--- a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.dxc.hlsl
index 0192e90..c50e7dc 100644
--- a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.fxc.hlsl
index 0192e90..c50e7dc 100644
--- a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.dxc.hlsl
index 1ab33b6..a6c915c 100644
--- a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.dxc.hlsl
index 40e1e9f..a242086 100644
--- a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.fxc.hlsl
index 40e1e9f..a242086 100644
--- a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.dxc.hlsl
index 9b20b02..03926d4 100644
--- a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.dxc.hlsl
index 7036fc6..42e07a7 100644
--- a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.fxc.hlsl
index 7036fc6..42e07a7 100644
--- a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.dxc.hlsl
index 535ea58..53dc5ec 100644
--- a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.dxc.hlsl
index c27230f..da6d23d 100644
--- a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.fxc.hlsl
index c27230f..da6d23d 100644
--- a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.dxc.hlsl
index bb5ad6c..f482d95 100644
--- a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.dxc.hlsl
index cdb4fc8..2fc3863 100644
--- a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.fxc.hlsl
index cdb4fc8..2fc3863 100644
--- a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.dxc.hlsl
index e0469fc..6e4daca 100644
--- a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.fxc.hlsl
index e0469fc..6e4daca 100644
--- a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.dxc.hlsl
index 8729128..ae7e924 100644
--- a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.fxc.hlsl
index 8729128..ae7e924 100644
--- a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.dxc.hlsl
index 9eb0e4a..3897602 100644
--- a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.dxc.hlsl
index e9a51e8..8952b30 100644
--- a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.fxc.hlsl
index e9a51e8..8952b30 100644
--- a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.dxc.hlsl
index e791054..53cb839 100644
--- a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.dxc.hlsl
index de1638a..8deb752 100644
--- a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.fxc.hlsl
index de1638a..8deb752 100644
--- a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.dxc.hlsl
index 3686b4b..999f3b6 100644
--- a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.fxc.hlsl
index 3686b4b..999f3b6 100644
--- a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.dxc.hlsl
index b392541..450ef79 100644
--- a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.fxc.hlsl
index b392541..450ef79 100644
--- a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.dxc.hlsl
index 62d50ee..4dd4851 100644
--- a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.fxc.hlsl
index 62d50ee..4dd4851 100644
--- a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.dxc.hlsl
index 38aad8c..580eadf 100644
--- a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.dxc.hlsl
index 201be57..46e6efb 100644
--- a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.fxc.hlsl
index 201be57..46e6efb 100644
--- a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.dxc.hlsl
index 09b1676..9a57d0e 100644
--- a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.dxc.hlsl
index 3244bf1..bc537c6 100644
--- a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.dxc.hlsl
index f867068..c7e7385 100644
--- a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.fxc.hlsl
index f867068..c7e7385 100644
--- a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.dxc.hlsl
index bcace82..3517db8 100644
--- a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.fxc.hlsl
index bcace82..3517db8 100644
--- a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.dxc.hlsl
index 44e7f56..ee577e9 100644
--- a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.fxc.hlsl
index 44e7f56..ee577e9 100644
--- a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.dxc.hlsl
index e64f0fe..8a352e9 100644
--- a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.dxc.hlsl
index 567f391..78ccfd4 100644
--- a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.fxc.hlsl
index 567f391..78ccfd4 100644
--- a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.dxc.hlsl
index daf958c..b28a604 100644
--- a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.fxc.hlsl
index daf958c..b28a604 100644
--- a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.dxc.hlsl
index 43f2781..fb69a2f 100644
--- a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.fxc.hlsl
index 43f2781..fb69a2f 100644
--- a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
index 8015a16..203909f 100644
--- a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
index 8015a16..203909f 100644
--- a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.dxc.hlsl
index 1834c40..99cbb52 100644
--- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.fxc.hlsl
index 1834c40..99cbb52 100644
--- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.dxc.hlsl
index 430d374..55cd7d1 100644
--- a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.fxc.hlsl
index 430d374..55cd7d1 100644
--- a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.dxc.hlsl
index 91b127b..00757b1 100644
--- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.fxc.hlsl
index 91b127b..00757b1 100644
--- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.dxc.hlsl
index b2de8a1..c8a74d7 100644
--- a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.fxc.hlsl
index b2de8a1..c8a74d7 100644
--- a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.dxc.hlsl
index e6682ae..1b5eadd 100644
--- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.fxc.hlsl
index e6682ae..1b5eadd 100644
--- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
index 69d3f2e..0d86294 100644
--- a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
index 69d3f2e..0d86294 100644
--- a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
index 702384b..d9060f6 100644
--- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
index 702384b..d9060f6 100644
--- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
index 5068619..8a9ee94 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
index 5068619..8a9ee94 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.dxc.hlsl
index 48d83d0..91a9435 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
index 9dc23af..1b04ed2 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
index 9dc23af..1b04ed2 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
index 1df7c82..fb893f7 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
index 23ea6a39..13c4151 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
index 23ea6a39..13c4151 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
index d434973..d7d8bae 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
index d434973..d7d8bae 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
index 469e611..8db3ff4 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
index 469e611..8db3ff4 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
index b7c6858..ed53f28 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
index b7c6858..ed53f28 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
index f1a1416..645187f 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
index 4a060f1..654a9ae 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
index 4a060f1..654a9ae 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
index bbbd424..b5d7ff0 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
index 7318b17..488b01f 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
index 7318b17..488b01f 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.dxc.hlsl
index 3fe8d98..270e6a6 100644
--- a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.dxc.hlsl
index 65f47ae..2595034 100644
--- a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.dxc.hlsl
index 9cf0b1a..57a264f 100644
--- a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.fxc.hlsl
index 9cf0b1a..57a264f 100644
--- a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.dxc.hlsl
index 0d34505..30cc566 100644
--- a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.fxc.hlsl
index 0d34505..30cc566 100644
--- a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.dxc.hlsl
index 8375928..a9cf3ed 100644
--- a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.fxc.hlsl
index 8375928..a9cf3ed 100644
--- a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.dxc.hlsl
index 2cec3b0..e886f7c 100644
--- a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
index e2e2d8d..6708cde 100644
--- a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
index e2e2d8d..6708cde 100644
--- a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.dxc.hlsl
index 2b8e616..41e57f6 100644
--- a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.fxc.hlsl
index 2b8e616..41e57f6 100644
--- a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.dxc.hlsl
index 1617ea3..9195eee 100644
--- a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.dxc.hlsl
index 8f278ff..e248f8e 100644
--- a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.fxc.hlsl
index 8f278ff..e248f8e 100644
--- a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.dxc.hlsl
index 95af106..51d96a1 100644
--- a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.fxc.hlsl
index 95af106..51d96a1 100644
--- a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.dxc.hlsl
index 03e68b5..d97cfc3 100644
--- a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.dxc.hlsl
index cdb914f..e23ef36 100644
--- a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
index 90f83e1..d7c9ec9 100644
--- a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.dxc.hlsl
index c06b6b2..42a7d1b 100644
--- a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.dxc.hlsl
index b2580ed..a4dd357 100644
--- a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.fxc.hlsl
index b2580ed..a4dd357 100644
--- a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.dxc.hlsl
index 516443f..c17d6d0 100644
--- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.fxc.hlsl
index 516443f..c17d6d0 100644
--- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.dxc.hlsl
index 0b98307..4c3d766 100644
--- a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.fxc.hlsl
index 0b98307..4c3d766 100644
--- a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.dxc.hlsl
index 6afc9e2..5e0dd0c 100644
--- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.fxc.hlsl
index 6afc9e2..5e0dd0c 100644
--- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
index db562b1..896f117 100644
--- a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
index db562b1..896f117 100644
--- a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.dxc.hlsl
index bd07498..26aff4f 100644
--- a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.fxc.hlsl
index bd07498..26aff4f 100644
--- a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.dxc.hlsl
index 0caa335..ac6379d 100644
--- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.fxc.hlsl
index 0caa335..ac6379d 100644
--- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.dxc.hlsl
index d20c527..b544002 100644
--- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.fxc.hlsl
index d20c527..b544002 100644
--- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
index ce91ad5..d49d1dc 100644
--- a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
index ce91ad5..d49d1dc 100644
--- a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.dxc.hlsl
index 5e78758..4bb60e1 100644
--- a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.fxc.hlsl
index 5e78758..4bb60e1 100644
--- a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.dxc.hlsl
index b3087b4..daaee16 100644
--- a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.dxc.hlsl
index ae75f2e..1265503 100644
--- a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.fxc.hlsl
index ae75f2e..1265503 100644
--- a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.dxc.hlsl
index f157c5c..3bf840c 100644
--- a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.dxc.hlsl
index 7b4073c..274e724 100644
--- a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.fxc.hlsl
index 7b4073c..274e724 100644
--- a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.dxc.hlsl
index 08e83f5..2f348ec 100644
--- a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.fxc.hlsl
index 08e83f5..2f348ec 100644
--- a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.dxc.hlsl
index cf6a772..f16d3a9 100644
--- a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.fxc.hlsl
index cf6a772..f16d3a9 100644
--- a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.dxc.hlsl
index b198a96..cf624a9 100644
--- a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.fxc.hlsl
index b198a96..cf624a9 100644
--- a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.dxc.hlsl
index b174d7f..4c3604f 100644
--- a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.dxc.hlsl
index 19d4565..70725b3 100644
--- a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.fxc.hlsl
index 19d4565..70725b3 100644
--- a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.dxc.hlsl
index 33865fe..e33558a 100644
--- a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.dxc.hlsl
index 3182250..3aa1e6d 100644
--- a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.fxc.hlsl
index 3182250..3aa1e6d 100644
--- a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.dxc.hlsl
index 56127d9..ed06d67 100644
--- a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.fxc.hlsl
index 56127d9..ed06d67 100644
--- a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.dxc.hlsl
index a8475f8..e764253 100644
--- a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.fxc.hlsl
index a8475f8..e764253 100644
--- a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.dxc.hlsl
index 56bdd4c..3d2dad9 100644
--- a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.fxc.hlsl
index 56bdd4c..3d2dad9 100644
--- a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.dxc.hlsl
index d140922..f52ddea 100644
--- a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.dxc.hlsl
index 8451b7f..8db68ee 100644
--- a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.fxc.hlsl
index 8451b7f..8db68ee 100644
--- a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.dxc.hlsl
index 12b433e..f3c4982 100644
--- a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.dxc.hlsl
index be4cd2b..2982b2a 100644
--- a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.fxc.hlsl
index be4cd2b..2982b2a 100644
--- a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.dxc.hlsl
index 0234c1d..2b25f35 100644
--- a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.fxc.hlsl
index 0234c1d..2b25f35 100644
--- a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.dxc.hlsl
index 33a8f2e..d6e4638 100644
--- a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.dxc.hlsl
index df050fa..e37cdc7 100644
--- a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.dxc.hlsl
index 5ea0007..924bd2e 100644
--- a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.fxc.hlsl
index 5ea0007..924bd2e 100644
--- a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.dxc.hlsl
index 41dbc64..20b4182 100644
--- a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.fxc.hlsl
index 41dbc64..20b4182 100644
--- a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.dxc.hlsl
index 9ddf089..4f83e80 100644
--- a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.fxc.hlsl
index 9ddf089..4f83e80 100644
--- a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.dxc.hlsl
index 7abdf88..54cd363 100644
--- a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.dxc.hlsl
index 6eff04e..3d6d652 100644
--- a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.fxc.hlsl
index 6eff04e..3d6d652 100644
--- a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.dxc.hlsl
index 87f9f25..ee51cbb 100644
--- a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.fxc.hlsl
index 87f9f25..ee51cbb 100644
--- a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.dxc.hlsl
index 1bd35a7..ab36b8e 100644
--- a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.fxc.hlsl
index 1bd35a7..ab36b8e 100644
--- a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.dxc.hlsl
index 994a80f..5aba617 100644
--- a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.dxc.hlsl
index 84e8912..83c627f 100644
--- a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.dxc.hlsl
index c225670..d223fa2 100644
--- a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.fxc.hlsl
index c225670..d223fa2 100644
--- a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.dxc.hlsl
index 4ea9b28..89a6133 100644
--- a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.fxc.hlsl
index 4ea9b28..89a6133 100644
--- a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.dxc.hlsl
index a514fae..99863bb 100644
--- a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.fxc.hlsl
index a514fae..99863bb 100644
--- a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.dxc.hlsl
index 9fc6ef6..aa04249 100644
--- a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.fxc.hlsl
index 9fc6ef6..aa04249 100644
--- a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.dxc.hlsl
index 4f6dde4..f236d1c 100644
--- a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.dxc.hlsl
index 9350998..a06f5f4 100644
--- a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.fxc.hlsl
index 9350998..a06f5f4 100644
--- a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.dxc.hlsl
index 313e59a..0141922 100644
--- a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.fxc.hlsl
index 313e59a..0141922 100644
--- a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.dxc.hlsl
index f077d29..11cd8ae 100644
--- a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.dxc.hlsl
index f0c2335..ceee1eb 100644
--- a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.fxc.hlsl
index f0c2335..ceee1eb 100644
--- a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.dxc.hlsl
index 1bf23d2..1db80b6 100644
--- a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.fxc.hlsl
index 1bf23d2..1db80b6 100644
--- a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.dxc.hlsl
index f55126a..d9df960 100644
--- a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.fxc.hlsl
index f55126a..d9df960 100644
--- a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.dxc.hlsl
index c304141..00ea521 100644
--- a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.dxc.hlsl
index eae23f9..aab8e89 100644
--- a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.dxc.hlsl
index ba36927..4ed5fa1 100644
--- a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.fxc.hlsl
index ba36927..4ed5fa1 100644
--- a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.dxc.hlsl
index 36c0d6a..550a740 100644
--- a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.fxc.hlsl
index 36c0d6a..550a740 100644
--- a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.dxc.hlsl
index 89c41ec..22b2473 100644
--- a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.fxc.hlsl
index 89c41ec..22b2473 100644
--- a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.dxc.hlsl
index b78ebb0..b1c793d 100644
--- a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.fxc.hlsl
index b78ebb0..b1c793d 100644
--- a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.dxc.hlsl
index 7593532..c6d03e0 100644
--- a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.fxc.hlsl
index 7593532..c6d03e0 100644
--- a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.dxc.hlsl
index c98a352..422843d 100644
--- a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.fxc.hlsl
index c98a352..422843d 100644
--- a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.dxc.hlsl
index ab1b5d6..a51efff 100644
--- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.fxc.hlsl
index ab1b5d6..a51efff 100644
--- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.dxc.hlsl
index 5d0d9d0..d756ee7 100644
--- a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.fxc.hlsl
index 5d0d9d0..d756ee7 100644
--- a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.dxc.hlsl
index d9ecad1..cff33f9 100644
--- a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.fxc.hlsl
index d9ecad1..cff33f9 100644
--- a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.dxc.hlsl
index 3bbbc8e..1a34e50 100644
--- a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.fxc.hlsl
index 3bbbc8e..1a34e50 100644
--- a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.dxc.hlsl
index 06c0f3f..8405990 100644
--- a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.fxc.hlsl
index 06c0f3f..8405990 100644
--- a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.dxc.hlsl
index 25fc031..143344f 100644
--- a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.fxc.hlsl
index 25fc031..143344f 100644
--- a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.dxc.hlsl
index a28191c..b093ee3 100644
--- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.fxc.hlsl
index a28191c..b093ee3 100644
--- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.dxc.hlsl
index bc84ac8..aa0a59d 100644
--- a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.fxc.hlsl
index bc84ac8..aa0a59d 100644
--- a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.dxc.hlsl
index 6b0c1df..bd88638 100644
--- a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.dxc.hlsl
index 6d8ac58..dc8ad8b 100644
--- a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.fxc.hlsl
index 6d8ac58..dc8ad8b 100644
--- a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.dxc.hlsl
index 1050e55..9ad4827 100644
--- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.fxc.hlsl
index 1050e55..9ad4827 100644
--- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.dxc.hlsl
index 94ac868..c8b94e7 100644
--- a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.fxc.hlsl
index 94ac868..c8b94e7 100644
--- a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.dxc.hlsl
index 56e1c54..99664df 100644
--- a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.fxc.hlsl
index 56e1c54..99664df 100644
--- a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.dxc.hlsl
index 19eb529..7f46daa 100644
--- a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.fxc.hlsl
index 19eb529..7f46daa 100644
--- a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.dxc.hlsl
index 02b84d7..b401db3 100644
--- a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.fxc.hlsl
index 02b84d7..b401db3 100644
--- a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.dxc.hlsl
index d9cd5ba..23ae7a1 100644
--- a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.fxc.hlsl
index d9cd5ba..23ae7a1 100644
--- a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.dxc.hlsl
index 576e026..49abc4e 100644
--- a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.fxc.hlsl
index 576e026..49abc4e 100644
--- a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.dxc.hlsl
index 293d76b..bacc548 100644
--- a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.fxc.hlsl
index 293d76b..bacc548 100644
--- a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.dxc.hlsl
index 150411e..4fd5e0c 100644
--- a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.fxc.hlsl
index 150411e..4fd5e0c 100644
--- a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.dxc.hlsl
index de74ce6..e4e8d01 100644
--- a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.dxc.hlsl
index 95f3f32..c713ff0 100644
--- a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.fxc.hlsl
index 95f3f32..c713ff0 100644
--- a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.dxc.hlsl
index a63a30c..b012607 100644
--- a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.fxc.hlsl
index a63a30c..b012607 100644
--- a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.dxc.hlsl
index bcbead3..cc62591 100644
--- a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.fxc.hlsl
index bcbead3..cc62591 100644
--- a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.dxc.hlsl
index c948121..b71ebc9 100644
--- a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.fxc.hlsl
index c948121..b71ebc9 100644
--- a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.dxc.hlsl
index ac18550..eb546cd 100644
--- a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.fxc.hlsl
index ac18550..eb546cd 100644
--- a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.dxc.hlsl
index c00ace3..8b9dc12 100644
--- a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.fxc.hlsl
index c00ace3..8b9dc12 100644
--- a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.dxc.hlsl
index d553489..d11fd91 100644
--- a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.dxc.hlsl
index 470ecbb..7223b7b 100644
--- a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.dxc.hlsl
index 7ba20e2..1985e3b 100644
--- a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.fxc.hlsl
index 7ba20e2..1985e3b 100644
--- a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.dxc.hlsl
index 7caf772..a359eec 100644
--- a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.fxc.hlsl
index 7caf772..a359eec 100644
--- a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.dxc.hlsl
index b19247d..44556a8 100644
--- a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.fxc.hlsl
index b19247d..44556a8 100644
--- a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.dxc.hlsl
index d459e9a..d882bed 100644
--- a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.fxc.hlsl
index d459e9a..d882bed 100644
--- a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.dxc.hlsl
index 749c38f..7c1f75c 100644
--- a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.fxc.hlsl
index 749c38f..7c1f75c 100644
--- a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.dxc.hlsl
index b007280..594f4c4 100644
--- a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.dxc.hlsl
index 2bbff24..435ee69 100644
--- a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.fxc.hlsl
index 2bbff24..435ee69 100644
--- a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.dxc.hlsl
index d83898d..d968b6fd 100644
--- a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.fxc.hlsl
index d83898d..d968b6fd 100644
--- a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.dxc.hlsl
index 08d2265..a8e5e94 100644
--- a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.fxc.hlsl
index 08d2265..a8e5e94 100644
--- a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.dxc.hlsl
index 10f9355..85f0757 100644
--- a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.fxc.hlsl
index 10f9355..85f0757 100644
--- a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.dxc.hlsl
index 0ba22ae..74eff63 100644
--- a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.fxc.hlsl
index 0ba22ae..74eff63 100644
--- a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.dxc.hlsl
index a495f48..7bf3b5f 100644
--- a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.fxc.hlsl
index a495f48..7bf3b5f 100644
--- a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.dxc.hlsl
index de57fb8..eedc8d1 100644
--- a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.fxc.hlsl
index de57fb8..eedc8d1 100644
--- a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.dxc.hlsl
index 84f0121..e8d2dcf 100644
--- a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.dxc.hlsl
index 7745b9b..20d3348 100644
--- a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.fxc.hlsl
index 7745b9b..20d3348 100644
--- a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.dxc.hlsl
index 5d38281..d2363b0 100644
--- a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.fxc.hlsl
index 5d38281..d2363b0 100644
--- a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.dxc.hlsl
index ae0c2d8..51ee36d 100644
--- a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.dxc.hlsl
index 95fdd74..1b98b8f 100644
--- a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.fxc.hlsl
index 95fdd74..1b98b8f 100644
--- a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.dxc.hlsl
index 88e6077..32bd03f 100644
--- a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.fxc.hlsl
index 88e6077..32bd03f 100644
--- a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.dxc.hlsl
index fb8f4ce..fb81a2d 100644
--- a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.dxc.hlsl
index 0d84ee0..80acc60 100644
--- a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.fxc.hlsl
index 0d84ee0..80acc60 100644
--- a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.dxc.hlsl
index f494a0e..3fa301f 100644
--- a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.dxc.hlsl
index b48499b..6fb98b5 100644
--- a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.fxc.hlsl
index b48499b..6fb98b5 100644
--- a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.dxc.hlsl
index 8c5809c..ec1692c 100644
--- a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.dxc.hlsl
index 1a9a23d..1a95831 100644
--- a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.dxc.hlsl
index 1ef4207..191a74d 100644
--- a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.fxc.hlsl
index 1ef4207..191a74d 100644
--- a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.dxc.hlsl
index 6bd4bf0..3387f83 100644
--- a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.dxc.hlsl
index 316bb69..a7fd44d 100644
--- a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.fxc.hlsl
index 316bb69..a7fd44d 100644
--- a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.dxc.hlsl
index 79a0841..fcfd14c 100644
--- a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.dxc.hlsl
index c2828b5..4bc73ba 100644
--- a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.fxc.hlsl
index c2828b5..4bc73ba 100644
--- a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.dxc.hlsl
index 7ed4e6e..bd21573 100644
--- a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.fxc.hlsl
index 7ed4e6e..bd21573 100644
--- a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.dxc.hlsl
index b6d66be..b2086b0 100644
--- a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.fxc.hlsl
index b6d66be..b2086b0 100644
--- a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.dxc.hlsl
index 57110ac..dd3bb7c 100644
--- a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.fxc.hlsl
index 57110ac..dd3bb7c 100644
--- a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.dxc.hlsl
index cd06924..7b1cc1c 100644
--- a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.dxc.hlsl
index cc8ede5..72b223d 100644
--- a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.dxc.hlsl
index e3fe286..a0b1899 100644
--- a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.dxc.hlsl
index 2286adb..5b39ecb 100644
--- a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.fxc.hlsl
index 2286adb..5b39ecb 100644
--- a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.dxc.hlsl
index efc499f..1040cd4 100644
--- a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.fxc.hlsl
index efc499f..1040cd4 100644
--- a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.dxc.hlsl
index f105600..d7972ec 100644
--- a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.fxc.hlsl
index f105600..d7972ec 100644
--- a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.dxc.hlsl
index cb63507..a261684 100644
--- a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.dxc.hlsl
index eaa400b..613a5bf 100644
--- a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.fxc.hlsl
index eaa400b..613a5bf 100644
--- a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.dxc.hlsl
index 19d529f..9ec5f8b 100644
--- a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.fxc.hlsl
index 19d529f..9ec5f8b 100644
--- a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.dxc.hlsl
index 19516e4..c3fd7c7 100644
--- a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.fxc.hlsl
index 19516e4..c3fd7c7 100644
--- a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.dxc.hlsl
index 601dfd5..02fbbff 100644
--- a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.dxc.hlsl
index 1ce8c0d..92ecd4d 100644
--- a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.fxc.hlsl
index 1ce8c0d..92ecd4d 100644
--- a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.dxc.hlsl
index 2278bf4..e98a8d6 100644
--- a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.dxc.hlsl
index 0112f14..4aff919 100644
--- a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.fxc.hlsl
index 0112f14..4aff919 100644
--- a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.dxc.hlsl
index 8f478f4..97babed 100644
--- a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.fxc.hlsl
index 8f478f4..97babed 100644
--- a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
index 47825a4..3675451 100644
--- a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
index 47825a4..3675451 100644
--- a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
index c657fc0..de3a1b6 100644
--- a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
index c657fc0..de3a1b6 100644
--- a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
index d4bb634..556fb44 100644
--- a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
index d4bb634..556fb44 100644
--- a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
index 0bb4f19..a3e0639 100644
--- a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
index 0bb4f19..a3e0639 100644
--- a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
index 058464f..c272c6f 100644
--- a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
index 058464f..c272c6f 100644
--- a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
index 636862e..a778844 100644
--- a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
index 636862e..a778844 100644
--- a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
index a99005b..76ca553 100644
--- a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
index a99005b..76ca553 100644
--- a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
index 1e5e396..4ad03db 100644
--- a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
index 1e5e396..4ad03db 100644
--- a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
index 1a9af2a5..4fb715f 100644
--- a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
index 1a9af2a5..4fb715f 100644
--- a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.dxc.hlsl
index de7e352..c236db2 100644
--- a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.fxc.hlsl
index de7e352..c236db2 100644
--- a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.dxc.hlsl
index 2afb349..bde3e85 100644
--- a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.fxc.hlsl
index 2afb349..bde3e85 100644
--- a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.dxc.hlsl
index 9e6d5a3..19542f2 100644
--- a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.fxc.hlsl
index 9e6d5a3..19542f2 100644
--- a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.dxc.hlsl
index 4782a6a..df08c85 100644
--- a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.dxc.hlsl
index ecbf0c0..a794fbc 100644
--- a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.fxc.hlsl
index ecbf0c0..a794fbc 100644
--- a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.dxc.hlsl
index a36a572..9b721aa 100644
--- a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.fxc.hlsl
index a36a572..9b721aa 100644
--- a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.dxc.hlsl
index 2b5dc1c..7141ea2 100644
--- a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.fxc.hlsl
index 2b5dc1c..7141ea2 100644
--- a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.dxc.hlsl
index 9e92a3f..84e8331 100644
--- a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.dxc.hlsl
index a46c9fa..86d17fe 100644
--- a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.fxc.hlsl
index a46c9fa..86d17fe 100644
--- a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.dxc.hlsl
index 784a51a..07c3e5f 100644
--- a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.fxc.hlsl
index 784a51a..07c3e5f 100644
--- a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.dxc.hlsl
index 8cca74f..9bd47c0 100644
--- a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.dxc.hlsl
index 5610a37..e355faa 100644
--- a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
index 7303e63..c027551 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
index 7303e63..c027551 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
index 4f1adc9..6cf0509 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
index 4f1adc9..6cf0509 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
index c4eb0d7..743a300 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
index c4eb0d7..743a300 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
index 00cf8b7..9a3a03c 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
index 00cf8b7..9a3a03c 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.dxc.hlsl
index 3f2e687..7af0c90 100644
--- a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.fxc.hlsl
index 3f2e687..7af0c90 100644
--- a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.dxc.hlsl
index b7a5d75..5d46757 100644
--- a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.dxc.hlsl
index 9250050..44fa987 100644
--- a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.fxc.hlsl
index 9250050..44fa987 100644
--- a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.dxc.hlsl
index 495afb9..554245f 100644
--- a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.fxc.hlsl
index 495afb9..554245f 100644
--- a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.dxc.hlsl
index 462fdf7..079fa55 100644
--- a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.dxc.hlsl
index a633d34..0a4e7e6 100644
--- a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.fxc.hlsl
index a633d34..0a4e7e6 100644
--- a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.dxc.hlsl
index 5373db3..edf0269 100644
--- a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.fxc.hlsl
index 5373db3..edf0269 100644
--- a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.dxc.hlsl
index c501466..b99f281 100644
--- a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.fxc.hlsl
index c501466..b99f281 100644
--- a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.dxc.hlsl
index 37f91f1..6aee41c 100644
--- a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.dxc.hlsl
index a8182f5..9a46103 100644
--- a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.fxc.hlsl
index a8182f5..9a46103 100644
--- a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.dxc.hlsl
index dbe0ef0..69aa655 100644
--- a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.fxc.hlsl
index dbe0ef0..69aa655 100644
--- a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.dxc.hlsl
index 2d50e30..82446fb 100644
--- a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.dxc.hlsl
index 38606b9..f3664ba 100644
--- a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.fxc.hlsl
index 38606b9..f3664ba 100644
--- a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.dxc.hlsl
index baf317b..b5f26eb 100644
--- a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.dxc.hlsl
index 66ced73..3c8e894 100644
--- a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.dxc.hlsl
index 6165f42..80431ac 100644
--- a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.fxc.hlsl
index 6165f42..80431ac 100644
--- a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.dxc.hlsl
index acb3262..047afb5 100644
--- a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.fxc.hlsl
index acb3262..047afb5 100644
--- a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.dxc.hlsl
index 8edc7b8..30ae0ee 100644
--- a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.dxc.hlsl
index 7183a0d..f3fb274 100644
--- a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.fxc.hlsl
index 7183a0d..f3fb274 100644
--- a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.dxc.hlsl
index 9d53c4b..dfcaec0 100644
--- a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.fxc.hlsl
index 9d53c4b..dfcaec0 100644
--- a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.dxc.hlsl
index f320f08..31ee8f3 100644
--- a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.fxc.hlsl
index f320f08..31ee8f3 100644
--- a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.dxc.hlsl
index 6d55a55..af53376 100644
--- a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.dxc.hlsl
index 823aeb3..6e3c121 100644
--- a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.dxc.hlsl
index 2f0a2e7..ca742da 100644
--- a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.fxc.hlsl
index 2f0a2e7..ca742da 100644
--- a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.dxc.hlsl
index ffbd4b9..127ef94 100644
--- a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.dxc.hlsl
index ad89208..c3e5eef 100644
--- a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.fxc.hlsl
index ad89208..c3e5eef 100644
--- a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.dxc.hlsl
index 8b402a5..b66283a 100644
--- a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.fxc.hlsl
index 8b402a5..b66283a 100644
--- a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.dxc.hlsl
index e23911d..43acc2b 100644
--- a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.fxc.hlsl
index e23911d..43acc2b 100644
--- a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.dxc.hlsl
index 125f05c..6de0c2d 100644
--- a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.fxc.hlsl
index 125f05c..6de0c2d 100644
--- a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.dxc.hlsl
index d462891..cbb6ff4 100644
--- a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.fxc.hlsl
index d462891..cbb6ff4 100644
--- a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.dxc.hlsl
index 8d24a2f..7b4e316 100644
--- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.fxc.hlsl
index 8d24a2f..7b4e316 100644
--- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.dxc.hlsl
index 46d448e..b0feac3 100644
--- a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.fxc.hlsl
index 46d448e..b0feac3 100644
--- a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
index 1663ba7..5c4592b 100644
--- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
index 1663ba7..5c4592b 100644
--- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.dxc.hlsl
index 056bbbe..e04f207 100644
--- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.fxc.hlsl
index 056bbbe..e04f207 100644
--- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
index 5b514d2..4609c31 100644
--- a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
index 5b514d2..4609c31 100644
--- a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
index 2ca212e..52c39e3 100644
--- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
index 2ca212e..52c39e3 100644
--- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
index 3ddc433..94640b9 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
index 3ddc433..94640b9 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.dxc.hlsl
index 96d2e49..4b4f17b 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.fxc.hlsl
index 96d2e49..4b4f17b 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.dxc.hlsl
index 045c78e..e09e21a 100644
--- a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.fxc.hlsl
index 045c78e..e09e21a 100644
--- a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.dxc.hlsl
index f7bdfca..9ed8986 100644
--- a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.fxc.hlsl
index f7bdfca..9ed8986 100644
--- a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.dxc.hlsl
index 838b8ba..acdafdc 100644
--- a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.fxc.hlsl
index 838b8ba..acdafdc 100644
--- a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.dxc.hlsl
index 329ea02..040a25a 100644
--- a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.fxc.hlsl
index 329ea02..040a25a 100644
--- a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.dxc.hlsl
index f8e0f12..baa5224 100644
--- a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.fxc.hlsl
index f8e0f12..baa5224 100644
--- a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.dxc.hlsl
index 3f822c5..429e622 100644
--- a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.fxc.hlsl
index 3f822c5..429e622 100644
--- a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.dxc.hlsl
index ef7a3c6..5f86443 100644
--- a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.dxc.hlsl
index 796943e..a95959d 100644
--- a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.fxc.hlsl
index 796943e..a95959d 100644
--- a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.dxc.hlsl
index df8181f..7e8356d 100644
--- a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.fxc.hlsl
index df8181f..7e8356d 100644
--- a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.dxc.hlsl
index 76f7b07..59c30e7 100644
--- a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.dxc.hlsl
index dbd5b14..afa6bcc 100644
--- a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.dxc.hlsl
index b41b7c6..754ea3e 100644
--- a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.dxc.hlsl
index b231140..6aee29a 100644
--- a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.fxc.hlsl
index b231140..6aee29a 100644
--- a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.dxc.hlsl
index d55ce37..26dd096 100644
--- a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.dxc.hlsl
index 6bafa64..9bd68e9 100644
--- a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.fxc.hlsl
index 6bafa64..9bd68e9 100644
--- a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.dxc.hlsl
index 170aa67..4b06cd9 100644
--- a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.fxc.hlsl
index 170aa67..4b06cd9 100644
--- a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.dxc.hlsl
index 44e1cae..7715f75 100644
--- a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.fxc.hlsl
index 44e1cae..7715f75 100644
--- a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.dxc.hlsl
index 68051b6..6be8d14 100644
--- a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.fxc.hlsl
index 68051b6..6be8d14 100644
--- a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.dxc.hlsl
index 35571d9..8302791 100644
--- a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.fxc.hlsl
index 35571d9..8302791 100644
--- a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.dxc.hlsl
index ed5b5ef..e567fa6 100644
--- a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.dxc.hlsl
index 8121744..ad654ed 100644
--- a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.fxc.hlsl
index 8121744..ad654ed 100644
--- a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.dxc.hlsl
index efc1f1c..37f3a48 100644
--- a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.dxc.hlsl
index 1c81096..8e78d43 100644
--- a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.fxc.hlsl
index 1c81096..8e78d43 100644
--- a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.dxc.hlsl
index 72738e4..6742f34 100644
--- a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.dxc.hlsl
index 4f1b109..9ab6b52 100644
--- a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.fxc.hlsl
index 4f1b109..9ab6b52 100644
--- a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.dxc.hlsl
index dee3153..68dd4d9 100644
--- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.fxc.hlsl
index dee3153..68dd4d9 100644
--- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.dxc.hlsl
index 8c02bd9..20a84bb 100644
--- a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.fxc.hlsl
index 8c02bd9..20a84bb 100644
--- a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.dxc.hlsl
index 2f05ffb..227146e 100644
--- a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.fxc.hlsl
index 2f05ffb..227146e 100644
--- a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.dxc.hlsl
index 542b937..8570790 100644
--- a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.dxc.hlsl
index fa2a47b..2ffd710 100644
--- a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.fxc.hlsl
index fa2a47b..2ffd710 100644
--- a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.dxc.hlsl
index dbe12f0..a409c59 100644
--- a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.dxc.hlsl
index 5424f4d..25c4e1b 100644
--- a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.fxc.hlsl
index 5424f4d..25c4e1b 100644
--- a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.dxc.hlsl
index 1232e45..81b747e 100644
--- a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.fxc.hlsl
index 1232e45..81b747e 100644
--- a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.dxc.hlsl
index 3c446bb..d26b81d 100644
--- a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.fxc.hlsl
index 3c446bb..d26b81d 100644
--- a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.dxc.hlsl
index 5f0108f..12417b9 100644
--- a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.fxc.hlsl
index 5f0108f..12417b9 100644
--- a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.dxc.hlsl
index 7bde6a5..01bbcec 100644
--- a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.fxc.hlsl
index 7bde6a5..01bbcec 100644
--- a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.dxc.hlsl
index fbd19fe..bab8cfd 100644
--- a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.fxc.hlsl
index fbd19fe..bab8cfd 100644
--- a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.dxc.hlsl
index 96b08da..e32bc2e 100644
--- a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.fxc.hlsl
index 96b08da..e32bc2e 100644
--- a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.dxc.hlsl
index b7cf0ee..70deafa 100644
--- a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.fxc.hlsl
index b7cf0ee..70deafa 100644
--- a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.dxc.hlsl
index df657ae..7cd8000 100644
--- a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.fxc.hlsl
index df657ae..7cd8000 100644
--- a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.dxc.hlsl
index 893ce8f..c3dbfa6 100644
--- a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.fxc.hlsl
index 893ce8f..c3dbfa6 100644
--- a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.dxc.hlsl
index ff461ea..61d2d4b 100644
--- a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.fxc.hlsl
index ff461ea..61d2d4b 100644
--- a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.dxc.hlsl
index 40175a9..36175cf 100644
--- a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.fxc.hlsl
index 40175a9..36175cf 100644
--- a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.dxc.hlsl
index 43e2e4e..83243d9 100644
--- a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.fxc.hlsl
index 43e2e4e..83243d9 100644
--- a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.dxc.hlsl
index a14e219..d9ba290 100644
--- a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.fxc.hlsl
index a14e219..d9ba290 100644
--- a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.dxc.hlsl
index a09a46e..49f6fcf 100644
--- a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.dxc.hlsl
index 1105b4c..fa70bd6 100644
--- a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.fxc.hlsl
index 1105b4c..fa70bd6 100644
--- a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.dxc.hlsl
index 6c536f6..2643ea3 100644
--- a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.fxc.hlsl
index 6c536f6..2643ea3 100644
--- a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.dxc.hlsl
index ef69c30..2cf7e73 100644
--- a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.fxc.hlsl
index ef69c30..2cf7e73 100644
--- a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.dxc.hlsl
index 75b1deb..a5b04d3 100644
--- a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.dxc.hlsl
index 821b10a..d302cd3 100644
--- a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.dxc.hlsl
index 59fc3ee..1ab9ffd 100644
--- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.fxc.hlsl
index 59fc3ee..1ab9ffd 100644
--- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.dxc.hlsl
index dd1fba7..1eaaeab 100644
--- a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.fxc.hlsl
index dd1fba7..1eaaeab 100644
--- a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.dxc.hlsl
index b9f42f3..f4ff7b0 100644
--- a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.fxc.hlsl
index b9f42f3..f4ff7b0 100644
--- a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.dxc.hlsl
index 9987a72..7ad1296 100644
--- a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.dxc.hlsl
index 60ad490..44b2b8b 100644
--- a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.fxc.hlsl
index 60ad490..44b2b8b 100644
--- a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.dxc.hlsl
index 2e2fe17..747cc89 100644
--- a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.fxc.hlsl
index 2e2fe17..747cc89 100644
--- a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.dxc.hlsl
index 925d7a4..a9843f9 100644
--- a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.fxc.hlsl
index 925d7a4..a9843f9 100644
--- a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.dxc.hlsl
index b4da4d6..140cb40 100644
--- a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.fxc.hlsl
index b4da4d6..140cb40 100644
--- a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.dxc.hlsl
index f4924e4..549ada8 100644
--- a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.fxc.hlsl
index f4924e4..549ada8 100644
--- a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.dxc.hlsl
index aa552eb..4e25d4e 100644
--- a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.fxc.hlsl
index aa552eb..4e25d4e 100644
--- a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.dxc.hlsl
index 9131180..146c57e 100644
--- a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.fxc.hlsl
index 9131180..146c57e 100644
--- a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.dxc.hlsl
index 978625b..68fa350 100644
--- a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.fxc.hlsl
index 978625b..68fa350 100644
--- a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.dxc.hlsl
index eaf0e0e..76c75c7 100644
--- a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.fxc.hlsl
index eaf0e0e..76c75c7 100644
--- a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.dxc.hlsl
index 4c15580..40ebf2f 100644
--- a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.fxc.hlsl
index 4c15580..40ebf2f 100644
--- a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.dxc.hlsl
index 9357d03..cd060e3 100644
--- a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.fxc.hlsl
index 9357d03..cd060e3 100644
--- a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.dxc.hlsl
index 0bb1ca4..1278210 100644
--- a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.fxc.hlsl
index 0bb1ca4..1278210 100644
--- a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.dxc.hlsl
index 348b460..fa5cfc6 100644
--- a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.fxc.hlsl
index 348b460..fa5cfc6 100644
--- a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.dxc.hlsl
index 9363b23..85b0210 100644
--- a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.fxc.hlsl
index 9363b23..85b0210 100644
--- a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.dxc.hlsl
index 48bd848..13bfa28 100644
--- a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.fxc.hlsl
index 48bd848..13bfa28 100644
--- a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.dxc.hlsl
index 3bce300..a73501a 100644
--- a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.dxc.hlsl
index 86b6b11..15f5301 100644
--- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.fxc.hlsl
index 86b6b11..15f5301 100644
--- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.dxc.hlsl
index e173d91..ba44b51 100644
--- a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.fxc.hlsl
index e173d91..ba44b51 100644
--- a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.dxc.hlsl
index e742a9b..a5ddeea 100644
--- a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.fxc.hlsl
index e742a9b..a5ddeea 100644
--- a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.dxc.hlsl
index d3ff923..c8c25f7 100644
--- a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.fxc.hlsl
index d3ff923..c8c25f7 100644
--- a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.dxc.hlsl
index 972cfab..9f38012 100644
--- a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.dxc.hlsl
index 7dd99ec..312b690 100644
--- a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.fxc.hlsl
index 7dd99ec..312b690 100644
--- a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.dxc.hlsl
index 738dd29..611405a 100644
--- a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.fxc.hlsl
index 738dd29..611405a 100644
--- a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.dxc.hlsl
index 07e2c51..11269bd 100644
--- a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.fxc.hlsl
index 07e2c51..11269bd 100644
--- a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.dxc.hlsl
index 9ce1f1c..6c91e19 100644
--- a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.fxc.hlsl
index 9ce1f1c..6c91e19 100644
--- a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.dxc.hlsl
index 440ce68..4cf37d5 100644
--- a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.fxc.hlsl
index 440ce68..4cf37d5 100644
--- a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.dxc.hlsl
index fcd7bc3..6fe4911 100644
--- a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.dxc.hlsl
index 928f141..4e226c5 100644
--- a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.dxc.hlsl
index 0a87404..5723eff 100644
--- a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.fxc.hlsl
index 0a87404..5723eff 100644
--- a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.dxc.hlsl
index d5a3e05..83285fe 100644
--- a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.fxc.hlsl
index d5a3e05..83285fe 100644
--- a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.dxc.hlsl
index 6ebffdd..4b618d3 100644
--- a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.fxc.hlsl
index 6ebffdd..4b618d3 100644
--- a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.dxc.hlsl
index 13250af..06ef556 100644
--- a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.fxc.hlsl
index 13250af..06ef556 100644
--- a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.dxc.hlsl
index 5aca515..9b48fae 100644
--- a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.fxc.hlsl
index 5aca515..9b48fae 100644
--- a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.dxc.hlsl
index f8d35c6..a51e5cf 100644
--- a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.fxc.hlsl
index f8d35c6..a51e5cf 100644
--- a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.dxc.hlsl
index c0bf50b..3243d64 100644
--- a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.dxc.hlsl
index 7051eed..f978902 100644
--- a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.fxc.hlsl
index 7051eed..f978902 100644
--- a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.dxc.hlsl
index 576c54c..0c1966f 100644
--- a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.fxc.hlsl
index 576c54c..0c1966f 100644
--- a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.dxc.hlsl
index 5028f7a..8feddb1 100644
--- a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.fxc.hlsl
index 5028f7a..8feddb1 100644
--- a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.dxc.hlsl
index b18d157..d9d6ac4 100644
--- a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.fxc.hlsl
index b18d157..d9d6ac4 100644
--- a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.dxc.hlsl
index ecc1d7f..7f19dfd 100644
--- a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.fxc.hlsl
index ecc1d7f..7f19dfd 100644
--- a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.dxc.hlsl
index 585e4ef..70ce3f1 100644
--- a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.dxc.hlsl
index 452372c..fdc1295 100644
--- a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.dxc.hlsl
index 5799e65..de683b5 100644
--- a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.fxc.hlsl
index 5799e65..de683b5 100644
--- a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.dxc.hlsl
index 3663955..e7e6416 100644
--- a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.dxc.hlsl
index cc1775e..3b72fdf 100644
--- a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.dxc.hlsl
index bf66046..aeede60 100644
--- a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.fxc.hlsl
index bf66046..aeede60 100644
--- a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.dxc.hlsl
index 0d3ff42..a1ed38d 100644
--- a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.fxc.hlsl
index 0d3ff42..a1ed38d 100644
--- a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.dxc.hlsl
index 1565ebc..f80f29c 100644
--- a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.fxc.hlsl
index 1565ebc..f80f29c 100644
--- a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.dxc.hlsl
index 2de1a5c..3a26d98 100644
--- a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.fxc.hlsl
index 2de1a5c..3a26d98 100644
--- a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.dxc.hlsl
index ed14cb2..8b8e526 100644
--- a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.fxc.hlsl
index ed14cb2..8b8e526 100644
--- a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.dxc.hlsl
index 7ba7e52..b681fcc 100644
--- a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.dxc.hlsl
index 0f68e1b..bde817b 100644
--- a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.fxc.hlsl
index 0f68e1b..bde817b 100644
--- a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.dxc.hlsl
index de98eff..a7b680b 100644
--- a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.dxc.hlsl
index e630d7f..260be22 100644
--- a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.fxc.hlsl
index e630d7f..260be22 100644
--- a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.dxc.hlsl
index dd7d233..4bf317e 100644
--- a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.fxc.hlsl
index dd7d233..4bf317e 100644
--- a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.dxc.hlsl
index 9ba6489..0b926e1 100644
--- a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.dxc.hlsl
index f87b31d..ed12bbd 100644
--- a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.fxc.hlsl
index f87b31d..ed12bbd 100644
--- a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.dxc.hlsl
index 432b95d..766c127 100644
--- a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.fxc.hlsl
index 432b95d..766c127 100644
--- a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.dxc.hlsl
index 7d5d7d8..c46266f 100644
--- a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.fxc.hlsl
index 7d5d7d8..c46266f 100644
--- a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.dxc.hlsl
index adbeb09..4aa8879 100644
--- a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.dxc.hlsl
index 493f629..d521b7e 100644
--- a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.fxc.hlsl
index 493f629..d521b7e 100644
--- a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.dxc.hlsl
index 08c829f..f6cbbef 100644
--- a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.fxc.hlsl
index 08c829f..f6cbbef 100644
--- a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.dxc.hlsl
index 262a8a1..22fa6bf 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.fxc.hlsl
index 262a8a1..22fa6bf 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
index d67929f..4e7f9f2 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
index d67929f..4e7f9f2 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.dxc.hlsl
index 5d21885..b87c195 100644
--- a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.dxc.hlsl
index 677bcae..6e1fc53 100644
--- a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.fxc.hlsl
index 677bcae..6e1fc53 100644
--- a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.dxc.hlsl
index 6b82674..2c0c1f7 100644
--- a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.fxc.hlsl
index 6b82674..2c0c1f7 100644
--- a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.dxc.hlsl
index 589717a..1a1e3ff 100644
--- a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
index 682f251..dbe0be3 100644
--- a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
index 682f251..dbe0be3 100644
--- a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.dxc.hlsl
index 758589d..f7e5bab 100644
--- a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.fxc.hlsl
index 758589d..f7e5bab 100644
--- a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
index 8f8f467..0035ac9 100644
--- a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.dxc.hlsl
index 289e02d..07379eb 100644
--- a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.fxc.hlsl
index 289e02d..07379eb 100644
--- a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.dxc.hlsl
index 99385b7..4768654 100644
--- a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.fxc.hlsl
index 99385b7..4768654 100644
--- a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
index 57283fc..21347c7 100644
--- a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.dxc.hlsl
index eb05088..68e311b 100644
--- a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.fxc.hlsl
index eb05088..68e311b 100644
--- a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.dxc.hlsl
index 60829fc..849606c 100644
--- a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.fxc.hlsl
index 60829fc..849606c 100644
--- a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
index 4e62875..b2ebf86 100644
--- a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
index 4e62875..b2ebf86 100644
--- a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.dxc.hlsl
index 49f38b0..c75e93a 100644
--- a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.dxc.hlsl
index 19ced04..d5ecb18 100644
--- a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.dxc.hlsl
index 057e843..ff4239b 100644
--- a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.fxc.hlsl
index 057e843..ff4239b 100644
--- a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.dxc.hlsl
index f9435c9..1a62b4e 100644
--- a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.fxc.hlsl
index f9435c9..1a62b4e 100644
--- a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
index c0053e0..f40ce41 100644
--- a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
index c0053e0..f40ce41 100644
--- a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
index 957c2d8..b7c50d0 100644
--- a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
index 957c2d8..b7c50d0 100644
--- a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
index e9d280e..68820a1 100644
--- a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.dxc.hlsl
index 7c7217e..8a5396f 100644
--- a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.dxc.hlsl
index bb80e4a..bdfd341 100644
--- a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.fxc.hlsl
index bb80e4a..bdfd341 100644
--- a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.dxc.hlsl
index b1be683..7ee294b 100644
--- a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.dxc.hlsl
index 6e90cee..79985cd 100644
--- a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.fxc.hlsl
index 6e90cee..79985cd 100644
--- a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.dxc.hlsl
index 481ef14..3e105a2 100644
--- a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.fxc.hlsl
index 481ef14..3e105a2 100644
--- a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.dxc.hlsl
index 7fcf62c..856c9e5 100644
--- a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.fxc.hlsl
index 7fcf62c..856c9e5 100644
--- a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.dxc.hlsl
index defb919..aabbc26 100644
--- a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.fxc.hlsl
index defb919..aabbc26 100644
--- a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.dxc.hlsl
index f39b311..8e1d869 100644
--- a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.fxc.hlsl
index f39b311..8e1d869 100644
--- a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.dxc.hlsl
index 82df71b..b96777a 100644
--- a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.dxc.hlsl
index e34f6a01..479161d 100644
--- a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.fxc.hlsl
index e34f6a01..479161d 100644
--- a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.dxc.hlsl
index 71863b7..6264821 100644
--- a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.dxc.hlsl
index 64fd3a3..574ffb4 100644
--- a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.dxc.hlsl
index 41846fa..97c59c0 100644
--- a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.fxc.hlsl
index 41846fa..97c59c0 100644
--- a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.dxc.hlsl
index 64432f4..2963dad 100644
--- a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.fxc.hlsl
index 64432f4..2963dad 100644
--- a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.dxc.hlsl
index 20f7a44..0c7587d 100644
--- a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.fxc.hlsl
index 20f7a44..0c7587d 100644
--- a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.dxc.hlsl
index 3dc7acd..2d5d52f 100644
--- a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.fxc.hlsl
index 3dc7acd..2d5d52f 100644
--- a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.dxc.hlsl
index 3401d98..0a4e13d 100644
--- a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.fxc.hlsl
index 3401d98..0a4e13d 100644
--- a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.dxc.hlsl
index 4c654de..94de44b 100644
--- a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.dxc.hlsl
index 853f844..57f7c6a 100644
--- a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.fxc.hlsl
index 853f844..57f7c6a 100644
--- a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.dxc.hlsl
index 9aa871f..2685b882 100644
--- a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.fxc.hlsl
index 9aa871f..2685b882 100644
--- a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.dxc.hlsl
index 14d72fc..c05404a 100644
--- a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.fxc.hlsl
index 14d72fc..c05404a 100644
--- a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.dxc.hlsl
index a851a32..d256f81 100644
--- a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.dxc.hlsl
index 476c35f..da209a6 100644
--- a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.fxc.hlsl
index 476c35f..da209a6 100644
--- a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.dxc.hlsl
index 281ae97..467876c 100644
--- a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.fxc.hlsl
index 281ae97..467876c 100644
--- a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.dxc.hlsl
index f7e7bd1..0b679f6 100644
--- a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.dxc.hlsl
index 9151a9c..5518b0f 100644
--- a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.dxc.hlsl
index 1b2dd26..6103452 100644
--- a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.dxc.hlsl
index c10b04f..e281814 100644
--- a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.fxc.hlsl
index c10b04f..e281814 100644
--- a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.dxc.hlsl
index 622670e..0d25b1e 100644
--- a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.fxc.hlsl
index 622670e..0d25b1e 100644
--- a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.dxc.hlsl
index e395adb..3495dfa 100644
--- a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.fxc.hlsl
index e395adb..3495dfa 100644
--- a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.dxc.hlsl
index 2ab44cc..398f4ab 100644
--- a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.dxc.hlsl
index 7269f3f..e1d0f9e 100644
--- a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.fxc.hlsl
index 7269f3f..e1d0f9e 100644
--- a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.dxc.hlsl
index 154c480..33d9ca3 100644
--- a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.dxc.hlsl
index 66e895a..e3c505f 100644
--- a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.fxc.hlsl
index 66e895a..e3c505f 100644
--- a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.dxc.hlsl
index 8f514b0..09f46cdd 100644
--- a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.fxc.hlsl
index 8f514b0..09f46cdd 100644
--- a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.dxc.hlsl
index 268904f..e5eedd7 100644
--- a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.fxc.hlsl
index 268904f..e5eedd7 100644
--- a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.dxc.hlsl
index e8c8480..76149e3 100644
--- a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.fxc.hlsl
index e8c8480..76149e3 100644
--- a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.dxc.hlsl
index 9fd61a4..913b2d1 100644
--- a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.dxc.hlsl
index c243f98..afffc74 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.fxc.hlsl
index c243f98..afffc74 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
index 285b4db..7f22762 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
index 285b4db..7f22762 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
index c727c1d..a28a5e3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
index c727c1d..a28a5e3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.dxc.hlsl
index 0c9806b..77f6778 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.fxc.hlsl
index 0c9806b..77f6778 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
index 691c7b5..b6e46d1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
index 691c7b5..b6e46d1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.dxc.hlsl
index dcdecc8..49e14a0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.fxc.hlsl
index dcdecc8..49e14a0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
index 7986521..5fc2c73 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
index 7986521..5fc2c73 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.dxc.hlsl
index 527a36e..8a61ef4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.fxc.hlsl
index 527a36e..8a61ef4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
index 2073954..05be229 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
index 2073954..05be229 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.dxc.hlsl
index 8863efd..f8f12b5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.fxc.hlsl
index 8863efd..f8f12b5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
index cdf59a3..f93ef04 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
index cdf59a3..f93ef04 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
index 2bb7aeb..dfd2e4d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
index 2bb7aeb..dfd2e4d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.dxc.hlsl
index 81f260b..3e4a80b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.fxc.hlsl
index 81f260b..3e4a80b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
index 2ad2881..66df388 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
index 2ad2881..66df388 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.dxc.hlsl
index f39ed43..8c9d1923 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.fxc.hlsl
index f39ed43..8c9d1923 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.dxc.hlsl
index a3c6522..614aad2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.fxc.hlsl
index a3c6522..614aad2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
index 7172c17..5d0b6e5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
index 7172c17..5d0b6e5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
index 8201074..41e827d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
index 8201074..41e827d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
index 51f9c6b..a3a30ed 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
index 51f9c6b..a3a30ed 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
index 1195ed8..0c4b1e1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
index 1195ed8..0c4b1e1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
index 5bea09d..b4ab1a7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
index 5bea09d..b4ab1a7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
index 26b466b..8836620 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
index 26b466b..8836620 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.dxc.hlsl
index 88505da..8151f67 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.fxc.hlsl
index 88505da..8151f67 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
index d42c217..a22ed38 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
index d42c217..a22ed38 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
index d5f7933..a5152f2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
index d5f7933..a5152f2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
index e2cd8f5..75f401b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
index e2cd8f5..75f401b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.dxc.hlsl
index 7e9cd6a..f03f283 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.fxc.hlsl
index 7e9cd6a..f03f283 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
index b44af6d..f62c699 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
index b44af6d..f62c699 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
index 43d58f2..fc46a8e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
index 43d58f2..fc46a8e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
index 4a28aad..f0bcf70 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
index 4a28aad..f0bcf70 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
index d58ec81..e4d4b7ba 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
index d58ec81..e4d4b7ba 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
index a773487..73a5527 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
index a773487..73a5527 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
index 6d89f72..dccd0c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
index 6d89f72..dccd0c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
index 9ae2848..723ad29 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
index 9ae2848..723ad29 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.dxc.hlsl
index 7b5d336..3e996b8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.fxc.hlsl
index 7b5d336..3e996b8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.dxc.hlsl
index b4b3926..db35a75 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.fxc.hlsl
index b4b3926..db35a75 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
index c2592a6..0fcc12c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
index c2592a6..0fcc12c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.dxc.hlsl
index 622ba5f..e9e7021 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.fxc.hlsl
index 622ba5f..e9e7021 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
index 6f415cf..db1134f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
index 6f415cf..db1134f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
index ccc269c..91d953b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
index ccc269c..91d953b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
index 20f02ee..015dcfb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
index 20f02ee..015dcfb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.dxc.hlsl
index d0944cf..e2fd40d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.fxc.hlsl
index d0944cf..e2fd40d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.dxc.hlsl
index c1180b2..0ba48f3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.fxc.hlsl
index c1180b2..0ba48f3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
index 919cd2d..3ac97d2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
index 919cd2d..3ac97d2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
index 79faab8..9bcdd38 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
index 79faab8..9bcdd38 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
index 574c219..8850d148 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
index 574c219..8850d148 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
index b6e3eaa..4a3803c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
index b6e3eaa..4a3803c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
index 717f56c..8901eb1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
index 717f56c..8901eb1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
index 7a3d6c7..ace401e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
index 7a3d6c7..ace401e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
index 0e27a46..7301ab9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
index 0e27a46..7301ab9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.dxc.hlsl
index 9c9a843..a1563cd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.fxc.hlsl
index 9c9a843..a1563cd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
index af987f9..a9fef03 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
index af987f9..a9fef03 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.dxc.hlsl
index 524fcb5..da48caa 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.fxc.hlsl
index 524fcb5..da48caa 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.dxc.hlsl
index 6282a12..0d87b09 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.fxc.hlsl
index 6282a12..0d87b09 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
index 9ab98e9..f4b88b7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
index 9ab98e9..f4b88b7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
index dd62780..27b4273 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
index dd62780..27b4273 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
index bd59f22..209bd61 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
index bd59f22..209bd61 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.dxc.hlsl
index 33667a4..30ae103 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.fxc.hlsl
index 33667a4..30ae103 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.dxc.hlsl
index 3ff7b83..1b2a631 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.fxc.hlsl
index 3ff7b83..1b2a631 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
index 39aede6..997891c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
index 39aede6..997891c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
index e36d015..1d3c6a9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
index e36d015..1d3c6a9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
index 9f9d89a..9441e3e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
index 9f9d89a..9441e3e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.dxc.hlsl
index 66b8685..53a18f3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.fxc.hlsl
index 66b8685..53a18f3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
index 049ad0e..d8e1c7a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
index 049ad0e..d8e1c7a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
index 6c52ac8..b391bd5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
index 6c52ac8..b391bd5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
index 741592e..0a8cfb8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
index 741592e..0a8cfb8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
index 254d722..55f1f10 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
index 254d722..55f1f10 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
index 194560a..8f72d86 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
index 194560a..8f72d86 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
index 4d00a9d..26f811d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
index 4d00a9d..26f811d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
index 78bca9d..8a498e0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
index 78bca9d..8a498e0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
index ed5fc6c..2e10445 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
index ed5fc6c..2e10445 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
index b9c0cab..4608dca 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
index b9c0cab..4608dca 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
index a88ebc7..bcc0dbc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
index a88ebc7..bcc0dbc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.dxc.hlsl
index dfb75ec..676bb14 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.fxc.hlsl
index dfb75ec..676bb14 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
index 1f50145..0555e82 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
index 1f50145..0555e82 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.dxc.hlsl
index 460ca8f..2795e32 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.fxc.hlsl
index 460ca8f..2795e32 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.dxc.hlsl
index 350333f..33f722c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.fxc.hlsl
index 350333f..33f722c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.dxc.hlsl
index 0ab7e4c..e331af7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.fxc.hlsl
index 0ab7e4c..e331af7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.dxc.hlsl
index c5e353b..59d1ae0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.fxc.hlsl
index c5e353b..59d1ae0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.dxc.hlsl
index 4743f75..e0f80bf 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.fxc.hlsl
index 4743f75..e0f80bf 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.dxc.hlsl
index c45daf7..ca67752 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.fxc.hlsl
index c45daf7..ca67752 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
index 383abad..e91ca0b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
index 383abad..e91ca0b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
index 979a43d..243ca3c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
index 979a43d..243ca3c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
index b6f105e..6c4d88f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
index b6f105e..6c4d88f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.dxc.hlsl
index 393dac4..ee5ff54 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.fxc.hlsl
index 393dac4..ee5ff54 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.dxc.hlsl
index 87a33d6..5dca25d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.fxc.hlsl
index 87a33d6..5dca25d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
index ab6c2ff..35c91c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
index ab6c2ff..35c91c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
index fb2f301..2c3f265 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
index fb2f301..2c3f265 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
index 47a38d9..ce5b12b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
index 47a38d9..ce5b12b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
index da415eb..f761810 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
index da415eb..f761810 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
index adddd27..a972f32 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
index adddd27..a972f32 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
index cad4873..423213a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
index cad4873..423213a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
index 5a7ff27..d1db1ad 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
index 5a7ff27..d1db1ad 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
index 261251e..d0f34c9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
index 261251e..d0f34c9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
index ce333d6..287ab49 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
index ce333d6..287ab49 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
index d442828..0e8dc34 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
index d442828..0e8dc34 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
index 1991588..86ce786 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
index 1991588..86ce786 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
index 32abc9d..5e0e145 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
index 32abc9d..5e0e145 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.dxc.hlsl
index c835d85..5bbf8bd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.fxc.hlsl
index c835d85..5bbf8bd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
index 0138351..9e2bb5a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
index 0138351..9e2bb5a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.dxc.hlsl
index 140b258..24bb012 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.fxc.hlsl
index 140b258..24bb012 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
index 855b11d..fdb4dc4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
index 855b11d..fdb4dc4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
index 6ab9a57..82c0db2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
index 6ab9a57..82c0db2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.dxc.hlsl
index e1efe14..fc36ad8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.fxc.hlsl
index e1efe14..fc36ad8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.dxc.hlsl
index ef4c480..b6d74cc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.fxc.hlsl
index ef4c480..b6d74cc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.dxc.hlsl
index 6ef6e20..4ce0ec1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.fxc.hlsl
index 6ef6e20..4ce0ec1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
index 696b475..9162584 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
index 696b475..9162584 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
index 1165489..000e253 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
index 1165489..000e253 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
index 6659e3d..cd2626b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
index 6659e3d..cd2626b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
index ac015b5..53fd3e6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
index ac015b5..53fd3e6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.dxc.hlsl
index 1f929b3..4ae4e30 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.fxc.hlsl
index 1f929b3..4ae4e30 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
index 624511a..586120c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
index 624511a..586120c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
index 9847496..44ef69e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
index 9847496..44ef69e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
index bf7d88e..85c5764 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
index bf7d88e..85c5764 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
index 103d950..6e183f0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
index 103d950..6e183f0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
index f315aa4..b099a23 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
index f315aa4..b099a23 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.dxc.hlsl
index 2876f40..0c5312d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.fxc.hlsl
index 2876f40..0c5312d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
index 200ccb2..b4818c4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
index 200ccb2..b4818c4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.dxc.hlsl
index efcdb74..7f84e7b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.fxc.hlsl
index efcdb74..7f84e7b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.dxc.hlsl
index b102e87..5a85086 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.fxc.hlsl
index b102e87..5a85086 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
index ee617e1..7b7699d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
index ee617e1..7b7699d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
index fcd6cd3..ce31aae 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
index fcd6cd3..ce31aae 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.dxc.hlsl
index 18e4729..eac8746 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.fxc.hlsl
index 18e4729..eac8746 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.dxc.hlsl
index c3c73f9..72179c1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.fxc.hlsl
index c3c73f9..72179c1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.dxc.hlsl
index 019b410..fa3a703 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.fxc.hlsl
index 019b410..fa3a703 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
index 84753d2..eba248d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
index 84753d2..eba248d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.dxc.hlsl
index b110126..0148350 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.fxc.hlsl
index b110126..0148350 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.dxc.hlsl
index 86c1289..191c0c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.fxc.hlsl
index 86c1289..191c0c8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
index 3050274..bca915b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
index 3050274..bca915b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
index f82dcd4..52ccf80 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
index f82dcd4..52ccf80 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
index 1cd495b4..f26b62b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
index 1cd495b4..f26b62b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
index 648a59c..a77b85d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
index 648a59c..a77b85d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
index 1c63013..fbed68c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
index 1c63013..fbed68c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
index 78c62b8..a279e24 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
index 78c62b8..a279e24 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
index 73b3982..3cc7970 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
index 73b3982..3cc7970 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
index 18cc6b0..e99a6d2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
index 18cc6b0..e99a6d2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
index 9eb7add..e28c072 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
index 9eb7add..e28c072 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.dxc.hlsl
index b7d04fb..a20313f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.fxc.hlsl
index b7d04fb..a20313f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
index c3b17d6..10603e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
index c3b17d6..10603e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.dxc.hlsl
index 7c8484e..bd53d10 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.fxc.hlsl
index 7c8484e..bd53d10 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.dxc.hlsl
index bbe51af..5a613e1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.fxc.hlsl
index bbe51af..5a613e1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.dxc.hlsl
index d833ba0..1461f6a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.fxc.hlsl
index d833ba0..1461f6a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
index 4255a14..2f2dc58 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
index 4255a14..2f2dc58 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
index a056e85..22bf658 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
index a056e85..22bf658 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
index c91b686..6517412 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
index c91b686..6517412 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
index 46fb738..651d729 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
index 46fb738..651d729 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
index c0c55a7..7ea7200 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
index c0c55a7..7ea7200 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
index 443fc69..ffd28f4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
index 443fc69..ffd28f4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
index 56e39bb..4b9942e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
index 56e39bb..4b9942e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
index d02fd23..381c7f1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
index d02fd23..381c7f1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
index 7e4e32f..e890060 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
index 7e4e32f..e890060 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.dxc.hlsl
index 906e5f9..dcbd8c7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.fxc.hlsl
index 906e5f9..dcbd8c7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
index 9b490a7..5a3a07e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
index 9b490a7..5a3a07e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
index 1820699..0c336b5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
index 1820699..0c336b5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
index 405432d..b4e70cc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
index 405432d..b4e70cc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.dxc.hlsl
index d53ad3a..16655f5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.fxc.hlsl
index d53ad3a..16655f5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.dxc.hlsl
index c916a67..42a8ccd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.fxc.hlsl
index c916a67..42a8ccd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
index 153391d..e392b5e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
index 153391d..e392b5e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.dxc.hlsl
index 2049b6f..f09a850 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.fxc.hlsl
index 2049b6f..f09a850 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
index 9e43ffc..b3b68dd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
index 9e43ffc..b3b68dd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
index 2bfa529..e17939ee 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
index 2bfa529..e17939ee 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
index f09b1a5..4635cf3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
index f09b1a5..4635cf3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
index 4f21349..a6aefe8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
index 4f21349..a6aefe8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
index 1f939fa..0992aac 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
index 1f939fa..0992aac 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
index e19368c..a1703bc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
index e19368c..a1703bc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
index 1c347dd..47a7296 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
index 1c347dd..47a7296 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
index d98f96c..d407b20 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
index d98f96c..d407b20 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
index bbc6ee2..411be2e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
index bbc6ee2..411be2e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
index e5a70d3..1daf99e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
index e5a70d3..1daf99e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
index 1a89e4c..51024d0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
index 1a89e4c..51024d0 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
index 3baf781..a97dcc6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
index 3baf781..a97dcc6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
index 1edca52..423429f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
index 1edca52..423429f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
index 20335af..501e9bd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
index 20335af..501e9bd 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
index 8b513eb..66acd66 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
index 8b513eb..66acd66 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.dxc.hlsl
index 33efeac..df2277b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.fxc.hlsl
index 33efeac..df2277b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
index 7b385a7..fec0480 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
index 7b385a7..fec0480 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
index 497f7ac..de8b046 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
index 497f7ac..de8b046 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
index 89fb6f8..bb87c6d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
index 89fb6f8..bb87c6d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
index 9e268f7..503338f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
index 9e268f7..503338f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.dxc.hlsl
index 79143cd..5a3cdb5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.fxc.hlsl
index 79143cd..5a3cdb5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
index 1bc1e5e..367aa08 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
index 1bc1e5e..367aa08 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.dxc.hlsl
index 6e7abbe..46c6a77 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.fxc.hlsl
index 6e7abbe..46c6a77 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
index 1330f41..7f590d8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
index 1330f41..7f590d8 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
index a6b1473..edc2683 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
index a6b1473..edc2683 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.dxc.hlsl
index 1b6f338..0b1a250 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.fxc.hlsl
index 1b6f338..0b1a250 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
index 119ac27..392ca6b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
index 119ac27..392ca6b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
index 82ca8c99..711201a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
index 82ca8c99..711201a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
index a5666a3..5012542 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
index a5666a3..5012542 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
index a9c92a6..d2c7015 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
index a9c92a6..d2c7015 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.dxc.hlsl
index e07bbdb..e3850fc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.fxc.hlsl
index e07bbdb..e3850fc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
index ff97eae..de726e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
index ff97eae..de726e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
index 684920c..fcf1d5c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
index 684920c..fcf1d5c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
index a8e3bf6..58f5727 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
index a8e3bf6..58f5727 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.dxc.hlsl
index 0d6b1da..1c06d8b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.fxc.hlsl
index 0d6b1da..1c06d8b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.dxc.hlsl
index 9e1f1e7..85cfaff 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.fxc.hlsl
index 9e1f1e7..85cfaff 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
index d8c5ba7..faf4823 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
index d8c5ba7..faf4823 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
index 66312cd..ba37cdb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
index 66312cd..ba37cdb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
index 3f39596..868598f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
index 3f39596..868598f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
index 115195d..31926ef 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
index 115195d..31926ef 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
index 87bc187..4389a3f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
index 87bc187..4389a3f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
index 3f20e4d..1e1408e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
index 3f20e4d..1e1408e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
index 04691f4..6c878d7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
index 04691f4..6c878d7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
index 182f120..b53f8cb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
index 182f120..b53f8cb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
index 6f2d977..f8a3d9d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
index 6f2d977..f8a3d9d 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.dxc.hlsl
index a403ff8..cf7d9fd6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.fxc.hlsl
index a403ff8..cf7d9fd6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
index 400fdf9..b713de1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
index 400fdf9..b713de1 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
index 8d81cd6..a0ca033 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
index 8d81cd6..a0ca033 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
index eb1a0c5..ed45ef3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
index eb1a0c5..ed45ef3 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.dxc.hlsl
index 4a35a14..ff52a78 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.fxc.hlsl
index 4a35a14..ff52a78 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
index bdb0d02..fb25c3a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
index bdb0d02..fb25c3a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
index 2103c4a..3587093 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
index 2103c4a..3587093 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
index a3fd000..f034830 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
index a3fd000..f034830 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
index a3064d8..01d8ee5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
index a3064d8..01d8ee5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
index 1922a3a..e6ab0ba 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
index 1922a3a..e6ab0ba 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.dxc.hlsl
index c30fbc4..7ee2238 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.fxc.hlsl
index c30fbc4..7ee2238 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
index 4aa2346..23f3a56 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
index 4aa2346..23f3a56 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
index 4174bad..a834adb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
index 4174bad..a834adb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
index f6a1c05..ec45c05 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
index f6a1c05..ec45c05 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
index 5d8a0fe..c31b931 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
index 5d8a0fe..c31b931 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
index 7bf99ef..f236a40 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
index 7bf99ef..f236a40 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
index cfe88f9..6e6338b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
index cfe88f9..6e6338b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
index 56b1176..076c805 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
index 56b1176..076c805 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
index 327d6c2..c68591b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
index 327d6c2..c68591b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
index 22daecc..b9a0be5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
index 22daecc..b9a0be5 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
index c5c6aa9..f5931df 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
index c5c6aa9..f5931df 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
index fe6ab2d..ff86087 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
index fe6ab2d..ff86087 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
index f8de5c4..773ed83 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
index f8de5c4..773ed83 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
index 381077f..08130cb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
index 381077f..08130cb 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
index 0cd0e85..33a6956 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
index 0cd0e85..33a6956 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
index e16be6e..ad62aaa 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
index e16be6e..ad62aaa 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
index f07fb0f..340f642 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
index f07fb0f..340f642 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
index a23a423..34b635c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
index a23a423..34b635c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
index a188695..ce1c1d6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
index a188695..ce1c1d6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
index 20101bf..a572135 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
index 20101bf..a572135 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
index a6e5f91..5a0e928 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
index a6e5f91..5a0e928 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.dxc.hlsl
index 191f2df..78ec4e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.fxc.hlsl
index 191f2df..78ec4e2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
index 49e661b..adf5945 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
index 49e661b..adf5945 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
index 15b5301..4dc7a62 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
index 15b5301..4dc7a62 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
index 83a9293..f6fbf45 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
index 83a9293..f6fbf45 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.dxc.hlsl
index 663f3dc..f2188bc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.fxc.hlsl
index 663f3dc..f2188bc 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
index 3686aff..076112b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
index 3686aff..076112b 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
index 4b96787..28f17a2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
index 4b96787..28f17a2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
index 75b74c0..8f07946 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
index 75b74c0..8f07946 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
index 983edc4..8fb42ec 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
index 983edc4..8fb42ec 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
index e746b7e..2391eb2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
index e746b7e..2391eb2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
index 5f22f4f..6dc68f2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
index 5f22f4f..6dc68f2 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
index 18fe42b..e3ce914 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
index 18fe42b..e3ce914 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
index 0db7d7d..5a8b06f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
index 0db7d7d..5a8b06f 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
index 47e99eb..311be74 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
index 47e99eb..311be74 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
index 13f66c9..ca17252 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
index 13f66c9..ca17252 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.dxc.hlsl
index fb869e3..cb1baa7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.fxc.hlsl
index fb869e3..cb1baa7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
index 70dda32..baad958 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
index 70dda32..baad958 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
index 7697dcd..b6dc189 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
index 7697dcd..b6dc189 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
index 0b13c87..a506de7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
index 0b13c87..a506de7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
index f270b86..fd9edb6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
index f270b86..fd9edb6 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
index 06a7743..37b35b7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
index 06a7743..37b35b7 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
index 2d58374..71b7678 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
index 2d58374..71b7678 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
index 0d83865..f94b0c4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
index 0d83865..f94b0c4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
index 0cd698f..4900e7e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
index 0cd698f..4900e7e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
index f630e9c..012a126 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
index f630e9c..012a126 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
index 9c0da4e..f25d00e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
index 9c0da4e..f25d00e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
index 7ea41cc..c9a1ccf 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
index 7ea41cc..c9a1ccf 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
index 766bcbd..302bb1a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
index 766bcbd..302bb1a 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
index caacb86..2e40d76 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
index caacb86..2e40d76 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
index 161e20b..b6f6290 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
index 161e20b..b6f6290 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.dxc.hlsl
index 0aacb5e..592dd64 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.fxc.hlsl
index 0aacb5e..592dd64 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
index e11b029..b82794c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
index e11b029..b82794c 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
index bf4eab2..e52619e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
index bf4eab2..e52619e 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
index d6da2f3..7f75553 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
index d6da2f3..7f75553 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
index 744b6ea..5beff36 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
index 744b6ea..5beff36 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
index d108123..12fab86 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
index d108123..12fab86 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
index f11ae43..6a07e36 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
index f11ae43..6a07e36 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
index 4500388..78f14ef 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
index 4500388..78f14ef 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
index d411c87..6374012 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
index d411c87..6374012 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
index 5e084b1..3bcfcd9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
index 5e084b1..3bcfcd9 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.dxc.hlsl
index 08f308d..36c8510 100644
--- a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.fxc.hlsl
index 08f308d..36c8510 100644
--- a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.dxc.hlsl
index 3561243..4208271 100644
--- a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.fxc.hlsl
index 3561243..4208271 100644
--- a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.dxc.hlsl
index c5e8b19..6453cf7 100644
--- a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.fxc.hlsl
index c5e8b19..6453cf7 100644
--- a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.dxc.hlsl
index b46b287..1b432fc 100644
--- a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.fxc.hlsl
index b46b287..1b432fc 100644
--- a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.dxc.hlsl
index 6eee30b..bdb46d9 100644
--- a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.fxc.hlsl
index 6eee30b..bdb46d9 100644
--- a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
index ea40413..65abe43 100644
--- a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
index ea40413..65abe43 100644
--- a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
index 2d44503..818728e 100644
--- a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
index 2d44503..818728e 100644
--- a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.dxc.hlsl
index aff33dd..0e2c806 100644
--- a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.fxc.hlsl
index aff33dd..0e2c806 100644
--- a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.dxc.hlsl
index 2bf0b17..eae4608 100644
--- a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.fxc.hlsl
index 2bf0b17..eae4608 100644
--- a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.dxc.hlsl
index b41164a..ce6b8f8 100644
--- a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.fxc.hlsl
index b41164a..ce6b8f8 100644
--- a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.dxc.hlsl
index 8d05364..935c8c3 100644
--- a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.fxc.hlsl
index 8d05364..935c8c3 100644
--- a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.dxc.hlsl
index 78523f1..a432060 100644
--- a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.fxc.hlsl
index 78523f1..a432060 100644
--- a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.dxc.hlsl
index 27f92ff..0f39624 100644
--- a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.fxc.hlsl
index 27f92ff..0f39624 100644
--- a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
index f1def26..be7e329 100644
--- a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
index f1def26..be7e329 100644
--- a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.dxc.hlsl
index 36d8d8a..86fc7cf 100644
--- a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.fxc.hlsl
index 36d8d8a..86fc7cf 100644
--- a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.dxc.hlsl
index a35ac4e..c793048 100644
--- a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.fxc.hlsl
index a35ac4e..c793048 100644
--- a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.dxc.hlsl
index 40a82d1..1e19f7a 100644
--- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.fxc.hlsl
index 40a82d1..1e19f7a 100644
--- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.dxc.hlsl
index fa37e35..fae8a11 100644
--- a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.fxc.hlsl
index fa37e35..fae8a11 100644
--- a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.dxc.hlsl
index 418ae83..0b9f4d0 100644
--- a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.fxc.hlsl
index 418ae83..0b9f4d0 100644
--- a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.dxc.hlsl
index 3c65904..5c6cf5a 100644
--- a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.fxc.hlsl
index 3c65904..5c6cf5a 100644
--- a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
index 56a4430..aa1f36e 100644
--- a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
index 56a4430..aa1f36e 100644
--- a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.dxc.hlsl
index 763d054..c33974a 100644
--- a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.fxc.hlsl
index 763d054..c33974a 100644
--- a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.dxc.hlsl
index b9fad60..196c60d 100644
--- a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.fxc.hlsl
index b9fad60..196c60d 100644
--- a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.dxc.hlsl
index f663605..5dcb6f8 100644
--- a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.fxc.hlsl
index f663605..5dcb6f8 100644
--- a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.dxc.hlsl
index a401d7b..184fe7e 100644
--- a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.fxc.hlsl
index a401d7b..184fe7e 100644
--- a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.dxc.hlsl
index 31b6878..5c0e0f0 100644
--- a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.fxc.hlsl
index 31b6878..5c0e0f0 100644
--- a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.dxc.hlsl
index 8885fa5..d0e2c74 100644
--- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.fxc.hlsl
index 8885fa5..d0e2c74 100644
--- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.dxc.hlsl
index d9ae5db..8e6c0ca 100644
--- a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.fxc.hlsl
index d9ae5db..8e6c0ca 100644
--- a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.dxc.hlsl
index 4e0e8bd..422fda1 100644
--- a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.fxc.hlsl
index 4e0e8bd..422fda1 100644
--- a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.dxc.hlsl
index 9a2137f..9782fab 100644
--- a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.fxc.hlsl
index 9a2137f..9782fab 100644
--- a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.dxc.hlsl
index 910f4ce..8dca8609 100644
--- a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.fxc.hlsl
index 910f4ce..8dca8609 100644
--- a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.dxc.hlsl
index a02684a..5ee68fe 100644
--- a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.fxc.hlsl
index a02684a..5ee68fe 100644
--- a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.dxc.hlsl
index 2aecb3b..8b3645a 100644
--- a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.fxc.hlsl
index 2aecb3b..8b3645a 100644
--- a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.dxc.hlsl
index e81a30b..2bd63a9 100644
--- a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.fxc.hlsl
index e81a30b..2bd63a9 100644
--- a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.dxc.hlsl
index 5cdd833..bb2ccf2 100644
--- a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.fxc.hlsl
index 5cdd833..bb2ccf2 100644
--- a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.dxc.hlsl
index 769c474..9ea65f2 100644
--- a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.fxc.hlsl
index 769c474..9ea65f2 100644
--- a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.dxc.hlsl
index 2025afc..e059bec 100644
--- a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.fxc.hlsl
index 2025afc..e059bec 100644
--- a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.dxc.hlsl
index 282bffd..ac653fa 100644
--- a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.fxc.hlsl
index 282bffd..ac653fa 100644
--- a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.dxc.hlsl
index f60feee..6be7333 100644
--- a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.fxc.hlsl
index f60feee..6be7333 100644
--- a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.dxc.hlsl
index 4f8cb7d..954d4a2 100644
--- a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.fxc.hlsl
index 4f8cb7d..954d4a2 100644
--- a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.dxc.hlsl
index fad58cb..04ce4963 100644
--- a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.fxc.hlsl
index fad58cb..04ce4963 100644
--- a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.dxc.hlsl
index a19867e..db6940a 100644
--- a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.fxc.hlsl
index a19867e..db6940a 100644
--- a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
index d0369c1..b58d762 100644
--- a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
index d0369c1..b58d762 100644
--- a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.dxc.hlsl
index 177806a..f28f88f 100644
--- a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.fxc.hlsl
index 177806a..f28f88f 100644
--- a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
index ffb68d6..66f93fd 100644
--- a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
index ffb68d6..66f93fd 100644
--- a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.dxc.hlsl
index c0686ff..6783abd 100644
--- a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.fxc.hlsl
index c0686ff..6783abd 100644
--- a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.dxc.hlsl
index f406a31..bb0fbe4 100644
--- a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.fxc.hlsl
index f406a31..bb0fbe4 100644
--- a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.dxc.hlsl
index 647d3f1..f799f70 100644
--- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.fxc.hlsl
index 647d3f1..f799f70 100644
--- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.dxc.hlsl
index 858049f..f87164f 100644
--- a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.fxc.hlsl
index 858049f..f87164f 100644
--- a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.dxc.hlsl
index 72eea1f..81bba0a 100644
--- a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.fxc.hlsl
index 72eea1f..81bba0a 100644
--- a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.dxc.hlsl
index f5b98c2..f559ac2 100644
--- a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.fxc.hlsl
index f5b98c2..f559ac2 100644
--- a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.dxc.hlsl
index cda9184..da6ea88 100644
--- a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.fxc.hlsl
index cda9184..da6ea88 100644
--- a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
index c73dbcd..37e52a8 100644
--- a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
index c73dbcd..37e52a8 100644
--- a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.dxc.hlsl
index 7c14fb5..0c06e9c 100644
--- a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.fxc.hlsl
index 7c14fb5..0c06e9c 100644
--- a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.dxc.hlsl
index 9df2413..e99a8c5 100644
--- a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.fxc.hlsl
index 9df2413..e99a8c5 100644
--- a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.dxc.hlsl
index 6913e87..21c4416 100644
--- a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.fxc.hlsl
index 6913e87..21c4416 100644
--- a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.dxc.hlsl
index 5c89b92..7885929 100644
--- a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.fxc.hlsl
index 5c89b92..7885929 100644
--- a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.dxc.hlsl
index ffe883c..2ad51ca 100644
--- a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.fxc.hlsl
index ffe883c..2ad51ca 100644
--- a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.dxc.hlsl
index 91004dd..d6cc5c2 100644
--- a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.fxc.hlsl
index 91004dd..d6cc5c2 100644
--- a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.dxc.hlsl
index 6c6350d..09136bb 100644
--- a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.fxc.hlsl
index 6c6350d..09136bb 100644
--- a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.dxc.hlsl
index bffc94b..8ae6c33 100644
--- a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.fxc.hlsl
index bffc94b..8ae6c33 100644
--- a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
index a6169bd..ccdf7ad 100644
--- a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
index a6169bd..ccdf7ad 100644
--- a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
index 8287ba3..4b4ca75 100644
--- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
index 8287ba3..4b4ca75 100644
--- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
index c2a98f6..6224d1e 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
index c2a98f6..6224d1e 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
index b9c1591..2fc856a 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
index b9c1591..2fc856a 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
index 2e0b025..25e9de2 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
index 2e0b025..25e9de2 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
index 212a683..a59b2a8 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
index 212a683..a59b2a8 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
index 38caeb8..d29101d 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
index 38caeb8..d29101d 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
index 900581d..fe719e2 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
index 900581d..fe719e2 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
index 03503ac..d191597 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
index 03503ac..d191597 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
index 19bfc8f..421a156 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
index 19bfc8f..421a156 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
index cf63b2b..a7aaceb 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
index cf63b2b..a7aaceb 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.dxc.hlsl
index cb41341..69ff893 100644
--- a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.fxc.hlsl
index cb41341..69ff893 100644
--- a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.dxc.hlsl
index 629bd0c..57a7129 100644
--- a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.fxc.hlsl
index 629bd0c..57a7129 100644
--- a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.dxc.hlsl
index bd57ec9..fa329a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.fxc.hlsl
index bd57ec9..fa329a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.dxc.hlsl
index a55e6f9..d973a4b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.fxc.hlsl
index a55e6f9..d973a4b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.dxc.hlsl
index c0e185b..39e8c62 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.fxc.hlsl
index c0e185b..39e8c62 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
index 3d4c55f..cb4af8c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
index 3d4c55f..cb4af8c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.dxc.hlsl
index 8cca30b..1693e6d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.fxc.hlsl
index 8cca30b..1693e6d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.dxc.hlsl
index f6e670e..6d013c0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.fxc.hlsl
index f6e670e..6d013c0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.dxc.hlsl
index 807ec6a..1508658 100644
--- a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.fxc.hlsl
index 807ec6a..1508658 100644
--- a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.dxc.hlsl
index 2b84a5c..9cb92d0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.fxc.hlsl
index 2b84a5c..9cb92d0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.dxc.hlsl
index 977cd6e..343289d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.fxc.hlsl
index 977cd6e..343289d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.dxc.hlsl
index 196af11..c544240 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.fxc.hlsl
index 196af11..c544240 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.dxc.hlsl
index 963470c..1298fdf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.fxc.hlsl
index 963470c..1298fdf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.dxc.hlsl
index c469f37..7ae8bb5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.fxc.hlsl
index c469f37..7ae8bb5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.dxc.hlsl
index 57707e7..66f24d4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.fxc.hlsl
index 57707e7..66f24d4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.dxc.hlsl
index c337d48..7040c6f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.fxc.hlsl
index c337d48..7040c6f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.dxc.hlsl
index e8b2520..4bfba16 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.fxc.hlsl
index e8b2520..4bfba16 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.dxc.hlsl
index 6c49c1e..24ed21e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.fxc.hlsl
index 6c49c1e..24ed21e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.dxc.hlsl
index 922d1dc..23da158 100644
--- a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.fxc.hlsl
index 922d1dc..23da158 100644
--- a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.dxc.hlsl
index 06c81a4..fc7f68e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.fxc.hlsl
index 06c81a4..fc7f68e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.dxc.hlsl
index 5ac2903..5bbbe20 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.fxc.hlsl
index 5ac2903..5bbbe20 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.dxc.hlsl
index 64de678..ba30b4c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.fxc.hlsl
index 64de678..ba30b4c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.dxc.hlsl
index ea49527..6b0b53f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.fxc.hlsl
index ea49527..6b0b53f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.dxc.hlsl
index fcb8e9d..09c76fc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.fxc.hlsl
index fcb8e9d..09c76fc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.dxc.hlsl
index a932a22..7baa6ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.fxc.hlsl
index a932a22..7baa6ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
index 891ee5c..3292e75 100644
--- a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
index 891ee5c..3292e75 100644
--- a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.dxc.hlsl
index 0bebab8..11806bf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.fxc.hlsl
index 0bebab8..11806bf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.dxc.hlsl
index 88d4b09..17c9dc8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.fxc.hlsl
index 88d4b09..17c9dc8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.dxc.hlsl
index 03785d1..3e34d39 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.fxc.hlsl
index 03785d1..3e34d39 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.dxc.hlsl
index 8c0586c..33182d3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.fxc.hlsl
index 8c0586c..33182d3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.dxc.hlsl
index 1de9034..4917329 100644
--- a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.fxc.hlsl
index 1de9034..4917329 100644
--- a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.dxc.hlsl
index afc9cfd..76f9cd2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.fxc.hlsl
index afc9cfd..76f9cd2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.dxc.hlsl
index 2920875..8791813 100644
--- a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.fxc.hlsl
index 2920875..8791813 100644
--- a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.dxc.hlsl
index 0b975f7..159ef92 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.fxc.hlsl
index 0b975f7..159ef92 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.dxc.hlsl
index 9c07a9e..86349df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.fxc.hlsl
index 9c07a9e..86349df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.dxc.hlsl
index 69012df..baeec6d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.fxc.hlsl
index 69012df..baeec6d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.dxc.hlsl
index c047a88..7e331e3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.fxc.hlsl
index c047a88..7e331e3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.dxc.hlsl
index 0ec266d..028bb5d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.fxc.hlsl
index 0ec266d..028bb5d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.dxc.hlsl
index 4a090aa..be2182a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.fxc.hlsl
index 4a090aa..be2182a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.dxc.hlsl
index 9c43fa4..9ea700d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.fxc.hlsl
index 9c43fa4..9ea700d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.dxc.hlsl
index a42d53a..e6489a6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.fxc.hlsl
index a42d53a..e6489a6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
index 72e481a..2a4ed97 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
index 72e481a..2a4ed97 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
index 050f970..06ed3e2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, uint2 coord, ExternalTextureParams params) {
-  const uint2 coord1 = (coord >> (1u).xx);
+  uint2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(uint3(coord, uint(0))).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -108,7 +108,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
index 050f970..06ed3e2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, uint2 coord, ExternalTextureParams params) {
-  const uint2 coord1 = (coord >> (1u).xx);
+  uint2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(uint3(coord, uint(0))).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -108,7 +108,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.dxc.hlsl
index 718ae3d..967e6cf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.fxc.hlsl
index 718ae3d..967e6cf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
index bfa004d..976ee51 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
index bfa004d..976ee51 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
index 1f49313..a18f729 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
index 1f49313..a18f729 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
index 8ff2f62..31a4c9e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
index 8ff2f62..31a4c9e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.dxc.hlsl
index 2a55c04..a8c9d48 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.fxc.hlsl
index 2a55c04..a8c9d48 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.dxc.hlsl
index 12745b8..6de018e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.fxc.hlsl
index 12745b8..6de018e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
index 8ab0be3..f57529e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
index 8ab0be3..f57529e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.dxc.hlsl
index 592174b..e9b5c59 100644
--- a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.fxc.hlsl
index 592174b..e9b5c59 100644
--- a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
index 1ccb64e..13d019a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
index 1ccb64e..13d019a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.dxc.hlsl
index 8fc7b38..e263799 100644
--- a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.fxc.hlsl
index 8fc7b38..e263799 100644
--- a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.dxc.hlsl
index a1b8314..da413e4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.fxc.hlsl
index a1b8314..da413e4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.dxc.hlsl
index 864c8f7..b901214 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.fxc.hlsl
index 864c8f7..b901214 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.dxc.hlsl
index 6c75b43..b7fabfb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.fxc.hlsl
index 6c75b43..b7fabfb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.dxc.hlsl
index 21459f4..a97ea7c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.fxc.hlsl
index 21459f4..a97ea7c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.dxc.hlsl
index e99d07c..20089eb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.fxc.hlsl
index e99d07c..20089eb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
index 396c059..28c553c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
index 396c059..28c553c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
index 2c67ac1..8f5751c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
index 2c67ac1..8f5751c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
index 6ec59b1..2d4970a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
index 6ec59b1..2d4970a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.dxc.hlsl
index fb0e805..99501c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.fxc.hlsl
index fb0e805..99501c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.dxc.hlsl
index 9bc3e1d..6a10d99 100644
--- a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.fxc.hlsl
index 9bc3e1d..6a10d99 100644
--- a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.dxc.hlsl
index 7a3a6f65..57ab295 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.fxc.hlsl
index 7a3a6f65..57ab295 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
index 5dfda19..8e20149 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
index 5dfda19..8e20149 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.dxc.hlsl
index 54ce286..575a403 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.fxc.hlsl
index 54ce286..575a403 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
index 323886b..c5b171a6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
index 323886b..c5b171a6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.dxc.hlsl
index aa522c3..0a6da0d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.fxc.hlsl
index aa522c3..0a6da0d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.dxc.hlsl
index c5dfdf3..93d19a1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.fxc.hlsl
index c5dfdf3..93d19a1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
index 36c1b20..ddb2469 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
index 36c1b20..ddb2469 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
index 1c368ca..139acd3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
index 1c368ca..139acd3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
index 2d90026..96498fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
index 2d90026..96498fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.dxc.hlsl
index 7d247b3..d7ab2b1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.fxc.hlsl
index 7d247b3..d7ab2b1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
index dcdb048..7458bc8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
index dcdb048..7458bc8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.dxc.hlsl
index 8ab6a00..bcfeba3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.fxc.hlsl
index 8ab6a00..bcfeba3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.dxc.hlsl
index 740f810..4252ba4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.fxc.hlsl
index 740f810..4252ba4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.dxc.hlsl
index 3c23f84..b38e772 100644
--- a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.fxc.hlsl
index 3c23f84..b38e772 100644
--- a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
index 883c265..05f5164 100644
--- a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
index 883c265..05f5164 100644
--- a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
index 05f6c4a..7cf1f1d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
index 05f6c4a..7cf1f1d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.dxc.hlsl
index 9b1f213..a9a31bf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.fxc.hlsl
index 9b1f213..a9a31bf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.dxc.hlsl
index 49f7964..d2d7704 100644
--- a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.fxc.hlsl
index 49f7964..d2d7704 100644
--- a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.dxc.hlsl
index 89e41fe..9572e94 100644
--- a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.fxc.hlsl
index 89e41fe..9572e94 100644
--- a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.dxc.hlsl
index 57346ea..09bc738 100644
--- a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.fxc.hlsl
index 57346ea..09bc738 100644
--- a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
index cbbf3e4..7b010ae 100644
--- a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
index cbbf3e4..7b010ae 100644
--- a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.dxc.hlsl
index 4e4a254..9b5ab21 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.fxc.hlsl
index 4e4a254..9b5ab21 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.dxc.hlsl
index b8549e8..9f91113 100644
--- a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.fxc.hlsl
index b8549e8..9f91113 100644
--- a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.dxc.hlsl
index 1cf7871..802a5bd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.fxc.hlsl
index 1cf7871..802a5bd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.dxc.hlsl
index 8e15e4b..854ae8a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.fxc.hlsl
index 8e15e4b..854ae8a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.dxc.hlsl
index d1b69d1..aaa4e6e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.fxc.hlsl
index d1b69d1..aaa4e6e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
index ef1e303..b358079 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
index ef1e303..b358079 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
index 7e517ea..36daf56 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
index 7e517ea..36daf56 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.dxc.hlsl
index 5086930..3505592 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.fxc.hlsl
index 5086930..3505592 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
index 2c992db..1e08895 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
index 2c992db..1e08895 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
index 6288721..ba15eb9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
index 6288721..ba15eb9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.dxc.hlsl
index 1741689..2740341 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.fxc.hlsl
index 1741689..2740341 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
index d350063..94de9f7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
index d350063..94de9f7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
index fdffb7d..f3e640e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
index fdffb7d..f3e640e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
index 0d35476..ca5490d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
index 0d35476..ca5490d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
index 1923534..1285122 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
index 1923534..1285122 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
index 1cca04c..b516127 100644
--- a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
index 1cca04c..b516127 100644
--- a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.dxc.hlsl
index 6d8e452..add0a7a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.fxc.hlsl
index 6d8e452..add0a7a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.dxc.hlsl
index 3beebde..6d7f0f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.fxc.hlsl
index 3beebde..6d7f0f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.dxc.hlsl
index 5348338..3edbac6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.fxc.hlsl
index 5348338..3edbac6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.dxc.hlsl
index 59e6534..5776070 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.fxc.hlsl
index 59e6534..5776070 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.dxc.hlsl
index 695b145..cde7e33 100644
--- a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.fxc.hlsl
index 695b145..cde7e33 100644
--- a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.dxc.hlsl
index 87187c9..c569d4a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.fxc.hlsl
index 87187c9..c569d4a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.dxc.hlsl
index 8bdfbc6..e7be3ab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.fxc.hlsl
index 8bdfbc6..e7be3ab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.dxc.hlsl
index a18a168..a1eff5e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.fxc.hlsl
index a18a168..a1eff5e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.dxc.hlsl
index ee19170..38d67a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.fxc.hlsl
index ee19170..38d67a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.dxc.hlsl
index a7b0c3a..8496ddd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.fxc.hlsl
index a7b0c3a..8496ddd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.dxc.hlsl
index cfd34e4..7c71838 100644
--- a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.fxc.hlsl
index cfd34e4..7c71838 100644
--- a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.dxc.hlsl
index 003d1d5..341fd7c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.fxc.hlsl
index 003d1d5..341fd7c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
index 1b95838..675f16c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
index 1b95838..675f16c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.dxc.hlsl
index bec12a3..936bc5c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.fxc.hlsl
index bec12a3..936bc5c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.dxc.hlsl
index ae63f83..9d236d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.fxc.hlsl
index ae63f83..9d236d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.dxc.hlsl
index 4d3a45b..12baacf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.fxc.hlsl
index 4d3a45b..12baacf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.dxc.hlsl
index 4361360..4b5fadd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.fxc.hlsl
index 4361360..4b5fadd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.dxc.hlsl
index ddf606e..db58c2b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.fxc.hlsl
index ddf606e..db58c2b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
index 4d91386..2a33816 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
index 4d91386..2a33816 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.dxc.hlsl
index 7c94a6c..508219d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.fxc.hlsl
index 7c94a6c..508219d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
index a20cd62..a63bee1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
index a20cd62..a63bee1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
index 2e8ac09..86f02cc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
index 2e8ac09..86f02cc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.dxc.hlsl
index 6c31741..ccfac1f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.fxc.hlsl
index 6c31741..ccfac1f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.dxc.hlsl
index 4aad8a9..d8e130a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.fxc.hlsl
index 4aad8a9..d8e130a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
index d8b5bf7..ac532e2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
index d8b5bf7..ac532e2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
index adff0a0..169f34b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
index adff0a0..169f34b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.dxc.hlsl
index d663550..de7313a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.fxc.hlsl
index d663550..de7313a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
index 242b160..6434919 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
index 242b160..6434919 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.dxc.hlsl
index 3fd4718..550c4c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.fxc.hlsl
index 3fd4718..550c4c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
index 1298c94..cbba43c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
index 1298c94..cbba43c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
index 1762c15..58d4aa3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
index 1762c15..58d4aa3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.dxc.hlsl
index 01a644f1..97ec885 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.fxc.hlsl
index 01a644f1..97ec885 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.dxc.hlsl
index 8ea86e8..88b9456 100644
--- a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.fxc.hlsl
index 8ea86e8..88b9456 100644
--- a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.dxc.hlsl
index b2e4d3b..cc41f86 100644
--- a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.fxc.hlsl
index b2e4d3b..cc41f86 100644
--- a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.dxc.hlsl
index 2b097a6..8a88f67 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.fxc.hlsl
index 2b097a6..8a88f67 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.dxc.hlsl
index c937d97..dd90374 100644
--- a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.fxc.hlsl
index c937d97..dd90374 100644
--- a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.dxc.hlsl
index 4158ae8..444f4fb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.fxc.hlsl
index 4158ae8..444f4fb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.dxc.hlsl
index 2ec497d..6b12a60 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.fxc.hlsl
index 2ec497d..6b12a60 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.dxc.hlsl
index 209f017..a5db5aa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.fxc.hlsl
index 209f017..a5db5aa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.dxc.hlsl
index c25d644..5df03441 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.fxc.hlsl
index c25d644..5df03441 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
index 70ecd02..055ae32 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
index 70ecd02..055ae32 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.dxc.hlsl
index dcd7c36..2f039ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.fxc.hlsl
index dcd7c36..2f039ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.dxc.hlsl
index f8b2f92..bec3e2a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.fxc.hlsl
index f8b2f92..bec3e2a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.dxc.hlsl
index 69f201e..82d1a6b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.fxc.hlsl
index 69f201e..82d1a6b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.dxc.hlsl
index 5371ba1..7a04600 100644
--- a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.fxc.hlsl
index 5371ba1..7a04600 100644
--- a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.dxc.hlsl
index 6a86d0d..e0484db 100644
--- a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.fxc.hlsl
index 6a86d0d..e0484db 100644
--- a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.dxc.hlsl
index c952ffb..31124c2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.fxc.hlsl
index c952ffb..31124c2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
index baf28f5..af7c00b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
index baf28f5..af7c00b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
index 051320a..3d4b9f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
index 051320a..3d4b9f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
index 34425c6..125d7ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
index 34425c6..125d7ef 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.dxc.hlsl
index 35ed91a..3688fd2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.fxc.hlsl
index 35ed91a..3688fd2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
index 30da94d..729608b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
index 30da94d..729608b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
index 208d04b..2552681 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
index 208d04b..2552681 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
index 4ce1e23..05097f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
index 4ce1e23..05097f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
index c3e0eb4..73358c3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
index c3e0eb4..73358c3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
index 3b23879..5200e0e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
index 3b23879..5200e0e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.dxc.hlsl
index 743eb0c..b3636d6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.fxc.hlsl
index 743eb0c..b3636d6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
index d2d2018..ca4b3ba 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
index d2d2018..ca4b3ba 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.dxc.hlsl
index 438f918..0f3ccb0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.fxc.hlsl
index 438f918..0f3ccb0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
index db5f681..5cafda3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
index db5f681..5cafda3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.dxc.hlsl
index b1606ba..3ec0ddf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.fxc.hlsl
index b1606ba..3ec0ddf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
index 17f1545..8f0097b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
index 17f1545..8f0097b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.dxc.hlsl
index 00c5354..d8f0ff6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.fxc.hlsl
index 00c5354..d8f0ff6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
index c643db2..a545859 100644
--- a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
index c643db2..a545859 100644
--- a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.dxc.hlsl
index c4cdd79..a0c58e0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.fxc.hlsl
index c4cdd79..a0c58e0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.dxc.hlsl
index 79bb6d6..aaa8812 100644
--- a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.fxc.hlsl
index 79bb6d6..aaa8812 100644
--- a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.dxc.hlsl
index 074a8fe..c05df5b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.fxc.hlsl
index 074a8fe..c05df5b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.dxc.hlsl
index f4cf081..96cb1fd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.fxc.hlsl
index f4cf081..96cb1fd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.dxc.hlsl
index 483d32f..0c70c6e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.fxc.hlsl
index 483d32f..0c70c6e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.dxc.hlsl
index 1eedc46..ff81e64 100644
--- a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.fxc.hlsl
index 1eedc46..ff81e64 100644
--- a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.dxc.hlsl
index 2c5376b..8d7f1fe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.fxc.hlsl
index 2c5376b..8d7f1fe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.dxc.hlsl
index e4f42b1..c80eba5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.fxc.hlsl
index e4f42b1..c80eba5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.dxc.hlsl
index a93143a..628cedd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.fxc.hlsl
index a93143a..628cedd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
index 070aec0..97c0736 100644
--- a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
index 070aec0..97c0736 100644
--- a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.dxc.hlsl
index 82ed508..4826262 100644
--- a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.fxc.hlsl
index 82ed508..4826262 100644
--- a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.dxc.hlsl
index 0841549..44233fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.fxc.hlsl
index 0841549..44233fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.dxc.hlsl
index dd6fb83..597905e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.fxc.hlsl
index dd6fb83..597905e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.dxc.hlsl
index f7c07d6..b73b1da 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.fxc.hlsl
index f7c07d6..b73b1da 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.dxc.hlsl
index 364bad9..d7e14e7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.fxc.hlsl
index 364bad9..d7e14e7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.dxc.hlsl
index 3b8e2b2..10636cd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.fxc.hlsl
index 3b8e2b2..10636cd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.dxc.hlsl
index 26cfb12..b233ced 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.fxc.hlsl
index 26cfb12..b233ced 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.dxc.hlsl
index 5981b77..c42b0ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.fxc.hlsl
index 5981b77..c42b0ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.dxc.hlsl
index c8d339c..6f57653 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.fxc.hlsl
index c8d339c..6f57653 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
index 22d686d..05b1aca 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
index 22d686d..05b1aca 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
index b71f839..20e1f4d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
index b71f839..20e1f4d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
index 58d828e..680ea60 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
index 58d828e..680ea60 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
index e923d3c..44f668e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
index e923d3c..44f668e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
index ebb5167..9c02c1a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
index ebb5167..9c02c1a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
index 355f4c8..bed92ab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
index 355f4c8..bed92ab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.dxc.hlsl
index c2ac6bc..d38b40c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.fxc.hlsl
index c2ac6bc..d38b40c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
index 942e473..e261a55 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
index 942e473..e261a55 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.dxc.hlsl
index 612d012..a247a93 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.fxc.hlsl
index 612d012..a247a93 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
index 6fb709b..762a340 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
index 6fb709b..762a340 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.dxc.hlsl
index 3982b10..32f11be 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.fxc.hlsl
index 3982b10..32f11be 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.dxc.hlsl
index 0c3ea5b..d67d37f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.fxc.hlsl
index 0c3ea5b..d67d37f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.dxc.hlsl
index 3411048..4c151b0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.fxc.hlsl
index 3411048..4c151b0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
index 4a5b847..d3f5679 100644
--- a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
index 4a5b847..d3f5679 100644
--- a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.dxc.hlsl
index 18a095f..86899f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.fxc.hlsl
index 18a095f..86899f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.dxc.hlsl
index 4ce71f1..b5b9e8d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.fxc.hlsl
index 4ce71f1..b5b9e8d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.dxc.hlsl
index 819d275..59badb1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.fxc.hlsl
index 819d275..59badb1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.dxc.hlsl
index 3eee459..72c360a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.fxc.hlsl
index 3eee459..72c360a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.dxc.hlsl
index d83b259..c7c88ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.fxc.hlsl
index d83b259..c7c88ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.dxc.hlsl
index 66c867d..9344fcb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.fxc.hlsl
index 66c867d..9344fcb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
index 0a0990f..90d46bb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
index 0a0990f..90d46bb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
index f8e4e39..42c556c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
index f8e4e39..42c556c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.dxc.hlsl
index ce67822..d7c23ed 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.fxc.hlsl
index ce67822..d7c23ed 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
index 38f57e9..0d08224 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
index 38f57e9..0d08224 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.dxc.hlsl
index ae00c12..b612ec1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.fxc.hlsl
index ae00c12..b612ec1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
index b2e60a0..d7b296a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
index b2e60a0..d7b296a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.dxc.hlsl
index 4d6e957..0cc57b7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.fxc.hlsl
index 4d6e957..0cc57b7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.dxc.hlsl
index 5fa3930..6842f4e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.fxc.hlsl
index 5fa3930..6842f4e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.dxc.hlsl
index 6d9d979..549efab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.fxc.hlsl
index 6d9d979..549efab 100644
--- a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.dxc.hlsl
index c3e20c0..bb6883c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.fxc.hlsl
index c3e20c0..bb6883c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.dxc.hlsl
index 49f94dd..9ad797d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.fxc.hlsl
index 49f94dd..9ad797d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
index 569f198..dd47589 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
index 569f198..dd47589 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.dxc.hlsl
index f138842..be9551b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.fxc.hlsl
index f138842..be9551b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.dxc.hlsl
index e15bdbf..50d0fb1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.fxc.hlsl
index e15bdbf..50d0fb1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.dxc.hlsl
index b9d2490..ef54fb8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.fxc.hlsl
index b9d2490..ef54fb8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.dxc.hlsl
index 28fe73c..dcbb7db 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.fxc.hlsl
index 28fe73c..dcbb7db 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.dxc.hlsl
index 90eac0e..50db429 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.fxc.hlsl
index 90eac0e..50db429 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.dxc.hlsl
index 5e57af3..60f025a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.fxc.hlsl
index 5e57af3..60f025a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.dxc.hlsl
index 731513b..5f9c7f4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.fxc.hlsl
index 731513b..5f9c7f4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.dxc.hlsl
index af27d37..f160b08 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.fxc.hlsl
index af27d37..f160b08 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
index 34b5e7a..1137967 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
index 34b5e7a..1137967 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.dxc.hlsl
index 9b00a13..e061e92 100644
--- a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.fxc.hlsl
index 9b00a13..e061e92 100644
--- a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.dxc.hlsl
index 38a0d9d..9094287 100644
--- a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.fxc.hlsl
index 38a0d9d..9094287 100644
--- a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.dxc.hlsl
index 5d62f99..a1a5d40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.fxc.hlsl
index 5d62f99..a1a5d40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.dxc.hlsl
index b76b71f..375c2c0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.fxc.hlsl
index b76b71f..375c2c0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.dxc.hlsl
index 1cf72f9..a114154 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.fxc.hlsl
index 1cf72f9..a114154 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.dxc.hlsl
index c4eb28d..b6dd7d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.dxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -108,7 +108,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.fxc.hlsl
index c4eb28d..b6dd7d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.fxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -108,7 +108,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
index da41cd1..cf595f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
index da41cd1..cf595f1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
index 4399277..81f5f1f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
index 4399277..81f5f1f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.dxc.hlsl
index d4f06c4..6e416a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.fxc.hlsl
index d4f06c4..6e416a8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
index 9ff7163..bc0346f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
index 9ff7163..bc0346f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
index fe7e164..d0a57dd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
index fe7e164..d0a57dd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
index 71c7b8c..ecc1b29 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
index 71c7b8c..ecc1b29 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.dxc.hlsl
index 37ccf46..d88a40e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.fxc.hlsl
index 37ccf46..d88a40e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
index fffa74c..cb6fcdc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
index fffa74c..cb6fcdc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
index 689e1309..48ed5ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
index 689e1309..48ed5ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.dxc.hlsl
index ba8d3d9..010e75a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.fxc.hlsl
index ba8d3d9..010e75a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.dxc.hlsl
index 67fd5c7..1d49bf3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.fxc.hlsl
index 67fd5c7..1d49bf3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.dxc.hlsl
index 088e643..44e1ca8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.fxc.hlsl
index 088e643..44e1ca8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
index 9b8c47d..459b9af 100644
--- a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
index 9b8c47d..459b9af 100644
--- a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.dxc.hlsl
index d29ec72..e7d341a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.fxc.hlsl
index d29ec72..e7d341a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.dxc.hlsl
index b79e24d..84c398c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.fxc.hlsl
index b79e24d..84c398c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.dxc.hlsl
index 3fb2884..4f75331 100644
--- a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.fxc.hlsl
index 3fb2884..4f75331 100644
--- a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.dxc.hlsl
index e8143c5..b86aa67 100644
--- a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.fxc.hlsl
index e8143c5..b86aa67 100644
--- a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.dxc.hlsl
index f511cba..741139b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.fxc.hlsl
index f511cba..741139b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
index 4907e17..5a51b3f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
index 4907e17..5a51b3f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
index c22670ca..8b86a10 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
index c22670ca..8b86a10 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.dxc.hlsl
index 6795bf6..ed04b15 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.fxc.hlsl
index 6795bf6..ed04b15 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.dxc.hlsl
index b838208..f436465 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.fxc.hlsl
index b838208..f436465 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.dxc.hlsl
index ed096ba..86e6d2c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.fxc.hlsl
index ed096ba..86e6d2c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.dxc.hlsl
index 5c1283b..6bdc2e7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.fxc.hlsl
index 5c1283b..6bdc2e7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
index 6d10935..8420ede 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
index 6d10935..8420ede 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
index e311686..67a84ec 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
index e311686..67a84ec 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
index d47dcdb..74002b6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
index d47dcdb..74002b6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
index 0bab0d9..f90f60f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
index 0bab0d9..f90f60f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
index 1fab947..5f7b522 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
index 1fab947..5f7b522 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
index 748e025..2df28d9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
index 748e025..2df28d9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
index 2463331..c9d9b0f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
index 2463331..c9d9b0f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
index 4a9b62f..d209b5a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
index 4a9b62f..d209b5a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.dxc.hlsl
index 3a82d7f..bd513b4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.fxc.hlsl
index 3a82d7f..bd513b4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.dxc.hlsl
index 4b8ee8c..a9af693 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.fxc.hlsl
index 4b8ee8c..a9af693 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
index 9a9643b..9cf2e26 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
index 9a9643b..9cf2e26 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.dxc.hlsl
index f793c7b..f5e73d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.fxc.hlsl
index f793c7b..f5e73d8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.dxc.hlsl
index da533b2..c473076 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.fxc.hlsl
index da533b2..c473076 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.dxc.hlsl
index 1befed8..c234d73 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.fxc.hlsl
index 1befed8..c234d73 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.dxc.hlsl
index cf1dc51..017b103 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.fxc.hlsl
index cf1dc51..017b103 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.dxc.hlsl
index 9d0a6ea..07fbfbb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.fxc.hlsl
index 9d0a6ea..07fbfbb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
index 8f986cc..dd47434 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
index 8f986cc..dd47434 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
index eb57026..bf9bc72 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
index eb57026..bf9bc72 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
index ff7a711..58d73b9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
index ff7a711..58d73b9 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
index 6d8dd03..7aef925 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
index 6d8dd03..7aef925 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
index 2884575..92a0135 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
index 2884575..92a0135 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.dxc.hlsl
index e21b6bd..c3b1c70 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.fxc.hlsl
index e21b6bd..c3b1c70 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
index 9ffcb3f..a6f10f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
index 9ffcb3f..a6f10f5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
index 07fa72c..05a8ef6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
index 07fa72c..05a8ef6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.dxc.hlsl
index 40e1ac8..6197e87 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.fxc.hlsl
index 40e1ac8..6197e87 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.dxc.hlsl
index bf62eca..a4b45e0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.fxc.hlsl
index bf62eca..a4b45e0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.dxc.hlsl
index b3e5935..f78954b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.fxc.hlsl
index b3e5935..f78954b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
index 1cc69cb..415ccf8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
index 1cc69cb..415ccf8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.dxc.hlsl
index 5abf6b3..0b33901 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.fxc.hlsl
index 5abf6b3..0b33901 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.dxc.hlsl
index 626e20f..7faebf0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.fxc.hlsl
index 626e20f..7faebf0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
index 4f6c0da..4bac003 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
index 4f6c0da..4bac003 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
index c482a88..6cafced 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
index c482a88..6cafced 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
index b08475c..87392bc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
index b08475c..87392bc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
index 797860e..e13f36f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
index 797860e..e13f36f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.dxc.hlsl
index ad2d795..c1e46d2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.fxc.hlsl
index ad2d795..c1e46d2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.dxc.hlsl
index d454799..78b1d40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.fxc.hlsl
index d454799..78b1d40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.dxc.hlsl
index 71f1bbf..e62423d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.fxc.hlsl
index 71f1bbf..e62423d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.dxc.hlsl
index 5c24e79..80bbe31 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.fxc.hlsl
index 5c24e79..80bbe31 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.dxc.hlsl
index 808c0fe..9a8c281 100644
--- a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.fxc.hlsl
index 808c0fe..9a8c281 100644
--- a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
index d42f0f6..a8b9845 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
index d42f0f6..a8b9845 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
index ffbb1f4..8657364 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
index ffbb1f4..8657364 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.dxc.hlsl
index 51ecb94..3a2c4fd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.fxc.hlsl
index 51ecb94..3a2c4fd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.dxc.hlsl
index 165ca28..dbe93f6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.fxc.hlsl
index 165ca28..dbe93f6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.dxc.hlsl
index 9786df1..ab79b20 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.fxc.hlsl
index 9786df1..ab79b20 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.dxc.hlsl
index 5200393..5424466 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.fxc.hlsl
index 5200393..5424466 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
index ff5c26f..dab6626 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
index ff5c26f..dab6626 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
index fe01baf..3bfe0df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
index fe01baf..3bfe0df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.dxc.hlsl
index a5d3761..c5ec6ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.fxc.hlsl
index a5d3761..c5ec6ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.dxc.hlsl
index 841f5b8..23fae35 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.fxc.hlsl
index 841f5b8..23fae35 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
index 0730735..c7378da 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
index 0730735..c7378da 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.dxc.hlsl
index d48cfad..a64feb5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.fxc.hlsl
index d48cfad..a64feb5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
index 1f71969..33ca78d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
index 1f71969..33ca78d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
index 864a466..6705d6c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
index 864a466..6705d6c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
index e90e1ba..dc7315c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
index e90e1ba..dc7315c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
index 2c3eddb..b56daf5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
index 2c3eddb..b56daf5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
index 8cbde25..36efe13 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
index 8cbde25..36efe13 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.dxc.hlsl
index cbde804..68c6594 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.fxc.hlsl
index cbde804..68c6594 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.dxc.hlsl
index e9d58b5..cd3d76e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.fxc.hlsl
index e9d58b5..cd3d76e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
index be2993e..f713fe7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
index be2993e..f713fe7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.dxc.hlsl
index 18cd209..82f5024 100644
--- a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.fxc.hlsl
index 18cd209..82f5024 100644
--- a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.dxc.hlsl
index 2078ceb..39e2bed 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.fxc.hlsl
index 2078ceb..39e2bed 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.dxc.hlsl
index 52c64dc..26ef956 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.fxc.hlsl
index 52c64dc..26ef956 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.dxc.hlsl
index 8c70a09..fe7777c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.fxc.hlsl
index 8c70a09..fe7777c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
index c03ab5a..dc54fe7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
index c03ab5a..dc54fe7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.dxc.hlsl
index 222f58f..3a676f6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.fxc.hlsl
index 222f58f..3a676f6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
index 2956e98..3c2121f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
index 2956e98..3c2121f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.dxc.hlsl
index 69bd3b6..eae0425 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.fxc.hlsl
index 69bd3b6..eae0425 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.dxc.hlsl
index 8790ce1..67e9eda 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.fxc.hlsl
index 8790ce1..67e9eda 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.dxc.hlsl
index 660efa3..ed9ef4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.fxc.hlsl
index 660efa3..ed9ef4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.dxc.hlsl
index 68b1dea..735313e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.fxc.hlsl
index 68b1dea..735313e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.dxc.hlsl
index a51ac9e..37e7a0c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.fxc.hlsl
index a51ac9e..37e7a0c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.dxc.hlsl
index ff0457b..a9c4bcc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.fxc.hlsl
index ff0457b..a9c4bcc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
index a8dcb43..b0dec0a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
index a8dcb43..b0dec0a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.dxc.hlsl
index 9759c3b..22b2bdb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.fxc.hlsl
index 9759c3b..22b2bdb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
index 160e721..1d001bd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
index 160e721..1d001bd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.dxc.hlsl
index 96482b9..5eb6523 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.fxc.hlsl
index 96482b9..5eb6523 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.dxc.hlsl
index 356624cc..ff0384b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.fxc.hlsl
index 356624cc..ff0384b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
index 900e52a..8ab56bb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
index 900e52a..8ab56bb 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.dxc.hlsl
index c6acf7e..011e58f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.fxc.hlsl
index c6acf7e..011e58f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
index 4510e4e..025c7a1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
index 4510e4e..025c7a1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.dxc.hlsl
index 1a18855..5c808fe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.fxc.hlsl
index 1a18855..5c808fe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.dxc.hlsl
index d76e67f..179667e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.fxc.hlsl
index d76e67f..179667e 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
index 9f4cfdd..f4e5b5d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
index 9f4cfdd..f4e5b5d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
index 6f3abee..7646a85 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
index 6f3abee..7646a85 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.dxc.hlsl
index 917955c..e4434dc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.fxc.hlsl
index 917955c..e4434dc 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
index 12522b1..622d24f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
index 12522b1..622d24f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.dxc.hlsl
index 14df3e5..403a4f4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.fxc.hlsl
index 14df3e5..403a4f4 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.dxc.hlsl
index 25199d1..5575a17 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.fxc.hlsl
index 25199d1..5575a17 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
index 1d2d1a4..4254906 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
index 1d2d1a4..4254906 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
index 1133b04..f4ed6f8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
index 1133b04..f4ed6f8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
index e7fa3cb..75c768d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
index e7fa3cb..75c768d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
index d9b7202..f06f663 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
index d9b7202..f06f663 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.dxc.hlsl
index a8a5f50..9e6a6ca 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.fxc.hlsl
index a8a5f50..9e6a6ca 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
index 20306c7..8d56ee1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
index 20306c7..8d56ee1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.dxc.hlsl
index 97c7a29..0dabba5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.fxc.hlsl
index 97c7a29..0dabba5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.dxc.hlsl
index 9c98b61..bb2b8ff 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.fxc.hlsl
index 9c98b61..bb2b8ff 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.dxc.hlsl
index 5c04b58..e7cc3df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.fxc.hlsl
index 5c04b58..e7cc3df 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.dxc.hlsl
index c9089d0..5632308 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.fxc.hlsl
index c9089d0..5632308 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.dxc.hlsl
index 10d37bc..6efbda3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.fxc.hlsl
index 10d37bc..6efbda3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
index 5f91efb..bb188b5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
index 5f91efb..bb188b5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.dxc.hlsl
index ce33369..717c6fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.fxc.hlsl
index ce33369..717c6fa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.dxc.hlsl
index 11fd3ad..5b7411d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.fxc.hlsl
index 11fd3ad..5b7411d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
index 9d61a55..bf62cce 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
index 9d61a55..bf62cce 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.dxc.hlsl
index a2f8ce0..d4ea74a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.fxc.hlsl
index a2f8ce0..d4ea74a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.dxc.hlsl
index 1d6fde5..ddfc360 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.fxc.hlsl
index 1d6fde5..ddfc360 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
index a53229e..ef5f209 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
index a53229e..ef5f209 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
index 6709451..9b0185c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
index 6709451..9b0185c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.dxc.hlsl
index e3380a6..fb244d7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.fxc.hlsl
index e3380a6..fb244d7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.dxc.hlsl
index 27aca20..e2f64e8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.fxc.hlsl
index 27aca20..e2f64e8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.dxc.hlsl
index 3870ef4..efa725c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.fxc.hlsl
index 3870ef4..efa725c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
index 5b8014d..1f99b00 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
index 5b8014d..1f99b00 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.dxc.hlsl
index 3bb0bab..ac740be 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.fxc.hlsl
index 3bb0bab..ac740be 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.dxc.hlsl
index d86d01a..84c193a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.fxc.hlsl
index d86d01a..84c193a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.dxc.hlsl
index ce48956..631dfbe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.fxc.hlsl
index ce48956..631dfbe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.dxc.hlsl
index d730179..d396b65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.fxc.hlsl
index d730179..d396b65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.dxc.hlsl
index 4226407..f8e6489 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.fxc.hlsl
index 4226407..f8e6489 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
index 0532087..141b624 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
index 0532087..141b624 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
index 51375f1..7804071 100644
--- a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
index 51375f1..7804071 100644
--- a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
index bc8b33b..8c26f1a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
index bc8b33b..8c26f1a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.dxc.hlsl
index 3250475..febfd4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.fxc.hlsl
index 3250475..febfd4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
index 56a5ad0..69d8f9c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
index 56a5ad0..69d8f9c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
index b2369df..ddaabae 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
index b2369df..ddaabae 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.dxc.hlsl
index 8714fb7..bead08f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.fxc.hlsl
index 8714fb7..bead08f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
index 1e6c215..7f23300 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
index 1e6c215..7f23300 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
index 3373993..cb48286 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
index 3373993..cb48286 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.dxc.hlsl
index 5770d52..4ac6c66 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.fxc.hlsl
index 5770d52..4ac6c66 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.dxc.hlsl
index cdfc09d..7981334 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.fxc.hlsl
index cdfc09d..7981334 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
index 4b9d917..41effad 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
index 4b9d917..41effad 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
index ce5663a..249497f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
index ce5663a..249497f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.dxc.hlsl
index 0187c80..7808c98 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.fxc.hlsl
index 0187c80..7808c98 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
index 6bf9c26..0cb5c4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
index 6bf9c26..0cb5c4f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.dxc.hlsl
index de2f62e..13eeb40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.fxc.hlsl
index de2f62e..13eeb40 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.dxc.hlsl
index f39e0b1..6004b54 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.fxc.hlsl
index f39e0b1..6004b54 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
index 9e61230..d8ee272 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
index 9e61230..d8ee272 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
index c7a35e5..88fb1f7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
index c7a35e5..88fb1f7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
index d8e9472..8ec11a5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
index d8e9472..8ec11a5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.dxc.hlsl
index 17a1022..aac9ec3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.fxc.hlsl
index 17a1022..aac9ec3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
index b4eed4d..7e44028 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
index b4eed4d..7e44028 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.dxc.hlsl
index 3725e1a..a5cfe7f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.fxc.hlsl
index 3725e1a..a5cfe7f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
index e7c57c7..76fdad6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
index e7c57c7..76fdad6 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
index 269bbd0..0faaebf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
index 269bbd0..0faaebf 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
index 37e3c27..b07cbf3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
index 37e3c27..b07cbf3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
index 212b5e5..f3d618a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
index 212b5e5..f3d618a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.dxc.hlsl
index e3f980d..2918cd7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.fxc.hlsl
index e3f980d..2918cd7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.dxc.hlsl
index cf17acb..e9ec82c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.fxc.hlsl
index cf17acb..e9ec82c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.dxc.hlsl
index 9ebb041..cf9c82c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.fxc.hlsl
index 9ebb041..cf9c82c 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.dxc.hlsl
index e40183e..d677b9a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.fxc.hlsl
index e40183e..d677b9a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.dxc.hlsl
index 2e8dcdc..59819d0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.fxc.hlsl
index 2e8dcdc..59819d0 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.dxc.hlsl
index d2bf890..973eef5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.fxc.hlsl
index d2bf890..973eef5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
index c0cb0ba..92a1926 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
index c0cb0ba..92a1926 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.dxc.hlsl
index d0383a1..5824cfe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.fxc.hlsl
index d0383a1..5824cfe 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.dxc.hlsl
index 80797a6..45f2299 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.fxc.hlsl
index 80797a6..45f2299 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
index e1455fb..b6696c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
index e1455fb..b6696c8 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.dxc.hlsl
index e52dbbe..8601dea 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.fxc.hlsl
index e52dbbe..8601dea 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
index 3d7bbe6..0e18dfd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
index 3d7bbe6..0e18dfd 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
index 2f2852f..ad83bf7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
index 2f2852f..ad83bf7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
index 91e637c..a23218f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
index 91e637c..a23218f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
index fabed75..eeb4987 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
index fabed75..eeb4987 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.dxc.hlsl
index 46f4c03..47f6689 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.fxc.hlsl
index 46f4c03..47f6689 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.dxc.hlsl
index e87873469c..8e1fead 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.fxc.hlsl
index e87873469c..8e1fead 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
index 4e75ae7..22eb387 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
index 4e75ae7..22eb387 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.dxc.hlsl
index 64e77a6..144bd5a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.fxc.hlsl
index 64e77a6..144bd5a 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
index 0eafd02..096e65d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
index 0eafd02..096e65d 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
index ddbf572..878edaa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
index ddbf572..878edaa 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
index 410342b..96beb76 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
index 410342b..96beb76 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
index b9c2615..1b0d6d2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
index b9c2615..1b0d6d2 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
index 8a090a8..b01ab41 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
index 8a090a8..b01ab41 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
index fdc9889..0433ad7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
index fdc9889..0433ad7 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.dxc.hlsl
index 6a5703d..03c23f3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.fxc.hlsl
index 6a5703d..03c23f3 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.dxc.hlsl
index 7309ff0..7ec6814 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.fxc.hlsl
index 7309ff0..7ec6814 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
index 481cec9..53405ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
index 481cec9..53405ee 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.dxc.hlsl
index 43b9765..2ee36d1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.fxc.hlsl
index 43b9765..2ee36d1 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.dxc.hlsl
index 68a7189..ce60a5f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.fxc.hlsl
index 68a7189..ce60a5f 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
index eb03961..70d748b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
index eb03961..70d748b 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.dxc.hlsl
index 6d688a7..7254f22 100644
--- a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.fxc.hlsl
index 6d688a7..7254f22 100644
--- a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.dxc.hlsl
index bab5389..e3d3bd5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.fxc.hlsl
index bab5389..e3d3bd5 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
index 870ebf7..0a8b261 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
index 870ebf7..0a8b261 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
index abb0f8a..f60211b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
index abb0f8a..f60211b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
index a6ac830..1f225f4 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
index a6ac830..1f225f4 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
index fe1ec91..0e35d25 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
index fe1ec91..0e35d25 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
index 7c1e510..07d6b18 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
index 7c1e510..07d6b18 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
index 31b68b2..42a2d2a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
index 31b68b2..42a2d2a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
index 6d4a1ac..4016b43 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
index 6d4a1ac..4016b43 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
index c47ae0d..8dfd1bf 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
index c47ae0d..8dfd1bf 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
index 038078c..cc769f4 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
index 038078c..cc769f4 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
index 8ddfb66..2a5e326 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
index 8ddfb66..2a5e326 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
index ec8d5c0..f7f817a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
index ec8d5c0..f7f817a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
index ee147ab..802a431 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
index ee147ab..802a431 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
index 685e2c2..6ffe3c9 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
index 685e2c2..6ffe3c9 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
index 829eabb..f84e2df 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
index 829eabb..f84e2df 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
index 7942bb6..12fc07f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
index 7942bb6..12fc07f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
index e8d1355..6cf5b41 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
index e8d1355..6cf5b41 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
index 2d2a160..6d85b91 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
index 2d2a160..6d85b91 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
index e27aaed..11432c0 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
index e27aaed..11432c0 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
index e369901..b8f287a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
index e369901..b8f287a 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
index 45923b3..535d79f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
index 45923b3..535d79f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
index 510d7d8..355c89c 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
index 510d7d8..355c89c 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.dxc.hlsl
index 50dcf17..2fb1225 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.fxc.hlsl
index 50dcf17..2fb1225 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
index 4edb79c..0c08557 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
index 4edb79c..0c08557 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
index f95ad80..95b0740 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
index f95ad80..95b0740 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
index 2e738f2..ab71be1 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
index 2e738f2..ab71be1 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.dxc.hlsl
index 6707ac3..0dc41e8 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.fxc.hlsl
index 6707ac3..0dc41e8 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
index ce39fe9..f50e7df 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
index ce39fe9..f50e7df 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
index 0edd4bb..1adcd33 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
index 0edd4bb..1adcd33 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
index a6f92f7..d132807 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
index a6f92f7..d132807 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
index e96c3ac..638aa41 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
index e96c3ac..638aa41 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
index 26a69c8..52805ad 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
index 26a69c8..52805ad 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
index 9b544a2..51cf9f3 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
index 9b544a2..51cf9f3 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
index 2a8c94e..73fe86b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
index 2a8c94e..73fe86b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
index 485ec43..264bb84 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
index 485ec43..264bb84 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
index 79b115d..434fd05 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
index 79b115d..434fd05 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
index bc3bd68..a7d389b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
index bc3bd68..a7d389b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
index 874cb79..e2bdfbc 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
index 874cb79..e2bdfbc 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
index 9f2e891..411bf58 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
index 9f2e891..411bf58 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
index 2ee0e49..216109c 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
index 2ee0e49..216109c 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
index a0c230c..ad5a1bc 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
index a0c230c..ad5a1bc 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
index c91257f..b524b83 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
index c91257f..b524b83 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
index c9a293f..ff34d04 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
index c9a293f..ff34d04 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
index 3fb1f60..1290995 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
index 3fb1f60..1290995 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
index 637cef3..e9becee 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
index 637cef3..e9becee 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
index 66c6f4b..f50cbf7 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
index 66c6f4b..f50cbf7 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
index 456d4cc..c1a85b2 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
index 456d4cc..c1a85b2 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
index 17a9aca..e7fbfa0 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
index 17a9aca..e7fbfa0 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
index 76a17e3..07edaaa 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
index 76a17e3..07edaaa 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
index 9182309..a274673 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
index 9182309..a274673 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
index db3a3bb..70aa422 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
index db3a3bb..70aa422 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
index 593320f..8ca77ec 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
index 593320f..8ca77ec 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
index 663e444..78d4cf6 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
index 663e444..78d4cf6 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
index db69c6b..f8dbf61 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
index db69c6b..f8dbf61 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
index 4df96f9..a9c5f10 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
index 4df96f9..a9c5f10 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
index 23dcd64..7725950 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
index 23dcd64..7725950 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
index 123d33c..de2697f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
index 123d33c..de2697f 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
index 43067c5..16077e6 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
index 43067c5..16077e6 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
index 643a54b..7793c5b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
index 643a54b..7793c5b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
index 1227a33..821d00e 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
index 1227a33..821d00e 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.dxc.hlsl
index 76c2e69..a8e6725 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.fxc.hlsl
index 76c2e69..a8e6725 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
index bfc49d0..98da9cf 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
index bfc49d0..98da9cf 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
index 0d2da36..499625b 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
index 0d2da36..499625b 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
index 3580cb6..18f7f58 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
index 3580cb6..18f7f58 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
index e8f01d2..5b35dcb 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
index e8f01d2..5b35dcb 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
index b6fc9a7..7daae9c 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
index b6fc9a7..7daae9c 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
index 5591016..aee4373 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
index 5591016..aee4373 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
index af0c23e..3ac96bf 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
index af0c23e..3ac96bf 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
index bd71aaa..39aafac 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
index bd71aaa..39aafac 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.dxc.hlsl
index b1357f0..d85d70f 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.fxc.hlsl
index b1357f0..d85d70f 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
index d18ba6d..f530c14 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
index d18ba6d..f530c14 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
index 097b595..30d635f 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
index 097b595..30d635f 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
index 09236e9..5259c67 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
index 09236e9..5259c67 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
index 15fee50..870d9dc 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
index 15fee50..870d9dc 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
index bc83071..1a80e2e 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
index bc83071..1a80e2e 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
index 8e2b4bd..5181b93 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
index 8e2b4bd..5181b93 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
index cd5c738..2c84445 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
index cd5c738..2c84445 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
index d6491e2..8ae9e26 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
index d6491e2..8ae9e26 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
index 08e07f2..d59e8d9 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
index 08e07f2..d59e8d9 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
index c6ef272..2ce4461 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
index c6ef272..2ce4461 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
index a6428d6..0f76a24 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
index a6428d6..0f76a24 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
index af8ca21..ea69949 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
index af8ca21..ea69949 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
index c19bab7..b3a4527 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
index c19bab7..b3a4527 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
index 26d9873..b3a862f 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
index 26d9873..b3a862f 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
index e0f4514..6b62da7 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
index e0f4514..6b62da7 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
index 21e1d50..74b3110 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
index 21e1d50..74b3110 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
index bbd35b2..1e5ef98 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
@@ -26,24 +26,24 @@
 SamplerState arg_1 : register(s1, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureSampleExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, SamplerState smp, float2 coord, ExternalTextureParams params) {
-  const float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
+  float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
   uint3 tint_tmp;
   plane0.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 plane0_dims = float2(tint_tmp.xy);
-  const float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
-  const float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
+  float2 plane0_dims = float2(tint_tmp.xy);
+  float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
+  float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
   uint3 tint_tmp_1;
   plane1.GetDimensions(0, tint_tmp_1.x, tint_tmp_1.y, tint_tmp_1.z);
-  const float2 plane1_dims = float2(tint_tmp_1.xy);
-  const float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
-  const float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
+  float2 plane1_dims = float2(tint_tmp_1.xy);
+  float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
+  float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.SampleLevel(smp, plane0_clamped, 0.0f).rgba;
@@ -74,7 +74,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -119,7 +119,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
index bbd35b2..1e5ef98 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
@@ -26,24 +26,24 @@
 SamplerState arg_1 : register(s1, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureSampleExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, SamplerState smp, float2 coord, ExternalTextureParams params) {
-  const float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
+  float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
   uint3 tint_tmp;
   plane0.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 plane0_dims = float2(tint_tmp.xy);
-  const float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
-  const float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
+  float2 plane0_dims = float2(tint_tmp.xy);
+  float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
+  float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
   uint3 tint_tmp_1;
   plane1.GetDimensions(0, tint_tmp_1.x, tint_tmp_1.y, tint_tmp_1.z);
-  const float2 plane1_dims = float2(tint_tmp_1.xy);
-  const float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
-  const float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
+  float2 plane1_dims = float2(tint_tmp_1.xy);
+  float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
+  float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.SampleLevel(smp, plane0_clamped, 0.0f).rgba;
@@ -74,7 +74,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -119,7 +119,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
index 2936d36..5723dee 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 float4 tint_textureSampleBaseClampToEdge(Texture2D<float4> t, SamplerState s, float2 coord) {
   uint3 tint_tmp;
   t.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 dims = float2(tint_tmp.xy);
-  const float2 half_texel = ((0.5f).xx / dims);
-  const float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
+  float2 dims = float2(tint_tmp.xy);
+  float2 half_texel = ((0.5f).xx / dims);
+  float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
   return t.SampleLevel(s, clamped, 0.0f);
 }
 
@@ -26,7 +26,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
index 2936d36..5723dee 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 float4 tint_textureSampleBaseClampToEdge(Texture2D<float4> t, SamplerState s, float2 coord) {
   uint3 tint_tmp;
   t.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 dims = float2(tint_tmp.xy);
-  const float2 half_texel = ((0.5f).xx / dims);
-  const float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
+  float2 dims = float2(tint_tmp.xy);
+  float2 half_texel = ((0.5f).xx / dims);
+  float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
   return t.SampleLevel(s, clamped, 0.0f);
 }
 
@@ -26,7 +26,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
index 7572e3c..e5bcc94 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
index 7572e3c..e5bcc94 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
index bcc84ce..bb23828 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
index bcc84ce..bb23828 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
index 37b0e6f..666f875 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
index 37b0e6f..666f875 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
index bf9d05e..b0b3aca 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
index bf9d05e..b0b3aca 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
index 7d517c5..d621480 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
index 7d517c5..d621480 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
index ad198e1..e394cf0 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
index ad198e1..e394cf0 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
index fdce4ee..192fb95 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
index fdce4ee..192fb95 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
index 06e919f..ee47076 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
index 06e919f..ee47076 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
index 63950dc..6579b20 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
index 63950dc..6579b20 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
index 16a855a..1ce0814 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
index 16a855a..1ce0814 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
index 7ef3878..e29c009 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
index 7ef3878..e29c009 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
index fa19a08..4271ab0 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
index fa19a08..4271ab0 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
index 30445d7..24f757d 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
index 30445d7..24f757d 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
index 8cd68b2..b1fc0ab 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
index 8cd68b2..b1fc0ab 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
index 999fd25..6eabdb7 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
index 999fd25..6eabdb7 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
index 1c73de4..fa189fd 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
index 1c73de4..fa189fd 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
index 919caf8..e8fb189 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
index 919caf8..e8fb189 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
index f344306..81b20db 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
index f344306..81b20db 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
index 5fb51d9..7bff7c4 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
index 5fb51d9..7bff7c4 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
index c886b41..72483af 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
index c886b41..72483af 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
index 477ff89..552c63a 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
index 477ff89..552c63a 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
index 33a3e00..7415056 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
index 33a3e00..7415056 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
index 53e4c25..6e0cb74 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
index 53e4c25..6e0cb74 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
index ca3379c..ff0b8f1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
index ca3379c..ff0b8f1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
index 6a07457..85dc2d9 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
index 6a07457..85dc2d9 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
index 7a5abc1..f8f622f 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
index 7a5abc1..f8f622f 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
index 7cba36f..07a2b07 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
index 7cba36f..07a2b07 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
index 0219212..486e7f5 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
index 0219212..486e7f5 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
index 05f24c3..33a1a61 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
index 05f24c3..33a1a61 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
index aada648..9dcd4b5 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
index aada648..9dcd4b5 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
index a3521db..869d277 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
index a3521db..869d277 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
index 351cb93..97d9802 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
index 351cb93..97d9802 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
index 5aa3d7d..500b387 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
index 5aa3d7d..500b387 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
index 863b9d5..aab1fb3 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
index 863b9d5..aab1fb3 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
index e0b9821..059e8ab 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
index e0b9821..059e8ab 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
index 3cafc0a..3069316 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
index 3cafc0a..3069316 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
index 156fb2e..4a374af 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
index 156fb2e..4a374af 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
index b39ead0..9b27d43 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
index b39ead0..9b27d43 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
index 247f8e9..efd8c1d 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
index 247f8e9..efd8c1d 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
index 8439331..d74a843 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
index 8439331..d74a843 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
index 8286f0b..59d67ee 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
index 8286f0b..59d67ee 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
index ddaa3ee..638c7d2 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
index ddaa3ee..638c7d2 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
index 7421a08..9782e43 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
index 7421a08..9782e43 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
index 9dcba7b..6261e3c 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
index 9dcba7b..6261e3c 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
index e029347..2b32a13 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
index e029347..2b32a13 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
index 458d696..913fdb1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
index 458d696..913fdb1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
index cec1b4a..c1c8a00 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
index cec1b4a..c1c8a00 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
index 70d2b16..40c63a1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
index 70d2b16..40c63a1 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
index 1f5fc54..9fd8d3b 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
index 1f5fc54..9fd8d3b 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.dxc.hlsl
index 8e8c418..dc8009a 100644
--- a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.fxc.hlsl
index 8e8c418..dc8009a 100644
--- a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.dxc.hlsl
index 6c96325..17e2744 100644
--- a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.fxc.hlsl
index 6c96325..17e2744 100644
--- a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.dxc.hlsl
index 644ba45..14f8433 100644
--- a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.fxc.hlsl
index 644ba45..14f8433 100644
--- a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.dxc.hlsl
index 0f4e224..d7e8741 100644
--- a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.fxc.hlsl
index 0f4e224..d7e8741 100644
--- a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.dxc.hlsl
index f0977d2..f8067e1 100644
--- a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.fxc.hlsl
index f0977d2..f8067e1 100644
--- a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.dxc.hlsl
index f7461cd..f2a30b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.fxc.hlsl
index f7461cd..f2a30b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.dxc.hlsl
index ebdf9ce..d439e2e 100644
--- a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.fxc.hlsl
index ebdf9ce..d439e2e 100644
--- a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.dxc.hlsl
index 1fc1ef8..fc95d11 100644
--- a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.fxc.hlsl
index 1fc1ef8..fc95d11 100644
--- a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.dxc.hlsl
index bda2006..0d4e700 100644
--- a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.fxc.hlsl
index bda2006..0d4e700 100644
--- a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.dxc.hlsl
index 4c98b68..385b96b 100644
--- a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.fxc.hlsl
index 4c98b68..385b96b 100644
--- a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.dxc.hlsl
index c10c9cb..8a44d9c 100644
--- a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.fxc.hlsl
index c10c9cb..8a44d9c 100644
--- a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.dxc.hlsl
index ad485a7..491a567 100644
--- a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.fxc.hlsl
index ad485a7..491a567 100644
--- a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.dxc.hlsl
index a41e5c4..93cdf8c 100644
--- a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.fxc.hlsl
index a41e5c4..93cdf8c 100644
--- a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.dxc.hlsl
index b18473d..3a0ecba 100644
--- a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.fxc.hlsl
index b18473d..3a0ecba 100644
--- a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.dxc.hlsl
index 9cb3c26..dc3a8db 100644
--- a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.fxc.hlsl
index 9cb3c26..dc3a8db 100644
--- a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.dxc.hlsl
index c657d93..69c958e 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.fxc.hlsl
index c657d93..69c958e 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.dxc.hlsl
index ff91112..df81f9a 100644
--- a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.fxc.hlsl
index ff91112..df81f9a 100644
--- a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.dxc.hlsl
index ef167e5..0a0db5a 100644
--- a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.fxc.hlsl
index ef167e5..0a0db5a 100644
--- a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.dxc.hlsl
index 23f82c1..8aea713 100644
--- a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.fxc.hlsl
index 23f82c1..8aea713 100644
--- a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.dxc.hlsl
index ab99ff9..e60e836 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.fxc.hlsl
index ab99ff9..e60e836 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.dxc.hlsl
index 1e0b244..dd40df2 100644
--- a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.fxc.hlsl
index 1e0b244..dd40df2 100644
--- a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.dxc.hlsl
index e3a48f2..6905a0d 100644
--- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.fxc.hlsl
index e3a48f2..6905a0d 100644
--- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.dxc.hlsl
index 581bbd8..98bfed7 100644
--- a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.fxc.hlsl
index 581bbd8..98bfed7 100644
--- a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.dxc.hlsl
index 4a8c1e8..e6430d9 100644
--- a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.fxc.hlsl
index 4a8c1e8..e6430d9 100644
--- a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.dxc.hlsl
index 395ffb4..905fde4 100644
--- a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.fxc.hlsl
index 395ffb4..905fde4 100644
--- a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.dxc.hlsl
index 198f00e..9f84e46 100644
--- a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.fxc.hlsl
index 198f00e..9f84e46 100644
--- a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.dxc.hlsl
index 5a5f6ab..210e8f2 100644
--- a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.fxc.hlsl
index 5a5f6ab..210e8f2 100644
--- a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.dxc.hlsl
index a152fe2..12cf0e8 100644
--- a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.fxc.hlsl
index a152fe2..12cf0e8 100644
--- a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
index 729c393..dbca815 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
index 729c393..dbca815 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.dxc.hlsl
index 842544a..564aef6 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.fxc.hlsl
index 842544a..564aef6 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.dxc.hlsl
index c3d76d4..5359c9a 100644
--- a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.fxc.hlsl
index c3d76d4..5359c9a 100644
--- a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.dxc.hlsl
index bceaccf..f4ab761 100644
--- a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.fxc.hlsl
index bceaccf..f4ab761 100644
--- a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.dxc.hlsl
index 6add803..5c4017d 100644
--- a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.fxc.hlsl
index 6add803..5c4017d 100644
--- a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.dxc.hlsl
index bc9dfae..a07d093 100644
--- a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.fxc.hlsl
index bc9dfae..a07d093 100644
--- a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.dxc.hlsl
index 37c57c2..f8bf460 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.fxc.hlsl
index 37c57c2..f8bf460 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
index b938844..bbe33ee 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
index b938844..bbe33ee 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.dxc.hlsl
index f04775c..720b537 100644
--- a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.fxc.hlsl
index f04775c..720b537 100644
--- a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
index 7dc2888..82b3232 100644
--- a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
index 7dc2888..82b3232 100644
--- a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.dxc.hlsl
index 5ff0374..728e02e 100644
--- a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.fxc.hlsl
index 5ff0374..728e02e 100644
--- a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.dxc.hlsl
index ba45c66..058a724 100644
--- a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.fxc.hlsl
index ba45c66..058a724 100644
--- a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.dxc.hlsl
index 8b06dea..8177657 100644
--- a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.fxc.hlsl
index 8b06dea..8177657 100644
--- a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.dxc.hlsl
index cc14eea..d77fbec 100644
--- a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.fxc.hlsl
index cc14eea..d77fbec 100644
--- a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.dxc.hlsl
index 7148014..a8c26ed 100644
--- a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.fxc.hlsl
index 7148014..a8c26ed 100644
--- a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.dxc.hlsl
index ea7f63e..3cce08e 100644
--- a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.fxc.hlsl
index ea7f63e..3cce08e 100644
--- a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.dxc.hlsl
index ba95459d..1d5ff14 100644
--- a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.fxc.hlsl
index ba95459d..1d5ff14 100644
--- a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.dxc.hlsl
index c0afbef..4f15cae 100644
--- a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.fxc.hlsl
index c0afbef..4f15cae 100644
--- a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.dxc.hlsl
index c07e9c5..5c17c7d 100644
--- a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.fxc.hlsl
index c07e9c5..5c17c7d 100644
--- a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.dxc.hlsl
index 562ddf8..92309d6 100644
--- a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.fxc.hlsl
index 562ddf8..92309d6 100644
--- a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.dxc.hlsl
index 99c6d57..10b6bd1 100644
--- a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.fxc.hlsl
index 99c6d57..10b6bd1 100644
--- a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.dxc.hlsl
index 64e3e9f..6228f38 100644
--- a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.fxc.hlsl
index 64e3e9f..6228f38 100644
--- a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.dxc.hlsl
index dca2de1..b4d7c10 100644
--- a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.fxc.hlsl
index dca2de1..b4d7c10 100644
--- a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.dxc.hlsl
index d06be2b..65b7a84 100644
--- a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.fxc.hlsl
index d06be2b..65b7a84 100644
--- a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.dxc.hlsl
index 476f0f9..c5fd0c3 100644
--- a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.fxc.hlsl
index 476f0f9..c5fd0c3 100644
--- a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.dxc.hlsl
index d6086d6..c423cb7 100644
--- a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.fxc.hlsl
index d6086d6..c423cb7 100644
--- a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.dxc.hlsl
index 4e2bef5..aef86ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.fxc.hlsl
index 4e2bef5..aef86ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
index c09574d..582b06d 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
index c09574d..582b06d 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.dxc.hlsl
index 823f8fb..28adc73 100644
--- a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.fxc.hlsl
index 823f8fb..28adc73 100644
--- a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.dxc.hlsl
index f2163e7..180a149 100644
--- a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.fxc.hlsl
index f2163e7..180a149 100644
--- a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.dxc.hlsl
index 0920cc2..c5a3711 100644
--- a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.fxc.hlsl
index 0920cc2..c5a3711 100644
--- a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.dxc.hlsl
index c7dd553..4140b2f 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.fxc.hlsl
index c7dd553..4140b2f 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.dxc.hlsl
index 50a80ef..1ed70e2 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.fxc.hlsl
index 50a80ef..1ed70e2 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
index 5fece95..139844a 100644
--- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
index 5fece95..139844a 100644
--- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
index 2e462a4..62d9659 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
index 2e462a4..62d9659 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.dxc.hlsl
index 62491b0..875c145 100644
--- a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.fxc.hlsl
index 62491b0..875c145 100644
--- a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.dxc.hlsl
index 2c4e933..7d7a48a 100644
--- a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.fxc.hlsl
index 2c4e933..7d7a48a 100644
--- a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.dxc.hlsl
index c2dd0da..8859064 100644
--- a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.fxc.hlsl
index c2dd0da..8859064 100644
--- a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.dxc.hlsl
index 6a2450f..8e70441 100644
--- a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.fxc.hlsl
index 6a2450f..8e70441 100644
--- a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.dxc.hlsl
index af6b7c2..c34c669 100644
--- a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.fxc.hlsl
index af6b7c2..c34c669 100644
--- a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.dxc.hlsl
index 4167e75..a2e3925 100644
--- a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.fxc.hlsl
index 4167e75..a2e3925 100644
--- a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.dxc.hlsl
index 2281122..34d930b 100644
--- a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.fxc.hlsl
index 2281122..34d930b 100644
--- a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.dxc.hlsl
index 879a714..36a219c 100644
--- a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.fxc.hlsl
index 879a714..36a219c 100644
--- a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.dxc.hlsl
index 34cf3f8..84951a9 100644
--- a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.fxc.hlsl
index 34cf3f8..84951a9 100644
--- a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.dxc.hlsl
index 263c8a6..9ce11e1 100644
--- a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.fxc.hlsl
index 263c8a6..9ce11e1 100644
--- a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.dxc.hlsl
index 08d323b..ef00d5b 100644
--- a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.fxc.hlsl
index 08d323b..ef00d5b 100644
--- a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.dxc.hlsl
index c9989db..18f4d64 100644
--- a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.fxc.hlsl
index c9989db..18f4d64 100644
--- a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.dxc.hlsl
index 5694464..e9cfc51 100644
--- a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.fxc.hlsl
index 5694464..e9cfc51 100644
--- a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.dxc.hlsl
index 77ffb74..de50445 100644
--- a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.fxc.hlsl
index 77ffb74..de50445 100644
--- a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.dxc.hlsl
index 90738ec..5ea974a 100644
--- a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.fxc.hlsl
index 90738ec..5ea974a 100644
--- a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
index b8ad4cf..03f4919 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
index b8ad4cf..03f4919 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.dxc.hlsl
index 1ee37ac..a344c3b 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.fxc.hlsl
index 1ee37ac..a344c3b 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.dxc.hlsl
index 7de0dd0..483ab59 100644
--- a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.fxc.hlsl
index 7de0dd0..483ab59 100644
--- a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
index c615c5c..46c83f0 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
index c615c5c..46c83f0 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.dxc.hlsl
index ed58795..25efb14 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.fxc.hlsl
index ed58795..25efb14 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.dxc.hlsl
index 01bc41c..02a3509 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.fxc.hlsl
index 01bc41c..02a3509 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
index 8b8a325..3f34387 100644
--- a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
index 8b8a325..3f34387 100644
--- a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.dxc.hlsl
index ea154a0..5dc9ecc 100644
--- a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.fxc.hlsl
index ea154a0..5dc9ecc 100644
--- a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.dxc.hlsl
index 825c1da..9003187 100644
--- a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.fxc.hlsl
index 825c1da..9003187 100644
--- a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.dxc.hlsl
index 181450b..0c14c29 100644
--- a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.fxc.hlsl
index 181450b..0c14c29 100644
--- a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.dxc.hlsl
index baac045..4bfd15f 100644
--- a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.fxc.hlsl
index baac045..4bfd15f 100644
--- a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.dxc.hlsl
index 7b1c181..7ef072b 100644
--- a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.fxc.hlsl
index 7b1c181..7ef072b 100644
--- a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.dxc.hlsl
index 487e37a..264c59f 100644
--- a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.fxc.hlsl
index 487e37a..264c59f 100644
--- a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.dxc.hlsl
index 8bba5cd..33a8106 100644
--- a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.fxc.hlsl
index 8bba5cd..33a8106 100644
--- a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.dxc.hlsl
index a2feb56..5053e85 100644
--- a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.fxc.hlsl
index a2feb56..5053e85 100644
--- a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.dxc.hlsl
index c2c0090..2e8295e 100644
--- a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.fxc.hlsl
index c2c0090..2e8295e 100644
--- a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.dxc.hlsl
index 0851a00..b264d23 100644
--- a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.fxc.hlsl
index 0851a00..b264d23 100644
--- a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.dxc.hlsl
index 78e51c3..9468fa1 100644
--- a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.fxc.hlsl
index 78e51c3..9468fa1 100644
--- a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.dxc.hlsl
index 6907fa7..59d5feb 100644
--- a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.fxc.hlsl
index 6907fa7..59d5feb 100644
--- a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.dxc.hlsl
index c163771..c814ba4 100644
--- a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.fxc.hlsl
index c163771..c814ba4 100644
--- a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
index ff29309..bb0bd09 100644
--- a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
index ff29309..bb0bd09 100644
--- a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.dxc.hlsl
index 8b72e1b..11c63c5 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.fxc.hlsl
index 8b72e1b..11c63c5 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.dxc.hlsl
index 4250344..62cc4ad 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.fxc.hlsl
index 4250344..62cc4ad 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.dxc.hlsl
index 35d42f1..89aaf90 100644
--- a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.fxc.hlsl
index 35d42f1..89aaf90 100644
--- a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.dxc.hlsl
index 4c1b12c..e0dd2e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.fxc.hlsl
index 4c1b12c..e0dd2e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.dxc.hlsl
index 866221a..752b91f 100644
--- a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.fxc.hlsl
index 866221a..752b91f 100644
--- a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
index da87d7f..c711fd8 100644
--- a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
index da87d7f..c711fd8 100644
--- a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.dxc.hlsl
index 2ae84da..df8f350 100644
--- a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.fxc.hlsl
index 2ae84da..df8f350 100644
--- a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.dxc.hlsl
index 8b15fe5..2b2ba40 100644
--- a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.fxc.hlsl
index 8b15fe5..2b2ba40 100644
--- a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.dxc.hlsl
index cdf1190..0b02391 100644
--- a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.fxc.hlsl
index cdf1190..0b02391 100644
--- a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.dxc.hlsl
index 554e3bd..41a427f 100644
--- a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.fxc.hlsl
index 554e3bd..41a427f 100644
--- a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.dxc.hlsl
index 05aa64d..6090193 100644
--- a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.fxc.hlsl
index 05aa64d..6090193 100644
--- a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.dxc.hlsl
index d3308a5..ed767eb 100644
--- a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.fxc.hlsl
index d3308a5..ed767eb 100644
--- a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.dxc.hlsl
index 79bc111..4f858342 100644
--- a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.fxc.hlsl
index 79bc111..4f858342 100644
--- a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.dxc.hlsl
index d220509..e0738a3 100644
--- a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.fxc.hlsl
index d220509..e0738a3 100644
--- a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.dxc.hlsl
index 685b417..daec121 100644
--- a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.fxc.hlsl
index 685b417..daec121 100644
--- a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.dxc.hlsl
index c74b861..e77f091 100644
--- a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.fxc.hlsl
index c74b861..e77f091 100644
--- a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.dxc.hlsl
index 96e8f77..1315c7c 100644
--- a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.fxc.hlsl
index 96e8f77..1315c7c 100644
--- a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.dxc.hlsl
index 22acfdc..08a7617 100644
--- a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.fxc.hlsl
index 22acfdc..08a7617 100644
--- a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.dxc.hlsl
index 386fd2f..57ba5e7 100644
--- a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.fxc.hlsl
index 386fd2f..57ba5e7 100644
--- a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.dxc.hlsl
index 1a1d0e4..83ed63a 100644
--- a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.fxc.hlsl
index 1a1d0e4..83ed63a 100644
--- a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.dxc.hlsl
index 994a8a0..27c856b 100644
--- a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.fxc.hlsl
index 994a8a0..27c856b 100644
--- a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
index 26c2342..9d417d1 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
index 26c2342..9d417d1 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.dxc.hlsl
index 8975248..ed0fb35 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.fxc.hlsl
index 8975248..ed0fb35 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.dxc.hlsl
index 833ada3..57ecf44 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.fxc.hlsl
index 833ada3..57ecf44 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.dxc.hlsl
index 1387c12..6d966b7 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.fxc.hlsl
index 1387c12..6d966b7 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
index 9e4fe3f..11c20ea 100644
--- a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
index 9e4fe3f..11c20ea 100644
--- a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.dxc.hlsl
index 1638ba0..91f451b 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.fxc.hlsl
index 1638ba0..91f451b 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
index fa4f7cf..0eff576 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
index fa4f7cf..0eff576 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.dxc.hlsl
index b00ec08..4d17654 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.fxc.hlsl
index b00ec08..4d17654 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.dxc.hlsl
index fbcfe31..459438d 100644
--- a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.fxc.hlsl
index fbcfe31..459438d 100644
--- a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.dxc.hlsl
index e18bdc5..09d167c2 100644
--- a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.fxc.hlsl
index e18bdc5..09d167c2 100644
--- a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.dxc.hlsl
index 1bd75dd..51ce9e4 100644
--- a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.fxc.hlsl
index 1bd75dd..51ce9e4 100644
--- a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.dxc.hlsl
index 454057a..c6b304f 100644
--- a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.fxc.hlsl
index 454057a..c6b304f 100644
--- a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.dxc.hlsl
index a60f049..f3c6486 100644
--- a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.fxc.hlsl
index a60f049..f3c6486 100644
--- a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.dxc.hlsl
index 6d56297..78d5150 100644
--- a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.fxc.hlsl
index 6d56297..78d5150 100644
--- a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.dxc.hlsl
index 317f942..2bcbd8a 100644
--- a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.fxc.hlsl
index 317f942..2bcbd8a 100644
--- a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.dxc.hlsl
index 51f28b3..671049d 100644
--- a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.fxc.hlsl
index 51f28b3..671049d 100644
--- a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.dxc.hlsl
index 46c375f..3490d55 100644
--- a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.fxc.hlsl
index 46c375f..3490d55 100644
--- a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.dxc.hlsl
index 8d85e07..516d9bc 100644
--- a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.fxc.hlsl
index 8d85e07..516d9bc 100644
--- a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.dxc.hlsl
index 8b6de07..2369f8b 100644
--- a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.fxc.hlsl
index 8b6de07..2369f8b 100644
--- a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.dxc.hlsl
index fd7b01f..d68d295 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.fxc.hlsl
index fd7b01f..d68d295 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.dxc.hlsl
index cb4329d..0ca4048 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.fxc.hlsl
index cb4329d..0ca4048 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.dxc.hlsl
index 16b2aef..adda79c 100644
--- a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.fxc.hlsl
index 16b2aef..adda79c 100644
--- a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.dxc.hlsl
index 5e1c3dc..7c40066 100644
--- a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.fxc.hlsl
index 5e1c3dc..7c40066 100644
--- a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.dxc.hlsl
index e55171a..a6f2cbd 100644
--- a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.fxc.hlsl
index e55171a..a6f2cbd 100644
--- a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.dxc.hlsl
index 57f6b7f..2f257ca 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.fxc.hlsl
index 57f6b7f..2f257ca 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.dxc.hlsl
index 42c6d9e..788a207 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.fxc.hlsl
index 42c6d9e..788a207 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.dxc.hlsl
index 385f6ac..ff4cec5 100644
--- a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.fxc.hlsl
index 385f6ac..ff4cec5 100644
--- a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
index 568b511..3cc0302 100644
--- a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
index 568b511..3cc0302 100644
--- a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.dxc.hlsl
index 517a28a..01bbd68 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.fxc.hlsl
index 517a28a..01bbd68 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.dxc.hlsl
index a36060d..88d6f27 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.fxc.hlsl
index a36060d..88d6f27 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.dxc.hlsl
index 38c7f7a..6182d0d 100644
--- a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.fxc.hlsl
index 38c7f7a..6182d0d 100644
--- a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.dxc.hlsl
index 0b9202c..a24cf44 100644
--- a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.fxc.hlsl
index 0b9202c..a24cf44 100644
--- a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.dxc.hlsl
index f8ef6ff..79f0f00 100644
--- a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.fxc.hlsl
index f8ef6ff..79f0f00 100644
--- a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.dxc.hlsl
index ac2d209..a3a26c4 100644
--- a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.fxc.hlsl
index ac2d209..a3a26c4 100644
--- a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.dxc.hlsl
index 9c1e543..e1869b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.fxc.hlsl
index 9c1e543..e1869b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.dxc.hlsl
index 2b94d5a..ce2fbce 100644
--- a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.fxc.hlsl
index 2b94d5a..ce2fbce 100644
--- a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.dxc.hlsl
index 08f8ef1..15933c4 100644
--- a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.fxc.hlsl
index 08f8ef1..15933c4 100644
--- a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.dxc.hlsl
index 7a9dbc7..28d8fb0 100644
--- a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.fxc.hlsl
index 7a9dbc7..28d8fb0 100644
--- a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.dxc.hlsl
index 01f1bf1..fdaa7d3 100644
--- a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.fxc.hlsl
index 01f1bf1..fdaa7d3 100644
--- a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.dxc.hlsl
index c09389e..ebcc447 100644
--- a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.fxc.hlsl
index c09389e..ebcc447 100644
--- a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.dxc.hlsl
index 0bc27e8..8cf91fe 100644
--- a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.fxc.hlsl
index 0bc27e8..8cf91fe 100644
--- a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.dxc.hlsl
index cc81976..1e0a86c 100644
--- a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.fxc.hlsl
index cc81976..1e0a86c 100644
--- a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.dxc.hlsl
index 34016ca..f033633 100644
--- a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.fxc.hlsl
index 34016ca..f033633 100644
--- a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.dxc.hlsl
index 4bf67ae..6518b22 100644
--- a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.fxc.hlsl
index 4bf67ae..6518b22 100644
--- a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.dxc.hlsl
index badbf12..e5fea6a 100644
--- a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.fxc.hlsl
index badbf12..e5fea6a 100644
--- a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.dxc.hlsl
index 1e23d25..fee8045 100644
--- a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.fxc.hlsl
index 1e23d25..fee8045 100644
--- a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.dxc.hlsl
index 7515172..64be4c1 100644
--- a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.fxc.hlsl
index 7515172..64be4c1 100644
--- a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.dxc.hlsl
index 32b0af7..10b8fbf 100644
--- a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.fxc.hlsl
index 32b0af7..10b8fbf 100644
--- a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.dxc.hlsl
index a9bc91a..38bf3dc 100644
--- a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.fxc.hlsl
index a9bc91a..38bf3dc 100644
--- a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.dxc.hlsl
index 76104fa..12c0137 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.fxc.hlsl
index 76104fa..12c0137 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
index 7579779..c716a74 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
index 7579779..c716a74 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.dxc.hlsl
index 1b80287..c9caed9 100644
--- a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.fxc.hlsl
index 1b80287..c9caed9 100644
--- a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.dxc.hlsl
index f6583e5..30195c9 100644
--- a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.fxc.hlsl
index f6583e5..30195c9 100644
--- a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.dxc.hlsl
index 5e41479..5848579 100644
--- a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.fxc.hlsl
index 5e41479..5848579 100644
--- a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.dxc.hlsl
index 20e42ad..80926e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.fxc.hlsl
index 20e42ad..80926e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.dxc.hlsl
index 0b2fa1a..26adf7e 100644
--- a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.fxc.hlsl
index 0b2fa1a..26adf7e 100644
--- a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.dxc.hlsl
index da9071f..ed7c8e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.fxc.hlsl
index da9071f..ed7c8e6 100644
--- a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.dxc.hlsl
index 66bbeb3..7de1a17 100644
--- a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.fxc.hlsl
index 66bbeb3..7de1a17 100644
--- a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.dxc.hlsl
index ba6afef..a349d59 100644
--- a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.fxc.hlsl
index ba6afef..a349d59 100644
--- a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.dxc.hlsl
index 7933c5e..3119749 100644
--- a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.fxc.hlsl
index 7933c5e..3119749 100644
--- a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.dxc.hlsl
index 75624f2..f66c3a8 100644
--- a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.fxc.hlsl
index 75624f2..f66c3a8 100644
--- a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.dxc.hlsl
index 7a4268f..c0e5203 100644
--- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.fxc.hlsl
index 7a4268f..c0e5203 100644
--- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.dxc.hlsl
index 4488d84..4585a7d 100644
--- a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.fxc.hlsl
index 4488d84..4585a7d 100644
--- a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.dxc.hlsl
index e141014..bf41d64 100644
--- a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.fxc.hlsl
index e141014..bf41d64 100644
--- a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.dxc.hlsl
index 16d42bb..d2c9696 100644
--- a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.fxc.hlsl
index 16d42bb..d2c9696 100644
--- a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.dxc.hlsl
index ca9a84f..876a668 100644
--- a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.fxc.hlsl
index ca9a84f..876a668 100644
--- a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.dxc.hlsl
index 2291734..cb4b350 100644
--- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.fxc.hlsl
index 2291734..cb4b350 100644
--- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.dxc.hlsl
index f702853..19d3a90 100644
--- a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.fxc.hlsl
index f702853..19d3a90 100644
--- a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.dxc.hlsl
index 34b4cc4..1115f76 100644
--- a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.fxc.hlsl
index 34b4cc4..1115f76 100644
--- a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.dxc.hlsl
index eaf28be..7ac9c65 100644
--- a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.fxc.hlsl
index eaf28be..7ac9c65 100644
--- a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.dxc.hlsl
index ba67adc..5600d35 100644
--- a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.fxc.hlsl
index ba67adc..5600d35 100644
--- a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.dxc.hlsl
index fcac3ac..75ec708 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.fxc.hlsl
index fcac3ac..75ec708 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.dxc.hlsl
index 06e1fa4..af18a00 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.fxc.hlsl
index 06e1fa4..af18a00 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.dxc.hlsl
index da7972f..67672d4 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.fxc.hlsl
index da7972f..67672d4 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.dxc.hlsl
index 0c8ee45..0644a27 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.fxc.hlsl
index 0c8ee45..0644a27 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
index 5d46073..8da8152 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
index 5d46073..8da8152 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.dxc.hlsl
index a37807c..f95b6c6 100644
--- a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.fxc.hlsl
index a37807c..f95b6c6 100644
--- a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.dxc.hlsl
index 13c15d1..286cab7 100644
--- a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.fxc.hlsl
index 13c15d1..286cab7 100644
--- a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.dxc.hlsl
index e02ac1d..6a0a07f 100644
--- a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.fxc.hlsl
index e02ac1d..6a0a07f 100644
--- a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.dxc.hlsl
index 23a9958..6a203cd 100644
--- a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.fxc.hlsl
index 23a9958..6a203cd 100644
--- a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.dxc.hlsl
index aba5618..698b373 100644
--- a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.fxc.hlsl
index aba5618..698b373 100644
--- a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.dxc.hlsl
index da6deff..1d6b383 100644
--- a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.fxc.hlsl
index da6deff..1d6b383 100644
--- a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
index 7f8569f..ea8dc58 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
index 7f8569f..ea8dc58 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
index 16243af..fd7be8c 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
index 16243af..fd7be8c 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.dxc.hlsl
index 6f061193..48bccfe 100644
--- a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.fxc.hlsl
index 6f061193..48bccfe 100644
--- a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.dxc.hlsl
index c6cdd61..c5e92de 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.fxc.hlsl
index c6cdd61..c5e92de 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.dxc.hlsl
index 9639541..83d699c 100644
--- a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.fxc.hlsl
index 9639541..83d699c 100644
--- a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.dxc.hlsl
index 319802d..cab9d52 100644
--- a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.fxc.hlsl
index 319802d..cab9d52 100644
--- a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.dxc.hlsl
index 5f297ea..a58afd1 100644
--- a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.fxc.hlsl
index 5f297ea..a58afd1 100644
--- a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.dxc.hlsl
index 82bdc37..d886e39 100644
--- a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.fxc.hlsl
index 82bdc37..d886e39 100644
--- a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.dxc.hlsl
index 503b09c..3626014 100644
--- a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.fxc.hlsl
index 503b09c..3626014 100644
--- a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.dxc.hlsl
index 578cfd4..6e96b77 100644
--- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.fxc.hlsl
index 578cfd4..6e96b77 100644
--- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.dxc.hlsl
index 0ca189f..ab63044 100644
--- a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.fxc.hlsl
index 0ca189f..ab63044 100644
--- a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.dxc.hlsl
index ba535ac..2f2d292 100644
--- a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.fxc.hlsl
index ba535ac..2f2d292 100644
--- a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
index 4b3d041..3994f3e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
index 4b3d041..3994f3e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.dxc.hlsl
index bdbc839..a9f4c1aa 100644
--- a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.fxc.hlsl
index bdbc839..a9f4c1aa 100644
--- a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
index c1b75c9..6b8462e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
index c1b75c9..6b8462e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.dxc.hlsl
index 0efab69..ece3e27 100644
--- a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.fxc.hlsl
index 0efab69..ece3e27 100644
--- a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.dxc.hlsl
index adcf2d6..b194847 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.fxc.hlsl
index adcf2d6..b194847 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.dxc.hlsl
index 5bba758..0a0014e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.fxc.hlsl
index 5bba758..0a0014e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
index 7672b64..d14020b 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
index 7672b64..d14020b 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
index 53f7cf2..04e3fcd 100644
--- a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
index 53f7cf2..04e3fcd 100644
--- a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.dxc.hlsl
index 20545e4..515d24e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.fxc.hlsl
index 20545e4..515d24e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.dxc.hlsl
index cde637f..d44f88e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.fxc.hlsl
index cde637f..d44f88e 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.dxc.hlsl
index 6b7b831..7115f13 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.fxc.hlsl
index 6b7b831..7115f13 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.dxc.hlsl
index 7d90c8f..6acb220 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.fxc.hlsl
index 7d90c8f..6acb220 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.dxc.hlsl
index b4c166d..2a7ca63 100644
--- a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.fxc.hlsl
index b4c166d..2a7ca63 100644
--- a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.dxc.hlsl
index bdfa2ef..786b9f68 100644
--- a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.fxc.hlsl
index bdfa2ef..786b9f68 100644
--- a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.dxc.hlsl
index 8f4565f..e8d56ab 100644
--- a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.fxc.hlsl
index 8f4565f..e8d56ab 100644
--- a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.dxc.hlsl
index e6683ab..ca13129 100644
--- a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.fxc.hlsl
index e6683ab..ca13129 100644
--- a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.dxc.hlsl
index 2d0d46d..6f6b9a9 100644
--- a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.fxc.hlsl
index 2d0d46d..6f6b9a9 100644
--- a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.dxc.hlsl
index ee3762e..5176865 100644
--- a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.fxc.hlsl
index ee3762e..5176865 100644
--- a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.dxc.hlsl
index 7bd9c46..ca31ee2 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.fxc.hlsl
index 7bd9c46..ca31ee2 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.dxc.hlsl
index 8347834..1f23f76 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.fxc.hlsl
index 8347834..1f23f76 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.dxc.hlsl
index b49b2b2..1e02922 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.fxc.hlsl
index b49b2b2..1e02922 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.dxc.hlsl
index 7cf3965..bdbca1c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.fxc.hlsl
index 7cf3965..bdbca1c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.dxc.hlsl
index 968e9e8..061ded5 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.fxc.hlsl
index 968e9e8..061ded5 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.dxc.hlsl
index 0a6ae37..1581545 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.fxc.hlsl
index 0a6ae37..1581545 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.dxc.hlsl
index e4864e2..93ec315 100644
--- a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.fxc.hlsl
index e4864e2..93ec315 100644
--- a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.dxc.hlsl
index fc56ed5..a20d10c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.fxc.hlsl
index fc56ed5..a20d10c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.dxc.hlsl
index 31cd280..33ee55c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.fxc.hlsl
index 31cd280..33ee55c 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.dxc.hlsl
index 3a56cf4..0236e10 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.fxc.hlsl
index 3a56cf4..0236e10 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.dxc.hlsl
index 2e1b5fd..267a0cd 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.fxc.hlsl
index 2e1b5fd..267a0cd 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.dxc.hlsl
index 929fa86..4bd9207 100644
--- a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.fxc.hlsl
index 929fa86..4bd9207 100644
--- a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.dxc.hlsl
index 1b1c71a..35e761e 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.fxc.hlsl
index 1b1c71a..35e761e 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.dxc.hlsl
index e9ccad1..9040a13 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.fxc.hlsl
index e9ccad1..9040a13 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.dxc.hlsl
index ff6dc85..ea1242f 100644
--- a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.fxc.hlsl
index ff6dc85..ea1242f 100644
--- a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.dxc.hlsl
index ac591a1..44efbdb 100644
--- a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.fxc.hlsl
index ac591a1..44efbdb 100644
--- a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.dxc.hlsl
index 6b1994c..50a6da8 100644
--- a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.fxc.hlsl
index 6b1994c..50a6da8 100644
--- a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.dxc.hlsl
index a72d0bd..00ee8d7 100644
--- a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.fxc.hlsl
index a72d0bd..00ee8d7 100644
--- a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.dxc.hlsl
index 5f6d79b..7dea078 100644
--- a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.fxc.hlsl
index 5f6d79b..7dea078 100644
--- a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.dxc.hlsl
index e520a5a..351fbdd 100644
--- a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.fxc.hlsl
index e520a5a..351fbdd 100644
--- a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.dxc.hlsl
index 19a36b3..92c6f33 100644
--- a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.fxc.hlsl
index 19a36b3..92c6f33 100644
--- a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.dxc.hlsl
index 06f2c5f..ffe0188 100644
--- a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.fxc.hlsl
index 06f2c5f..ffe0188 100644
--- a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.dxc.hlsl
index 6613e71..2af7b3c 100644
--- a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.fxc.hlsl
index 6613e71..2af7b3c 100644
--- a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.dxc.hlsl
index 5dd4f40..671e4d1 100644
--- a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.fxc.hlsl
index 5dd4f40..671e4d1 100644
--- a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.dxc.hlsl
index 493b84e..4e5c557 100644
--- a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.fxc.hlsl
index 493b84e..4e5c557 100644
--- a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.dxc.hlsl
index a18fa2a..51a5d6e 100644
--- a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.fxc.hlsl
index a18fa2a..51a5d6e 100644
--- a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.dxc.hlsl
index 0aa372c..a77ebf8 100644
--- a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.fxc.hlsl
index 0aa372c..a77ebf8 100644
--- a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.dxc.hlsl
index 633eb7e..c833419 100644
--- a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.fxc.hlsl
index 633eb7e..c833419 100644
--- a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.dxc.hlsl
index c6d17df..3f9001b 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.fxc.hlsl
index c6d17df..3f9001b 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.dxc.hlsl
index 26fc4cb..e3d8ec0 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.fxc.hlsl
index 26fc4cb..e3d8ec0 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
index 427dbec..cc20f3a 100644
--- a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
index 427dbec..cc20f3a 100644
--- a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.dxc.hlsl
index 56a9ff4..6f6a8db 100644
--- a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.fxc.hlsl
index 56a9ff4..6f6a8db 100644
--- a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.dxc.hlsl
index 61888d6..54733fc 100644
--- a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.fxc.hlsl
index 61888d6..54733fc 100644
--- a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.dxc.hlsl
index d2b1d71..bb092ba 100644
--- a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.fxc.hlsl
index d2b1d71..bb092ba 100644
--- a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.dxc.hlsl
index 8205b6a..207f93a 100644
--- a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.fxc.hlsl
index 8205b6a..207f93a 100644
--- a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.dxc.hlsl
index 3779bb4..e75f9cb 100644
--- a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.fxc.hlsl
index 3779bb4..e75f9cb 100644
--- a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.dxc.hlsl
index 6a7b2e0..1cabb87 100644
--- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.fxc.hlsl
index 6a7b2e0..1cabb87 100644
--- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.dxc.hlsl
index d913251..4c9497b 100644
--- a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.fxc.hlsl
index d913251..4c9497b 100644
--- a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.dxc.hlsl
index 842e274..ec8b0c7 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.fxc.hlsl
index 842e274..ec8b0c7 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.dxc.hlsl
index 237f855..6144100 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.fxc.hlsl
index 237f855..6144100 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.dxc.hlsl
index ee0bf9c..42de642 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.fxc.hlsl
index ee0bf9c..42de642 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.dxc.hlsl
index ad4c44b..fdef2e5 100644
--- a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.fxc.hlsl
index ad4c44b..fdef2e5 100644
--- a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.dxc.hlsl
index 86085c4..ffd12a0 100644
--- a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.fxc.hlsl
index 86085c4..ffd12a0 100644
--- a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.dxc.hlsl
index eaa3a48..691798c 100644
--- a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.fxc.hlsl
index eaa3a48..691798c 100644
--- a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.dxc.hlsl
index d8eb5ea..162ef7a 100644
--- a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.fxc.hlsl
index d8eb5ea..162ef7a 100644
--- a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.dxc.hlsl
index 2d35b3f..2a18193 100644
--- a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.fxc.hlsl
index 2d35b3f..2a18193 100644
--- a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.dxc.hlsl
index 1c1d611..b400699 100644
--- a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.fxc.hlsl
index 1c1d611..b400699 100644
--- a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.dxc.hlsl
index c575b3c..fe983a4 100644
--- a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.fxc.hlsl
index c575b3c..fe983a4 100644
--- a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.dxc.hlsl
index d9045bb..1e8c33e 100644
--- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.fxc.hlsl
index d9045bb..1e8c33e 100644
--- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.dxc.hlsl
index 2f2dd90..36d9c32 100644
--- a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.fxc.hlsl
index 2f2dd90..36d9c32 100644
--- a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
index f1e2314..d9daac7 100644
--- a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
index f1e2314..d9daac7 100644
--- a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.dxc.hlsl
index 617050f..5722b41 100644
--- a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.fxc.hlsl
index 617050f..5722b41 100644
--- a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.dxc.hlsl
index 8a54a6d..de2e565 100644
--- a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.fxc.hlsl
index 8a54a6d..de2e565 100644
--- a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.dxc.hlsl
index 001a94e..340b2b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.fxc.hlsl
index 001a94e..340b2b5 100644
--- a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.dxc.hlsl
index 19b5bf7..968275a 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.fxc.hlsl
index 19b5bf7..968275a 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.dxc.hlsl
index 84f4f36..12ae1c3 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.fxc.hlsl
index 84f4f36..12ae1c3 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.dxc.hlsl
index 64e3550..48c8149 100644
--- a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.fxc.hlsl
index 64e3550..48c8149 100644
--- a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.dxc.hlsl
index 469d193..0396d6c 100644
--- a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.fxc.hlsl
index 469d193..0396d6c 100644
--- a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.dxc.hlsl
index 11e8bfa..2801c86 100644
--- a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.fxc.hlsl
index 11e8bfa..2801c86 100644
--- a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.dxc.hlsl
index 2d99449..3fc9ae2 100644
--- a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.fxc.hlsl
index 2d99449..3fc9ae2 100644
--- a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.dxc.hlsl
index 4b3c533..c78aa1b 100644
--- a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.fxc.hlsl
index 4b3c533..c78aa1b 100644
--- a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.dxc.hlsl
index 0c933db..f182689 100644
--- a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.fxc.hlsl
index 0c933db..f182689 100644
--- a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.dxc.hlsl
index 0b27d0c..33b75e0 100644
--- a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.fxc.hlsl
index 0b27d0c..33b75e0 100644
--- a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.dxc.hlsl
index 1fcecc8..b9d223c 100644
--- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.fxc.hlsl
index 1fcecc8..b9d223c 100644
--- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.dxc.hlsl
index f31d34a..981c51b 100644
--- a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.fxc.hlsl
index f31d34a..981c51b 100644
--- a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.dxc.hlsl
index 4a67176..7ba4908 100644
--- a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.fxc.hlsl
index 4a67176..7ba4908 100644
--- a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.dxc.hlsl
index 2070bcb..1464eaa 100644
--- a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.fxc.hlsl
index 2070bcb..1464eaa 100644
--- a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.dxc.hlsl
index ef40ece..ed18a6f 100644
--- a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.fxc.hlsl
index ef40ece..ed18a6f 100644
--- a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.dxc.hlsl
index 0ecc939..db95317 100644
--- a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.fxc.hlsl
index 0ecc939..db95317 100644
--- a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.dxc.hlsl
index 75e49ce..80dc03b 100644
--- a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.fxc.hlsl
index 75e49ce..80dc03b 100644
--- a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.dxc.hlsl
index 7db1220..063a573 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.fxc.hlsl
index 7db1220..063a573 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.dxc.hlsl
index 05fd50a..2622fab 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.fxc.hlsl
index 05fd50a..2622fab 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.dxc.hlsl
index 377f6a7..8042778 100644
--- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.fxc.hlsl
index 377f6a7..8042778 100644
--- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.dxc.hlsl
index f2ad0b8..37e7e1f 100644
--- a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.fxc.hlsl
index f2ad0b8..37e7e1f 100644
--- a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.dxc.hlsl
index 4242e4a..0c522bd 100644
--- a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.fxc.hlsl
index 4242e4a..0c522bd 100644
--- a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.dxc.hlsl
index 68de0cf..061853e 100644
--- a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.fxc.hlsl
index 68de0cf..061853e 100644
--- a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.dxc.hlsl
index f7b8f08..bee600c 100644
--- a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.fxc.hlsl
index f7b8f08..bee600c 100644
--- a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
index 28cbdd2..d805ab9 100644
--- a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
index 28cbdd2..d805ab9 100644
--- a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.dxc.hlsl
index 6bf3dd3..b7b4bff 100644
--- a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.fxc.hlsl
index 6bf3dd3..b7b4bff 100644
--- a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.dxc.hlsl
index b73999e..d92ce61 100644
--- a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.fxc.hlsl
index b73999e..d92ce61 100644
--- a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.dxc.hlsl
index 4a1c91e..65e8455 100644
--- a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.fxc.hlsl
index 4a1c91e..65e8455 100644
--- a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.dxc.hlsl
index b0f65d1..b3be032 100644
--- a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.fxc.hlsl
index b0f65d1..b3be032 100644
--- a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.dxc.hlsl
index 85ecfc5..c2bcddf 100644
--- a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.fxc.hlsl
index 85ecfc5..c2bcddf 100644
--- a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.dxc.hlsl
index df5cb3c..66f14af 100644
--- a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.fxc.hlsl
index df5cb3c..66f14af 100644
--- a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.dxc.hlsl
index 74a55ba..8dfb72b 100644
--- a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.fxc.hlsl
index 74a55ba..8dfb72b 100644
--- a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
index 42109cc..38411db 100644
--- a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
index 42109cc..38411db 100644
--- a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.dxc.hlsl
index f8fb3f1..9a93cf9 100644
--- a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.fxc.hlsl
index f8fb3f1..9a93cf9 100644
--- a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.dxc.hlsl
index 59304c4..9ef224d 100644
--- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.fxc.hlsl
index 59304c4..9ef224d 100644
--- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
index 1ee115e..f9b0b50 100644
--- a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
index 1ee115e..f9b0b50 100644
--- a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.dxc.hlsl
index 7021c0f..ff371ca 100644
--- a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.fxc.hlsl
index 7021c0f..ff371ca 100644
--- a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.dxc.hlsl
index fc003fc..a7466fd 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.fxc.hlsl
index fc003fc..a7466fd 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.dxc.hlsl
index 04cd8ac..9a85184 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.fxc.hlsl
index 04cd8ac..9a85184 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.dxc.hlsl
index 8d61677..415d2c9 100644
--- a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.fxc.hlsl
index 8d61677..415d2c9 100644
--- a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
index 0dd0e1c..4387831 100644
--- a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
index 0dd0e1c..4387831 100644
--- a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.dxc.hlsl
index 7355a0e..5262325 100644
--- a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.fxc.hlsl
index 7355a0e..5262325 100644
--- a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
index e660717..1e8c583 100644
--- a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
index e660717..1e8c583 100644
--- a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.dxc.hlsl
index 1aa3852..ea51966 100644
--- a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.fxc.hlsl
index 1aa3852..ea51966 100644
--- a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.dxc.hlsl
index f8ddf9b..e3c5a21 100644
--- a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.fxc.hlsl
index f8ddf9b..e3c5a21 100644
--- a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
index b706703..5eb409b 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
index b706703..5eb409b 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.dxc.hlsl
index 3e79f4c..a13e81d 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.fxc.hlsl
index 3e79f4c..a13e81d 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.dxc.hlsl
index 7b47980..76ecc00 100644
--- a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.fxc.hlsl
index 7b47980..76ecc00 100644
--- a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.dxc.hlsl
index d4d5fce..70b6cdb 100644
--- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.fxc.hlsl
index d4d5fce..70b6cdb 100644
--- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
index 97e7a83..6c643a3 100644
--- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
index 97e7a83..6c643a3 100644
--- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.dxc.hlsl
index aa3530d..ac3bc36 100644
--- a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.fxc.hlsl
index aa3530d..ac3bc36 100644
--- a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.dxc.hlsl
index c011fa3..5a72835 100644
--- a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.fxc.hlsl
index c011fa3..5a72835 100644
--- a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.dxc.hlsl
index ed74902..6d2e67c 100644
--- a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.fxc.hlsl
index ed74902..6d2e67c 100644
--- a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.dxc.hlsl
index 29317df..1347efb 100644
--- a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.fxc.hlsl
index 29317df..1347efb 100644
--- a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.dxc.hlsl
index 587d591..9b8e10b 100644
--- a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.fxc.hlsl
index 587d591..9b8e10b 100644
--- a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.dxc.hlsl
index eb13a3a..e85b87a 100644
--- a/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.dxc.hlsl
index 00be678..75127f1 100644
--- a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.fxc.hlsl
index 00be678..75127f1 100644
--- a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.dxc.hlsl
index 3972cd4..de75dee 100644
--- a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.fxc.hlsl
index 3972cd4..de75dee 100644
--- a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.dxc.hlsl
index 9c0f8bb..b85c87c 100644
--- a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.fxc.hlsl
index 9c0f8bb..b85c87c 100644
--- a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.dxc.hlsl
index eb895be..830ebf1 100644
--- a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.fxc.hlsl
index eb895be..830ebf1 100644
--- a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.dxc.hlsl
index 7bc6aa4..31e58c1 100644
--- a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.fxc.hlsl
index 7bc6aa4..31e58c1 100644
--- a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.dxc.hlsl
index 8e37587..b8aa168 100644
--- a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.fxc.hlsl
index 8e37587..b8aa168 100644
--- a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.dxc.hlsl
index eb7293b..b7c89e8 100644
--- a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.fxc.hlsl
index eb7293b..b7c89e8 100644
--- a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.dxc.hlsl
index 9db91a8..22e0eb9 100644
--- a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.fxc.hlsl
index 9db91a8..22e0eb9 100644
--- a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.dxc.hlsl
index 5ebd512..a773c42 100644
--- a/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.dxc.hlsl
index 8fa5fe7..f9e5fb0 100644
--- a/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.dxc.hlsl
index 604b6c5..84f7159 100644
--- a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.fxc.hlsl
index 604b6c5..84f7159 100644
--- a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.dxc.hlsl
index ce7b788..2f2d257 100644
--- a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.fxc.hlsl
index ce7b788..2f2d257 100644
--- a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.dxc.hlsl
index fa38c79..c5be989 100644
--- a/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.dxc.hlsl
index f44fa67..e15d630 100644
--- a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.fxc.hlsl
index f44fa67..e15d630 100644
--- a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.dxc.hlsl
index f38fa90..3ca0f35 100644
--- a/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.dxc.hlsl
index 600c218..6dd3094 100644
--- a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.fxc.hlsl
index 600c218..6dd3094 100644
--- a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.dxc.hlsl
index ec5e8e19..3042b11 100644
--- a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.fxc.hlsl
index ec5e8e19..3042b11 100644
--- a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.dxc.hlsl
index 2fb3562..e47fa35 100644
--- a/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.dxc.hlsl
index 5672d62..945527a 100644
--- a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.fxc.hlsl
index 5672d62..945527a 100644
--- a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.dxc.hlsl
index 7eb6c0c..07b663c 100644
--- a/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.dxc.hlsl
index 5411696..9e7230d 100644
--- a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.fxc.hlsl
index 5411696..9e7230d 100644
--- a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.dxc.hlsl
index 1196440..b449efd 100644
--- a/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.dxc.hlsl
index 2efae76..1a62cd9 100644
--- a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.fxc.hlsl
index 2efae76..1a62cd9 100644
--- a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.dxc.hlsl
index 0d7ff26..d7f7546 100644
--- a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.fxc.hlsl
index 0d7ff26..d7f7546 100644
--- a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.dxc.hlsl
index ffef122..625186a 100644
--- a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.fxc.hlsl
index ffef122..625186a 100644
--- a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.dxc.hlsl
index 2f55e37..4dc5fdf 100644
--- a/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.dxc.hlsl
index e30b617..b48398d 100644
--- a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.dxc.hlsl
index d3f4162..3292822 100644
--- a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.fxc.hlsl
index d3f4162..3292822 100644
--- a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.dxc.hlsl
index c8a11b0..9f7958e 100644
--- a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.fxc.hlsl
index c8a11b0..9f7958e 100644
--- a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.dxc.hlsl
index faba2f8..ac4635a 100644
--- a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.fxc.hlsl
index faba2f8..ac4635a 100644
--- a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.dxc.hlsl
index 082281a..e2e1ee6 100644
--- a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.dxc.hlsl
index bb9d35f..702292a 100644
--- a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.fxc.hlsl
index bb9d35f..702292a 100644
--- a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.dxc.hlsl
index e687490..c53567e 100644
--- a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.dxc.hlsl
index 2d4a915..faaf2ce 100644
--- a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.dxc.hlsl
index 62d4ec9..bb48bce 100644
--- a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.fxc.hlsl
index 62d4ec9..bb48bce 100644
--- a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.dxc.hlsl
index 83d54dc..6d4a83e 100644
--- a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.fxc.hlsl
index 83d54dc..6d4a83e 100644
--- a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.dxc.hlsl
index 0db7616..3b114e4 100644
--- a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.fxc.hlsl
index 0db7616..3b114e4 100644
--- a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.dxc.hlsl
index 740a861..cf40b67 100644
--- a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.fxc.hlsl
index 740a861..cf40b67 100644
--- a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
index 647fe67..b256425 100644
--- a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
index 647fe67..b256425 100644
--- a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
index 16f861c..1a588f9 100644
--- a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
index 16f861c..1a588f9 100644
--- a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
index 0ed5bb5..b5971f3 100644
--- a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
index 0ed5bb5..b5971f3 100644
--- a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
index f52a00b..7639ee2 100644
--- a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
index f52a00b..7639ee2 100644
--- a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
index b39a5bb..5434a1e 100644
--- a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
index b39a5bb..5434a1e 100644
--- a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.dxc.hlsl
index a7d132d..4e3f1b3 100644
--- a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.fxc.hlsl
index a7d132d..4e3f1b3 100644
--- a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
index e318e0f..898a23d 100644
--- a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
index e318e0f..898a23d 100644
--- a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
index 33ea9c0..e5380ae 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = arg_0;
+  uint result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
index 33ea9c0..e5380ae 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = arg_0;
+  uint result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
index 05e4c85..d1d62a5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 float tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float result = arg_0;
+  float result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
index 05e4c85..d1d62a5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 float tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float result = arg_0;
+  float result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
index 6d8b261..9fb3e37 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 int tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = arg_0;
+  int result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
index 6d8b261..9fb3e37 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 int tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = arg_0;
+  int result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
index c8e40ee..39fe531 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 float16_t tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float16_t result = arg_0;
+  float16_t result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.dxc.hlsl
index 17ee831..ec47590 100644
--- a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.fxc.hlsl
index 17ee831..ec47590 100644
--- a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.dxc.hlsl
index daa65d6..26f2784 100644
--- a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.fxc.hlsl
index daa65d6..26f2784 100644
--- a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.dxc.hlsl
index 5b2ed50..fe81a31 100644
--- a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.fxc.hlsl
index 5b2ed50..fe81a31 100644
--- a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.dxc.hlsl
index 132d2e7..ec8ce0a 100644
--- a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.fxc.hlsl
index 132d2e7..ec8ce0a 100644
--- a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.dxc.hlsl
index d3dc754..8c1c15b 100644
--- a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.fxc.hlsl
index d3dc754..8c1c15b 100644
--- a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.dxc.hlsl
index 9f43ec8..bda8314 100644
--- a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.dxc.hlsl
index b2bc9d0..00f1793 100644
--- a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.fxc.hlsl
index b2bc9d0..00f1793 100644
--- a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.dxc.hlsl
index 9c23e8a..c949e09 100644
--- a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.fxc.hlsl
index 9c23e8a..c949e09 100644
--- a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.dxc.hlsl
index 2d7e6a3..ae3d75c 100644
--- a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.dxc.hlsl
index d24e2b9..1d0b3ec 100644
--- a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.fxc.hlsl
index d24e2b9..1d0b3ec 100644
--- a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.dxc.hlsl
index 86901c6..cb30ec2 100644
--- a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.fxc.hlsl
index 86901c6..cb30ec2 100644
--- a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.dxc.hlsl
index e79d4f9..f3f776c 100644
--- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.fxc.hlsl
index e79d4f9..f3f776c 100644
--- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.dxc.hlsl
index 76c5cc7..cb34ae8 100644
--- a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.dxc.hlsl
index f786923..248649f 100644
--- a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.fxc.hlsl
index f786923..248649f 100644
--- a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.dxc.hlsl
index 7708451..6628f5a 100644
--- a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.fxc.hlsl
index 7708451..6628f5a 100644
--- a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.dxc.hlsl
index 3c01738..6a0237e 100644
--- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.fxc.hlsl
index 3c01738..6a0237e 100644
--- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.dxc.hlsl
index 558b2e3..9451773 100644
--- a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.fxc.hlsl
index 558b2e3..9451773 100644
--- a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.dxc.hlsl
index ded6c62..4e12ffd 100644
--- a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.fxc.hlsl
index ded6c62..4e12ffd 100644
--- a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.dxc.hlsl
index 35a841d..224f9d7 100644
--- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.fxc.hlsl
index 35a841d..224f9d7 100644
--- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.dxc.hlsl
index 1de84a5..c7a988c 100644
--- a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.fxc.hlsl
index 1de84a5..c7a988c 100644
--- a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.dxc.hlsl
index f6b23fe..2498b26 100644
--- a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.fxc.hlsl
index f6b23fe..2498b26 100644
--- a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.dxc.hlsl
index 0aa2ad9..ecb1415 100644
--- a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.fxc.hlsl
index 0aa2ad9..ecb1415 100644
--- a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.dxc.hlsl
index 46f6f3f..ed340d2 100644
--- a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.fxc.hlsl
index 46f6f3f..ed340d2 100644
--- a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.dxc.hlsl
index 8032a82..2a26468 100644
--- a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.dxc.hlsl
index b35c23c..0360a77 100644
--- a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.dxc.hlsl
index 9f628c0..f32384f 100644
--- a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.fxc.hlsl
index 9f628c0..f32384f 100644
--- a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.dxc.hlsl
index 503eb81..09b4539 100644
--- a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.fxc.hlsl
index 503eb81..09b4539 100644
--- a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.dxc.hlsl
index 3cfc18b..be7cc8f 100644
--- a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.dxc.hlsl
index 18c9919..588677d 100644
--- a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.dxc.hlsl
index 50cbdf8..90636d9 100644
--- a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.fxc.hlsl
index 50cbdf8..90636d9 100644
--- a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.dxc.hlsl
index 5aba9a5..28d0870 100644
--- a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.fxc.hlsl
index 5aba9a5..28d0870 100644
--- a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.dxc.hlsl
index e6fef13..9a458f1 100644
--- a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.fxc.hlsl
index e6fef13..9a458f1 100644
--- a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.dxc.hlsl
index b2cdfd2..08e032a 100644
--- a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.fxc.hlsl
index b2cdfd2..08e032a 100644
--- a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.dxc.hlsl
index 991d4b0..210e0f7 100644
--- a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.fxc.hlsl
index 991d4b0..210e0f7 100644
--- a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.dxc.hlsl
index 4a1b371..55711db 100644
--- a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.fxc.hlsl
index 4a1b371..55711db 100644
--- a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.dxc.hlsl
index 08f8b66..56d24eb 100644
--- a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.dxc.hlsl
index 2585c3d..1126ee7 100644
--- a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.fxc.hlsl
index 2585c3d..1126ee7 100644
--- a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.dxc.hlsl
index 868a9af..09cec0b 100644
--- a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.fxc.hlsl
index 868a9af..09cec0b 100644
--- a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.dxc.hlsl
index 1799078..0b76e63 100644
--- a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.fxc.hlsl
index 1799078..0b76e63 100644
--- a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.dxc.hlsl
index c7b45bf..d347b7b 100644
--- a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.dxc.hlsl
index 595bd77..a672bdf 100644
--- a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.fxc.hlsl
index 595bd77..a672bdf 100644
--- a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.dxc.hlsl
index 8f27be1..db7d888 100644
--- a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.fxc.hlsl
index 8f27be1..db7d888 100644
--- a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.dxc.hlsl
index fcf0bcf..809ce54 100644
--- a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.dxc.hlsl
index 7348b46..1f292f2 100644
--- a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.fxc.hlsl
index 7348b46..1f292f2 100644
--- a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.dxc.hlsl
index db33e78..9bed45c 100644
--- a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.dxc.hlsl
index 173fcc0..a2f6399 100644
--- a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.fxc.hlsl
index 173fcc0..a2f6399 100644
--- a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.dxc.hlsl
index 088e79a..9dbefe9 100644
--- a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.fxc.hlsl
index 088e79a..9dbefe9 100644
--- a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.dxc.hlsl
index f12aa11..a5052d0 100644
--- a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.dxc.hlsl
index ccf8dc0..b61802a 100644
--- a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.fxc.hlsl
index ccf8dc0..b61802a 100644
--- a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.dxc.hlsl
index 9822890..69780ac 100644
--- a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.fxc.hlsl
index 9822890..69780ac 100644
--- a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.dxc.hlsl
index c8fcbbe..89dc6f8 100644
--- a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.fxc.hlsl
index c8fcbbe..89dc6f8 100644
--- a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.dxc.hlsl
index 964cda8..107e45b 100644
--- a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.fxc.hlsl
index 964cda8..107e45b 100644
--- a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/083428.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/any/083428.wgsl.expected.dxc.hlsl
index 47d554c..743c3cf 100644
--- a/test/tint/builtins/gen/var/any/083428.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/any/083428.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/083428.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/any/083428.wgsl.expected.fxc.hlsl
index 47d554c..743c3cf 100644
--- a/test/tint/builtins/gen/var/any/083428.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/any/083428.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.dxc.hlsl
index 148d6fd..222f709 100644
--- a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.fxc.hlsl
index 148d6fd..222f709 100644
--- a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.dxc.hlsl
index 39599a1..641d662 100644
--- a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.fxc.hlsl
index 39599a1..641d662 100644
--- a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.dxc.hlsl
index 6ac79bf..20006ec 100644
--- a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.fxc.hlsl
index 6ac79bf..20006ec 100644
--- a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.dxc.hlsl
index 6897c1f..3310e3c 100644
--- a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_1588cd() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.fxc.hlsl
index 6897c1f..3310e3c 100644
--- a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_1588cd() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
index de19dd2..225090f 100644
--- a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_61b1c7() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
index de19dd2..225090f 100644
--- a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_61b1c7() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.dxc.hlsl
index d7ce3f2..501b1f1 100644
--- a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_8421b9() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.fxc.hlsl
index d7ce3f2..501b1f1 100644
--- a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_8421b9() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
index 4dff097..b02605b 100644
--- a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_a0f5ca() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
index 4dff097..b02605b 100644
--- a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_a0f5ca() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
index 526e00f..4f941df 100644
--- a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cbd6b5() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
index 526e00f..4f941df 100644
--- a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cbd6b5() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 2u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.dxc.hlsl
index 3099a0a..1131023 100644
--- a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cdd123() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.fxc.hlsl
index 3099a0a..1131023 100644
--- a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cdd123() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
index 65a0cc2..61fe737 100644
--- a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cfca0a() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
index 65a0cc2..61fe737 100644
--- a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_cfca0a() {
   uint tint_symbol_2 = 0u;
   sb_ro.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.dxc.hlsl
index d00eab1..d228346 100644
--- a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_eb510f() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.fxc.hlsl
index d00eab1..d228346 100644
--- a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 void arrayLength_eb510f() {
   uint tint_symbol_2 = 0u;
   sb_rw.GetDimensions(tint_symbol_2);
-  const uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
+  uint tint_symbol_3 = ((tint_symbol_2 - 0u) / 4u);
   uint res = tint_symbol_3;
   prevent_dce.Store(0u, asuint(res));
 }
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.dxc.hlsl
index a9d186f..4c2fcfc 100644
--- a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.fxc.hlsl
index a9d186f..4c2fcfc 100644
--- a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.dxc.hlsl
index 96bd88a..f56f860 100644
--- a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.fxc.hlsl
index 96bd88a..f56f860 100644
--- a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.dxc.hlsl
index 75c0ebe..ada6ced 100644
--- a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.dxc.hlsl
index 86d0934..f5e95c1 100644
--- a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.dxc.hlsl
index ca1728d..a873ca4 100644
--- a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.dxc.hlsl
index 1ee8601..ac0dc09 100644
--- a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.fxc.hlsl
index 1ee8601..ac0dc09 100644
--- a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.dxc.hlsl
index 14c240f..681ae1f 100644
--- a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.fxc.hlsl
index 14c240f..681ae1f 100644
--- a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.dxc.hlsl
index bb3a6de8..a3cc687 100644
--- a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.fxc.hlsl
index bb3a6de8..a3cc687 100644
--- a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.dxc.hlsl
index d910dc9..80ffef4 100644
--- a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.fxc.hlsl
index d910dc9..80ffef4 100644
--- a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.dxc.hlsl
index 5e01eb0..d900a18 100644
--- a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.fxc.hlsl
index 5e01eb0..d900a18 100644
--- a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.dxc.hlsl
index 54b8549..4a5afca 100644
--- a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.dxc.hlsl
index 8354e72..74b00b0 100644
--- a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.fxc.hlsl
index 8354e72..74b00b0 100644
--- a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.dxc.hlsl
index 5bed946..985aa94 100644
--- a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.fxc.hlsl
index 5bed946..985aa94 100644
--- a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.dxc.hlsl
index 01a4bd5..bb216ab 100644
--- a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.fxc.hlsl
index 01a4bd5..bb216ab 100644
--- a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.dxc.hlsl
index 10d6034..f0e3d28 100644
--- a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.fxc.hlsl
index 10d6034..f0e3d28 100644
--- a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.dxc.hlsl
index 3402c08..af4f5c2 100644
--- a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.fxc.hlsl
index 3402c08..af4f5c2 100644
--- a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.dxc.hlsl
index dbfaa9c..5191a9c 100644
--- a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.dxc.hlsl
index 8f4a49a..f0d04ed 100644
--- a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.fxc.hlsl
index 8f4a49a..f0d04ed 100644
--- a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.dxc.hlsl
index 1a8827f..f1fc1e4 100644
--- a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.fxc.hlsl
index 1a8827f..f1fc1e4 100644
--- a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.dxc.hlsl
index 16b329a..fd3a0d3 100644
--- a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.fxc.hlsl
index 16b329a..fd3a0d3 100644
--- a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.dxc.hlsl
index 107e652..3f88aa8 100644
--- a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.dxc.hlsl
index fd042ca..93d84a5 100644
--- a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.dxc.hlsl
index dbf7249..6a05565 100644
--- a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.fxc.hlsl
index dbf7249..6a05565 100644
--- a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.dxc.hlsl
index 586f8f8..242224a 100644
--- a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.dxc.hlsl
index f799fb8..861c49b 100644
--- a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.fxc.hlsl
index f799fb8..861c49b 100644
--- a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.dxc.hlsl
index 735d91a..80895b2 100644
--- a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.dxc.hlsl
index 190b951..f65b18a 100644
--- a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.dxc.hlsl
index fdbcda1..86f34de 100644
--- a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.fxc.hlsl
index fdbcda1..86f34de 100644
--- a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.dxc.hlsl
index a7298c6..967a3bf 100644
--- a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.fxc.hlsl
index a7298c6..967a3bf 100644
--- a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.dxc.hlsl
index 2db8ef0..73201db 100644
--- a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.fxc.hlsl
index 2db8ef0..73201db 100644
--- a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.dxc.hlsl
index e193179..c69f450 100644
--- a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.fxc.hlsl
index e193179..c69f450 100644
--- a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.dxc.hlsl
index 1874912..8a345dc 100644
--- a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.dxc.hlsl
index 929372c..f82e430 100644
--- a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.dxc.hlsl
index 4280c92..65d9d67 100644
--- a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.fxc.hlsl
index 4280c92..65d9d67 100644
--- a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.dxc.hlsl
index 392f9ae..0c6344f 100644
--- a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.fxc.hlsl
index 392f9ae..0c6344f 100644
--- a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.dxc.hlsl
index e6dfad9..6342661 100644
--- a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.fxc.hlsl
index e6dfad9..6342661 100644
--- a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.dxc.hlsl
index 5af1f00..ff2f0cd 100644
--- a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.fxc.hlsl
index 5af1f00..ff2f0cd 100644
--- a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.dxc.hlsl
index 5c30535..6358696 100644
--- a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.dxc.hlsl
index 6251bb1..bdf13db 100644
--- a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.fxc.hlsl
index 6251bb1..bdf13db 100644
--- a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.dxc.hlsl
index 2cca7b2..755328d 100644
--- a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.fxc.hlsl
index 2cca7b2..755328d 100644
--- a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.dxc.hlsl
index 921f79f..f23ac09 100644
--- a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.dxc.hlsl
index fadcbb3..bc54795 100644
--- a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.fxc.hlsl
index fadcbb3..bc54795 100644
--- a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.dxc.hlsl
index 5217d7d..d7d7120 100644
--- a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.fxc.hlsl
index 5217d7d..d7d7120 100644
--- a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.dxc.hlsl
index b7dd251..15ae189 100644
--- a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.fxc.hlsl
index b7dd251..15ae189 100644
--- a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.dxc.hlsl
index 2401e58..fe1cc47 100644
--- a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.fxc.hlsl
index 2401e58..fe1cc47 100644
--- a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.dxc.hlsl
index 63f0862..3b6f227 100644
--- a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.fxc.hlsl
index 63f0862..3b6f227 100644
--- a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.dxc.hlsl
index b7d402d..b220adb 100644
--- a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.dxc.hlsl
index c003e75..506fd44 100644
--- a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.dxc.hlsl
index 9ab975c..ccced57 100644
--- a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.fxc.hlsl
index 9ab975c..ccced57 100644
--- a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.dxc.hlsl
index d1c685d..6d7a4c5 100644
--- a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.dxc.hlsl
index bf921e0..d7712cd 100644
--- a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.fxc.hlsl
index bf921e0..d7712cd 100644
--- a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.dxc.hlsl
index 61a3ba6..48977ff 100644
--- a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.fxc.hlsl
index 61a3ba6..48977ff 100644
--- a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.dxc.hlsl
index 9493ebf..2c44c83 100644
--- a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.fxc.hlsl
index 9493ebf..2c44c83 100644
--- a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.dxc.hlsl
index 20275e6..d65eda4 100644
--- a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.fxc.hlsl
index 20275e6..d65eda4 100644
--- a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.dxc.hlsl
index 39101cd..c4881fb 100644
--- a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.fxc.hlsl
index 39101cd..c4881fb 100644
--- a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.dxc.hlsl
index 03b0b90..3729274 100644
--- a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.dxc.hlsl
index 47cc9ae..15294de 100644
--- a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.dxc.hlsl
index dbd3c2d..a387d6d 100644
--- a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.fxc.hlsl
index dbd3c2d..a387d6d 100644
--- a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.dxc.hlsl
index 90cd307..a641440 100644
--- a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.dxc.hlsl
index d0a32a0..12f5aab 100644
--- a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.fxc.hlsl
index d0a32a0..12f5aab 100644
--- a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.dxc.hlsl
index 0d50431..e274150 100644
--- a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.dxc.hlsl
index 05f5861..9dee1c6 100644
--- a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.fxc.hlsl
index 05f5861..9dee1c6 100644
--- a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.dxc.hlsl
index 26312f7..3ab8edf 100644
--- a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.dxc.hlsl
index fcd472c..45bb8c1 100644
--- a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.fxc.hlsl
index fcd472c..45bb8c1 100644
--- a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.dxc.hlsl
index 3713b12..02bd90b 100644
--- a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.fxc.hlsl
index 3713b12..02bd90b 100644
--- a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.dxc.hlsl
index 1a485d1..02a4970 100644
--- a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.dxc.hlsl
index 6fa5095..8b749ae 100644
--- a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.fxc.hlsl
index 6fa5095..8b749ae 100644
--- a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.dxc.hlsl
index 9a42a40..d457cc9 100644
--- a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.fxc.hlsl
index 9a42a40..d457cc9 100644
--- a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.dxc.hlsl
index 2936e9d..71f0f09 100644
--- a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.fxc.hlsl
index 2936e9d..71f0f09 100644
--- a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.dxc.hlsl
index ceb4fee..a847184 100644
--- a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.fxc.hlsl
index ceb4fee..a847184 100644
--- a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.dxc.hlsl
index 8f36f5c..2ad02ec 100644
--- a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.fxc.hlsl
index 8f36f5c..2ad02ec 100644
--- a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.dxc.hlsl
index b7f0ac4..fa52792 100644
--- a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.dxc.hlsl
index 68924db..9a14f1b 100644
--- a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.fxc.hlsl
index 68924db..9a14f1b 100644
--- a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.dxc.hlsl
index 0706d74..34411e9 100644
--- a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.fxc.hlsl
index 0706d74..34411e9 100644
--- a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.dxc.hlsl
index 5579916..1ca868b 100644
--- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.fxc.hlsl
index 5579916..1ca868b 100644
--- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.dxc.hlsl
index feb686b..6baf44b 100644
--- a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.dxc.hlsl
index 7b0cd06..7ec37bc 100644
--- a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.fxc.hlsl
index 7b0cd06..7ec37bc 100644
--- a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.dxc.hlsl
index 0604c93..ce24c90 100644
--- a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.fxc.hlsl
index 0604c93..ce24c90 100644
--- a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.dxc.hlsl
index c42fc2f..55c35af 100644
--- a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.fxc.hlsl
index c42fc2f..55c35af 100644
--- a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.dxc.hlsl
index 75ddc3e..c2811f4 100644
--- a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.dxc.hlsl
index 3dc7f85..bce3f2f 100644
--- a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.fxc.hlsl
index 3dc7f85..bce3f2f 100644
--- a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.dxc.hlsl
index 6c997e4..f704b0b 100644
--- a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.dxc.hlsl
index ecb46df..808572d 100644
--- a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.fxc.hlsl
index ecb46df..808572d 100644
--- a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.dxc.hlsl
index 1004b4d..d4a20af 100644
--- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.fxc.hlsl
index 1004b4d..d4a20af 100644
--- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.dxc.hlsl
index d9f070a..f4ee128 100644
--- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.fxc.hlsl
index d9f070a..f4ee128 100644
--- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.dxc.hlsl
index baf0f4b..ad35557 100644
--- a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.fxc.hlsl
index baf0f4b..ad35557 100644
--- a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.dxc.hlsl
index 755a5c6..27be161 100644
--- a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.fxc.hlsl
index 755a5c6..27be161 100644
--- a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.dxc.hlsl
index f9670d0..21209ec 100644
--- a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.fxc.hlsl
index f9670d0..21209ec 100644
--- a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.dxc.hlsl
index 9ffb0cb..aef6cbf 100644
--- a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.fxc.hlsl
index 9ffb0cb..aef6cbf 100644
--- a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.dxc.hlsl
index b445f25..86b09a5 100644
--- a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.fxc.hlsl
index b445f25..86b09a5 100644
--- a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.dxc.hlsl
index b14e434..be5b02e 100644
--- a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.fxc.hlsl
index b14e434..be5b02e 100644
--- a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.dxc.hlsl
index d089970..805595f 100644
--- a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.fxc.hlsl
index d089970..805595f 100644
--- a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.dxc.hlsl
index 1dd1d03..e8b5015 100644
--- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.fxc.hlsl
index 1dd1d03..e8b5015 100644
--- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.dxc.hlsl
index 97de5a9..5badfe4 100644
--- a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.dxc.hlsl
index 446993e..a532067 100644
--- a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.fxc.hlsl
index 446993e..a532067 100644
--- a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.dxc.hlsl
index bb6559a..d6e5a46 100644
--- a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.fxc.hlsl
index bb6559a..d6e5a46 100644
--- a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.dxc.hlsl
index 48d63d1..86e640a 100644
--- a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.dxc.hlsl
index 65902fb..37e00c4 100644
--- a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.dxc.hlsl
index 42acd55..108c2e1 100644
--- a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.fxc.hlsl
index 42acd55..108c2e1 100644
--- a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.dxc.hlsl
index 59157bf..dc63fe4 100644
--- a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.fxc.hlsl
index 59157bf..dc63fe4 100644
--- a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.dxc.hlsl
index e60270e..c65f812 100644
--- a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.fxc.hlsl
index e60270e..c65f812 100644
--- a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.dxc.hlsl
index 2e266a1..a885b57 100644
--- a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.dxc.hlsl
index 889d228..4db1806 100644
--- a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.fxc.hlsl
index 889d228..4db1806 100644
--- a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.dxc.hlsl
index 94ef8f5..55be234 100644
--- a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.fxc.hlsl
index 94ef8f5..55be234 100644
--- a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.dxc.hlsl
index 4d4a7fe..176a95a 100644
--- a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.fxc.hlsl
index 4d4a7fe..176a95a 100644
--- a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.dxc.hlsl
index d7be3bf..74bab1c 100644
--- a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.fxc.hlsl
index d7be3bf..74bab1c 100644
--- a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.dxc.hlsl
index 0fc602a..7f150f9 100644
--- a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.fxc.hlsl
index 0fc602a..7f150f9 100644
--- a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.dxc.hlsl
index 655045f..411a6a0 100644
--- a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.dxc.hlsl
index 5afc50c..b948074 100644
--- a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.dxc.hlsl
index 3c6705c..38586b7 100644
--- a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.fxc.hlsl
index 3c6705c..38586b7 100644
--- a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.dxc.hlsl
index ace295a..3f853a1 100644
--- a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.dxc.hlsl
index f17e79e..f50b17d 100644
--- a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.fxc.hlsl
index f17e79e..f50b17d 100644
--- a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.dxc.hlsl
index 079dd4e..dc6a57d 100644
--- a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.dxc.hlsl
index 77d878e..68d3dab 100644
--- a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.dxc.hlsl
index 8cc330a..dc566b9 100644
--- a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.fxc.hlsl
index 8cc330a..dc566b9 100644
--- a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.dxc.hlsl
index b014629..a214911 100644
--- a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.fxc.hlsl
index b014629..a214911 100644
--- a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.dxc.hlsl
index 6cf84f9..01108a3 100644
--- a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.fxc.hlsl
index 6cf84f9..01108a3 100644
--- a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.dxc.hlsl
index 19b968f..a5d45d4 100644
--- a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.fxc.hlsl
index 19b968f..a5d45d4 100644
--- a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.dxc.hlsl
index 23e1b74..74738ca 100644
--- a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.fxc.hlsl
index 23e1b74..74738ca 100644
--- a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.dxc.hlsl
index 9b84eeb..b9c4cfc 100644
--- a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.fxc.hlsl
index 9b84eeb..b9c4cfc 100644
--- a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
index de46b27..38e12ce 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_count_leading_zeros(uint v) {
   uint x = uint(v);
-  const uint b16 = ((x <= 65535u) ? 16u : 0u);
+  uint b16 = ((x <= 65535u) ? 16u : 0u);
   x = (x << b16);
-  const uint b8 = ((x <= 16777215u) ? 8u : 0u);
+  uint b8 = ((x <= 16777215u) ? 8u : 0u);
   x = (x << b8);
-  const uint b4 = ((x <= 268435455u) ? 4u : 0u);
+  uint b4 = ((x <= 268435455u) ? 4u : 0u);
   x = (x << b4);
-  const uint b2 = ((x <= 1073741823u) ? 2u : 0u);
+  uint b2 = ((x <= 1073741823u) ? 2u : 0u);
   x = (x << b2);
-  const uint b1 = ((x <= 2147483647u) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = ((x <= 2147483647u) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
index de46b27..38e12ce 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_count_leading_zeros(uint v) {
   uint x = uint(v);
-  const uint b16 = ((x <= 65535u) ? 16u : 0u);
+  uint b16 = ((x <= 65535u) ? 16u : 0u);
   x = (x << b16);
-  const uint b8 = ((x <= 16777215u) ? 8u : 0u);
+  uint b8 = ((x <= 16777215u) ? 8u : 0u);
   x = (x << b8);
-  const uint b4 = ((x <= 268435455u) ? 4u : 0u);
+  uint b4 = ((x <= 268435455u) ? 4u : 0u);
   x = (x << b4);
-  const uint b2 = ((x <= 1073741823u) ? 2u : 0u);
+  uint b2 = ((x <= 1073741823u) ? 2u : 0u);
   x = (x << b2);
-  const uint b1 = ((x <= 2147483647u) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = ((x <= 2147483647u) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
index 5a54b56..4c6fc9a 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int tint_count_leading_zeros(int v) {
   uint x = uint(v);
-  const uint b16 = ((x <= 65535u) ? 16u : 0u);
+  uint b16 = ((x <= 65535u) ? 16u : 0u);
   x = (x << b16);
-  const uint b8 = ((x <= 16777215u) ? 8u : 0u);
+  uint b8 = ((x <= 16777215u) ? 8u : 0u);
   x = (x << b8);
-  const uint b4 = ((x <= 268435455u) ? 4u : 0u);
+  uint b4 = ((x <= 268435455u) ? 4u : 0u);
   x = (x << b4);
-  const uint b2 = ((x <= 1073741823u) ? 2u : 0u);
+  uint b2 = ((x <= 1073741823u) ? 2u : 0u);
   x = (x << b2);
-  const uint b1 = ((x <= 2147483647u) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = ((x <= 2147483647u) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
index 5a54b56..4c6fc9a 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int tint_count_leading_zeros(int v) {
   uint x = uint(v);
-  const uint b16 = ((x <= 65535u) ? 16u : 0u);
+  uint b16 = ((x <= 65535u) ? 16u : 0u);
   x = (x << b16);
-  const uint b8 = ((x <= 16777215u) ? 8u : 0u);
+  uint b8 = ((x <= 16777215u) ? 8u : 0u);
   x = (x << b8);
-  const uint b4 = ((x <= 268435455u) ? 4u : 0u);
+  uint b4 = ((x <= 268435455u) ? 4u : 0u);
   x = (x << b4);
-  const uint b2 = ((x <= 1073741823u) ? 2u : 0u);
+  uint b2 = ((x <= 1073741823u) ? 2u : 0u);
   x = (x << b2);
-  const uint b1 = ((x <= 2147483647u) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = ((x <= 2147483647u) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
index b31cd4c..97a9aed 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_count_leading_zeros(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
+  uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
   x = (x << b16);
-  const uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
+  uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
   x = (x << b8);
-  const uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
+  uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
   x = (x << b4);
-  const uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
+  uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
   x = (x << b2);
-  const uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
index b31cd4c..97a9aed 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_count_leading_zeros(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
+  uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
   x = (x << b16);
-  const uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
+  uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
   x = (x << b8);
-  const uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
+  uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
   x = (x << b4);
-  const uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
+  uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
   x = (x << b2);
-  const uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
index 1ca4694..257757c 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_count_leading_zeros(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
   x = (x << b16);
-  const uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
   x = (x << b8);
-  const uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
   x = (x << b4);
-  const uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
   x = (x << b2);
-  const uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
index 1ca4694..257757c 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_count_leading_zeros(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
   x = (x << b16);
-  const uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
   x = (x << b8);
-  const uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
   x = (x << b4);
-  const uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
   x = (x << b2);
-  const uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
index 54d9234..02088f9 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_count_leading_zeros(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
+  uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
   x = (x << b16);
-  const uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
+  uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
   x = (x << b8);
-  const uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
+  uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
   x = (x << b4);
-  const uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
+  uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
   x = (x << b2);
-  const uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
index 54d9234..02088f9 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_count_leading_zeros(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
+  uint2 b16 = ((x <= (65535u).xx) ? (16u).xx : (0u).xx);
   x = (x << b16);
-  const uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
+  uint2 b8 = ((x <= (16777215u).xx) ? (8u).xx : (0u).xx);
   x = (x << b8);
-  const uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
+  uint2 b4 = ((x <= (268435455u).xx) ? (4u).xx : (0u).xx);
   x = (x << b4);
-  const uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
+  uint2 b2 = ((x <= (1073741823u).xx) ? (2u).xx : (0u).xx);
   x = (x << b2);
-  const uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = ((x <= (2147483647u).xx) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
index e4ded49..60cb0fb 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_count_leading_zeros(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
   x = (x << b16);
-  const uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
   x = (x << b8);
-  const uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
   x = (x << b4);
-  const uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
   x = (x << b2);
-  const uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
index e4ded49..60cb0fb 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_count_leading_zeros(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = ((x <= (65535u).xxx) ? (16u).xxx : (0u).xxx);
   x = (x << b16);
-  const uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = ((x <= (16777215u).xxx) ? (8u).xxx : (0u).xxx);
   x = (x << b8);
-  const uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = ((x <= (268435455u).xxx) ? (4u).xxx : (0u).xxx);
   x = (x << b4);
-  const uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = ((x <= (1073741823u).xxx) ? (2u).xxx : (0u).xxx);
   x = (x << b2);
-  const uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = ((x <= (2147483647u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
index 9db4414..f721dc1 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_count_leading_zeros(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
   x = (x << b16);
-  const uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
   x = (x << b8);
-  const uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
   x = (x << b4);
-  const uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
   x = (x << b2);
-  const uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
index 9db4414..f721dc1 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_count_leading_zeros(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
   x = (x << b16);
-  const uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
   x = (x << b8);
-  const uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
   x = (x << b4);
-  const uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
   x = (x << b2);
-  const uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
index d79eb65..f3efdd1 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_count_leading_zeros(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
   x = (x << b16);
-  const uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
   x = (x << b8);
-  const uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
   x = (x << b4);
-  const uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
   x = (x << b2);
-  const uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
index d79eb65..f3efdd1 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_count_leading_zeros(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = ((x <= (65535u).xxxx) ? (16u).xxxx : (0u).xxxx);
   x = (x << b16);
-  const uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = ((x <= (16777215u).xxxx) ? (8u).xxxx : (0u).xxxx);
   x = (x << b8);
-  const uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = ((x <= (268435455u).xxxx) ? (4u).xxxx : (0u).xxxx);
   x = (x << b4);
-  const uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = ((x <= (1073741823u).xxxx) ? (2u).xxxx : (0u).xxxx);
   x = (x << b2);
-  const uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = ((x <= (2147483647u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
index 36da583..939639a 100644
--- a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
index 36da583..939639a 100644
--- a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.dxc.hlsl
index 882b175..b6b35ef 100644
--- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.fxc.hlsl
index 882b175..b6b35ef 100644
--- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
index e15b5bd..de740f1 100644
--- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
index e15b5bd..de740f1 100644
--- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.dxc.hlsl
index d1b312d..fee566a 100644
--- a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.fxc.hlsl
index d1b312d..fee566a 100644
--- a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.dxc.hlsl
index 396857c..1d01bb1 100644
--- a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.fxc.hlsl
index 396857c..1d01bb1 100644
--- a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
index 75a8914..8c7de2d 100644
--- a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
index 75a8914..8c7de2d 100644
--- a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.dxc.hlsl
index 6dc1616..2187398 100644
--- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.fxc.hlsl
index 6dc1616..2187398 100644
--- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
index b0ccab3..695abe3 100644
--- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
index b0ccab3..695abe3 100644
--- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
index 647f6f5..616ac54 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_count_trailing_zeros(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
index 647f6f5..616ac54 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_count_trailing_zeros(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
index 92f69e7..5f93ef0 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_count_trailing_zeros(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
index 92f69e7..5f93ef0 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_count_trailing_zeros(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
index 426bd45..e983d78 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_count_trailing_zeros(uint v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
index 426bd45..e983d78 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_count_trailing_zeros(uint v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
index 70a6226..df9693a 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_count_trailing_zeros(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
index 70a6226..df9693a 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_count_trailing_zeros(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (1u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
index 939308f..fe85e50 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int tint_count_trailing_zeros(int v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
index 939308f..fe85e50 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int tint_count_trailing_zeros(int v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 1u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 1u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
index 311e116..c2f9085 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_count_trailing_zeros(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
index 311e116..c2f9085 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_count_trailing_zeros(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
index 635bc77..7f68cf2 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_count_trailing_zeros(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
index 635bc77..7f68cf2 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_count_trailing_zeros(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (1u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
index c4c7d4f..7114579 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_count_trailing_zeros(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
index c4c7d4f..7114579 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_count_trailing_zeros(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (1u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) + is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.dxc.hlsl
index e9d6343..1520fd8 100644
--- a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.fxc.hlsl
index e9d6343..1520fd8 100644
--- a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.dxc.hlsl
index 0ca2ea4..4f8d12c 100644
--- a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.fxc.hlsl
index 0ca2ea4..4f8d12c 100644
--- a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.dxc.hlsl
index 8888365..9d2a93a 100644
--- a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.dxc.hlsl
index 77ca98f..93bef61 100644
--- a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.fxc.hlsl
index 77ca98f..93bef61 100644
--- a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.dxc.hlsl
index c6622aa..b6c185f 100644
--- a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.fxc.hlsl
index c6622aa..b6c185f 100644
--- a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.dxc.hlsl
index 0ba1790..4ff41e4 100644
--- a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.fxc.hlsl
index 0ba1790..4ff41e4 100644
--- a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.dxc.hlsl
index 8c36406..2e5678a 100644
--- a/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.dxc.hlsl
index 8d09931..f9e3f1c 100644
--- a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.fxc.hlsl
index 8d09931..f9e3f1c 100644
--- a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.dxc.hlsl
index 71e6cc6..6093b43 100644
--- a/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.dxc.hlsl
index 7092c04..86accf6 100644
--- a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.fxc.hlsl
index 7092c04..86accf6 100644
--- a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.dxc.hlsl
index 1b755ad..e9ea689 100644
--- a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.fxc.hlsl
index 1b755ad..e9ea689 100644
--- a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.dxc.hlsl
index 5d5f6b3..51d6583 100644
--- a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.fxc.hlsl
index 5d5f6b3..51d6583 100644
--- a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.dxc.hlsl
index b3540cf..b44200f 100644
--- a/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.dxc.hlsl
index ccdd637..3b16e37 100644
--- a/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.dxc.hlsl
index 574781e6..df16048 100644
--- a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.fxc.hlsl
index 574781e6..df16048 100644
--- a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.dxc.hlsl
index 3202766..dcf3173 100644
--- a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.fxc.hlsl
index 3202766..dcf3173 100644
--- a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.dxc.hlsl
index 6b82f98..e0e7d1e 100644
--- a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.fxc.hlsl
index 6b82f98..e0e7d1e 100644
--- a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.dxc.hlsl
index 209b710..0952b0c 100644
--- a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.dxc.hlsl
index 58fb9e6..46d7c8c 100644
--- a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.fxc.hlsl
index 58fb9e6..46d7c8c 100644
--- a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.dxc.hlsl
index 8415cb1..894bcab 100644
--- a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.fxc.hlsl
index 8415cb1..894bcab 100644
--- a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.dxc.hlsl
index ff28608..dbdba60 100644
--- a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.fxc.hlsl
index ff28608..dbdba60 100644
--- a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.dxc.hlsl
index af59f8f..6e786fa 100644
--- a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.dxc.hlsl
index 7d18b7f..90dcdb2 100644
--- a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.fxc.hlsl
index 7d18b7f..90dcdb2 100644
--- a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.dxc.hlsl
index 2bb4af9..0c1fce0 100644
--- a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.dxc.hlsl
index 9ffbf62..ac772b2 100644
--- a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.fxc.hlsl
index 9ffbf62..ac772b2 100644
--- a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.dxc.hlsl
index 2bc4567..495f368 100644
--- a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.fxc.hlsl
index 2bc4567..495f368 100644
--- a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.dxc.hlsl
index ed6188d..627e9b9 100644
--- a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.dxc.hlsl
index 571353b..aae6dbf 100644
--- a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.dxc.hlsl
index 7fe07e2..81261fa 100644
--- a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.fxc.hlsl
index 7fe07e2..81261fa 100644
--- a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.dxc.hlsl
index 0b0022f..927c841 100644
--- a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.dxc.hlsl
index b2b0ed4..8589497 100644
--- a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.dxc.hlsl
index 0f5216d..a2421bf 100644
--- a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.fxc.hlsl
index 0f5216d..a2421bf 100644
--- a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.dxc.hlsl
index 56338f4..6f751a0 100644
--- a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.fxc.hlsl
index 56338f4..6f751a0 100644
--- a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.dxc.hlsl
index 6a2192f..1177c7e 100644
--- a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.fxc.hlsl
index 6a2192f..1177c7e 100644
--- a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.dxc.hlsl
index d8132f4..10871db 100644
--- a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.fxc.hlsl
index d8132f4..10871db 100644
--- a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.dxc.hlsl
index 2c8da65..dd4934c 100644
--- a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.fxc.hlsl
index 2c8da65..dd4934c 100644
--- a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.dxc.hlsl
index c4e18de..1bd99c5 100644
--- a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.fxc.hlsl
index c4e18de..1bd99c5 100644
--- a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.dxc.hlsl
index 99c2215..173c80a 100644
--- a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.fxc.hlsl
index 99c2215..173c80a 100644
--- a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.dxc.hlsl
index 46e88b5..b863451 100644
--- a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.fxc.hlsl
index 46e88b5..b863451 100644
--- a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.dxc.hlsl
index 77562dc..0d0339b 100644
--- a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.fxc.hlsl
index 77562dc..0d0339b 100644
--- a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.dxc.hlsl
index b6e6077..ea380bd 100644
--- a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.fxc.hlsl
index b6e6077..ea380bd 100644
--- a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.dxc.hlsl
index 4d7960a..9dfe7c8 100644
--- a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.fxc.hlsl
index 4d7960a..9dfe7c8 100644
--- a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.dxc.hlsl
index 9d62b9a..09a95c7 100644
--- a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.fxc.hlsl
index 9d62b9a..09a95c7 100644
--- a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.dxc.hlsl
index 37a0728..d3ad683 100644
--- a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.dxc.hlsl
index 037763d..b5ce3b1 100644
--- a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.fxc.hlsl
index 037763d..b5ce3b1 100644
--- a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.dxc.hlsl
index 8bb8ee2..7f643be 100644
--- a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.fxc.hlsl
index 8bb8ee2..7f643be 100644
--- a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.dxc.hlsl
index c35aa55..426d118 100644
--- a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.fxc.hlsl
index c35aa55..426d118 100644
--- a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.dxc.hlsl
index edb6d30..6af3bc6 100644
--- a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.dxc.hlsl
index 04e2010..a080e8f 100644
--- a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.dxc.hlsl
index 4836149..d6c9732 100644
--- a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.fxc.hlsl
index 4836149..d6c9732 100644
--- a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.dxc.hlsl
index 348af30..45a36e3 100644
--- a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.fxc.hlsl
index 348af30..45a36e3 100644
--- a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.dxc.hlsl
index 28e59b5..5937dbd 100644
--- a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.fxc.hlsl
index 28e59b5..5937dbd 100644
--- a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.dxc.hlsl
index 831c078..48c12b7 100644
--- a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.fxc.hlsl
index 831c078..48c12b7 100644
--- a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.dxc.hlsl
index 692fde0..98cb7fb 100644
--- a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.fxc.hlsl
index 692fde0..98cb7fb 100644
--- a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
index e3519f6..b5e1a05 100644
--- a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
index 7818083..7592487 100644
--- a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int tint_dot4_i8_packed(uint a, uint b) {
-  const int4 a_i8 = (asint((uint4((a).xxxx) << uint4(24u, 16u, 8u, 0u))) >> (24u).xxxx);
-  const int4 b_i8 = (asint((uint4((b).xxxx) << uint4(24u, 16u, 8u, 0u))) >> (24u).xxxx);
+  int4 a_i8 = (asint((uint4((a).xxxx) << uint4(24u, 16u, 8u, 0u))) >> (24u).xxxx);
+  int4 b_i8 = (asint((uint4((b).xxxx) << uint4(24u, 16u, 8u, 0u))) >> (24u).xxxx);
   return dot(a_i8, b_i8);
 }
 
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
index 7d6897d..e385442 100644
--- a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
index b93f80d..54b2967 100644
--- a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_dot4_u8_packed(uint a, uint b) {
-  const uint4 a_u8 = ((uint4((a).xxxx) >> uint4(24u, 16u, 8u, 0u)) & (255u).xxxx);
-  const uint4 b_u8 = ((uint4((b).xxxx) >> uint4(24u, 16u, 8u, 0u)) & (255u).xxxx);
+  uint4 a_u8 = ((uint4((a).xxxx) >> uint4(24u, 16u, 8u, 0u)) & (255u).xxxx);
+  uint4 b_u8 = ((uint4((b).xxxx) >> uint4(24u, 16u, 8u, 0u)) & (255u).xxxx);
   return dot(a_u8, b_u8);
 }
 
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.dxc.hlsl
index c34496f..ffee421 100644
--- a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.fxc.hlsl
index c34496f..ffee421 100644
--- a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.dxc.hlsl
index 055e243..41c27a2 100644
--- a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.dxc.hlsl
index a67a536..4f9323c 100644
--- a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.fxc.hlsl
index a67a536..4f9323c 100644
--- a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.dxc.hlsl
index 806bc78..6e46481 100644
--- a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.dxc.hlsl
index 28dfe2e..108a6d4 100644
--- a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.fxc.hlsl
index 28dfe2e..108a6d4 100644
--- a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.dxc.hlsl
index e3ddaa8..e82f2d0 100644
--- a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.dxc.hlsl
index 03894d3..db2cdac 100644
--- a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.fxc.hlsl
index 03894d3..db2cdac 100644
--- a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.dxc.hlsl
index 69d74f4..f32059b 100644
--- a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.fxc.hlsl
index 69d74f4..f32059b 100644
--- a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.dxc.hlsl
index 439cbe2..ec9a05d 100644
--- a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.fxc.hlsl
index 439cbe2..ec9a05d 100644
--- a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.dxc.hlsl
index 023795a..97755b0 100644
--- a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.dxc.hlsl
index 38d7427..0866843 100644
--- a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.fxc.hlsl
index 38d7427..0866843 100644
--- a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.dxc.hlsl
index 7d907a4..68c8fc2 100644
--- a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.fxc.hlsl
index 7d907a4..68c8fc2 100644
--- a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.dxc.hlsl
index 46842c9..58ae435 100644
--- a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.dxc.hlsl
index e787438..55b06b6 100644
--- a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.fxc.hlsl
index e787438..55b06b6 100644
--- a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.dxc.hlsl
index 6e578be..6fe4c56 100644
--- a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.fxc.hlsl
index 6e578be..6fe4c56 100644
--- a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.dxc.hlsl
index c41710e..8d243b2 100644
--- a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.fxc.hlsl
index c41710e..8d243b2 100644
--- a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.dxc.hlsl
index 86006eb..0f1f994 100644
--- a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.dxc.hlsl
index f67ab78..e593db8 100644
--- a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.fxc.hlsl
index f67ab78..e593db8 100644
--- a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.dxc.hlsl
index cbcf21d..b9dfd56 100644
--- a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.fxc.hlsl
index cbcf21d..b9dfd56 100644
--- a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.dxc.hlsl
index 3654048..473f18a 100644
--- a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.dxc.hlsl
index 35acad2..efc22e4 100644
--- a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.fxc.hlsl
index 35acad2..efc22e4 100644
--- a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.dxc.hlsl
index e3b185b..71d1ec1 100644
--- a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.fxc.hlsl
index e3b185b..71d1ec1 100644
--- a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.dxc.hlsl
index 35b7bc2..209aa72 100644
--- a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.fxc.hlsl
index 35b7bc2..209aa72 100644
--- a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.dxc.hlsl
index 6070877..ae72b44 100644
--- a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.dxc.hlsl
index 2edd33d..83bb1e5 100644
--- a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint3 tint_extract_bits(uint3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.fxc.hlsl
index 2edd33d..83bb1e5 100644
--- a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint3 tint_extract_bits(uint3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0u).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.dxc.hlsl
index 8b15fa8..0aa9e90 100644
--- a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int tint_extract_bits(int v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int shl_result = ((shl < 32u) ? (v << shl) : 0);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int shl_result = ((shl < 32u) ? (v << shl) : 0);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.fxc.hlsl
index 8b15fa8..0aa9e90 100644
--- a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int tint_extract_bits(int v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int shl_result = ((shl < 32u) ? (v << shl) : 0);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int shl_result = ((shl < 32u) ? (v << shl) : 0);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.dxc.hlsl
index aebaa2d..496a84e 100644
--- a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint4 tint_extract_bits(uint4 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0u).xxxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0u).xxxx);
   return ((shr < 32u) ? (shl_result >> uint4((shr).xxxx)) : ((shl_result >> (31u).xxxx) >> (1u).xxxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.fxc.hlsl
index aebaa2d..496a84e 100644
--- a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint4 tint_extract_bits(uint4 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0u).xxxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0u).xxxx);
   return ((shr < 32u) ? (shl_result >> uint4((shr).xxxx)) : ((shl_result >> (31u).xxxx) >> (1u).xxxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.dxc.hlsl
index aa857ee..fe00d50 100644
--- a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int2 tint_extract_bits(int2 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0).xx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0).xx);
   return ((shr < 32u) ? (shl_result >> uint2((shr).xx)) : ((shl_result >> (31u).xx) >> (1u).xx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.fxc.hlsl
index aa857ee..fe00d50 100644
--- a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int2 tint_extract_bits(int2 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0).xx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0).xx);
   return ((shr < 32u) ? (shl_result >> uint2((shr).xx)) : ((shl_result >> (31u).xx) >> (1u).xx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.dxc.hlsl
index 89f50f1..bf2ec06 100644
--- a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint tint_extract_bits(uint v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.fxc.hlsl
index 89f50f1..bf2ec06 100644
--- a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint tint_extract_bits(uint v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint shl_result = ((shl < 32u) ? (v << shl) : 0u);
   return ((shr < 32u) ? (shl_result >> shr) : ((shl_result >> 31u) >> 1u));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.dxc.hlsl
index 61dd953..d27e3ac 100644
--- a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int3 tint_extract_bits(int3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.fxc.hlsl
index 61dd953..d27e3ac 100644
--- a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int3 tint_extract_bits(int3 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int3 shl_result = ((shl < 32u) ? (v << uint3((shl).xxx)) : (0).xxx);
   return ((shr < 32u) ? (shl_result >> uint3((shr).xxx)) : ((shl_result >> (31u).xxx) >> (1u).xxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.dxc.hlsl
index 3a17ec7..3be1be2 100644
--- a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 uint2 tint_extract_bits(uint2 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0u).xx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0u).xx);
   return ((shr < 32u) ? (shl_result >> uint2((shr).xx)) : ((shl_result >> (31u).xx) >> (1u).xx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.fxc.hlsl
index 3a17ec7..3be1be2 100644
--- a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 uint2 tint_extract_bits(uint2 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const uint2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0u).xx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  uint2 shl_result = ((shl < 32u) ? (v << uint2((shl).xx)) : (0u).xx);
   return ((shr < 32u) ? (shl_result >> uint2((shr).xx)) : ((shl_result >> (31u).xx) >> (1u).xx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.dxc.hlsl
index f72fd47..2ca29ce 100644
--- a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 int4 tint_extract_bits(int4 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0).xxxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0).xxxx);
   return ((shr < 32u) ? (shl_result >> uint4((shr).xxxx)) : ((shl_result >> (31u).xxxx) >> (1u).xxxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.fxc.hlsl
index f72fd47..2ca29ce 100644
--- a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 int4 tint_extract_bits(int4 v, uint offset, uint count) {
-  const uint s = min(offset, 32u);
-  const uint e = min(32u, (s + count));
-  const uint shl = (32u - e);
-  const uint shr = (shl + s);
-  const int4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0).xxxx);
+  uint s = min(offset, 32u);
+  uint e = min(32u, (s + count));
+  uint shl = (32u - e);
+  uint shr = (shl + s);
+  int4 shl_result = ((shl < 32u) ? (v << uint4((shl).xxxx)) : (0).xxxx);
   return ((shr < 32u) ? (shl_result >> uint4((shr).xxxx)) : ((shl_result >> (31u).xxxx) >> (1u).xxxx));
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.dxc.hlsl
index 1109ceb..80bfaf1 100644
--- a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.fxc.hlsl
index 1109ceb..80bfaf1 100644
--- a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.dxc.hlsl
index f31a70a..1ce6456 100644
--- a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.dxc.hlsl
index 10e55d1..eed7555 100644
--- a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.fxc.hlsl
index 10e55d1..eed7555 100644
--- a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.dxc.hlsl
index 0e435a8..42ad102 100644
--- a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.fxc.hlsl
index 0e435a8..42ad102 100644
--- a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.dxc.hlsl
index a91017d..ef0145a 100644
--- a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.fxc.hlsl
index a91017d..ef0145a 100644
--- a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.dxc.hlsl
index 01fde89..7d921e4 100644
--- a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.dxc.hlsl
index cdb1fc1..7a2494b 100644
--- a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.fxc.hlsl
index cdb1fc1..7a2494b 100644
--- a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
index 832e4ba..ec9a63c 100644
--- a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.dxc.hlsl
index 706394b..d527fe5 100644
--- a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.fxc.hlsl
index 706394b..d527fe5 100644
--- a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
index 374dc5a..7a4cccc 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_first_leading_bit(uint4 v) {
   uint4 x = v;
-  const uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
index 374dc5a..7a4cccc 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_first_leading_bit(uint4 v) {
   uint4 x = v;
-  const uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
index df41956..cf05b89 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_first_leading_bit(int3 v) {
   uint3 x = ((v < (0).xxx) ? uint3(~(v)) : uint3(v));
-  const uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
index df41956..cf05b89 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_first_leading_bit(int3 v) {
   uint3 x = ((v < (0).xxx) ? uint3(~(v)) : uint3(v));
-  const uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
index 33cbb76..4d5d27a 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_first_leading_bit(uint3 v) {
   uint3 x = v;
-  const uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
index 33cbb76..4d5d27a 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_first_leading_bit(uint3 v) {
   uint3 x = v;
-  const uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
+  uint3 b16 = (bool3((x & (4294901760u).xxx)) ? (16u).xxx : (0u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
+  uint3 b8 = (bool3((x & (65280u).xxx)) ? (8u).xxx : (0u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
+  uint3 b4 = (bool3((x & (240u).xxx)) ? (4u).xxx : (0u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
+  uint3 b2 = (bool3((x & (12u).xxx)) ? (2u).xxx : (0u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (2u).xxx)) ? (1u).xxx : (0u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
index a73633c..44b892c 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int tint_first_leading_bit(int v) {
   uint x = ((v < 0) ? uint(~(v)) : uint(v));
-  const uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
+  uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 65280u)) ? 8u : 0u);
+  uint b8 = (bool((x & 65280u)) ? 8u : 0u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 240u)) ? 4u : 0u);
+  uint b4 = (bool((x & 240u)) ? 4u : 0u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 12u)) ? 2u : 0u);
+  uint b2 = (bool((x & 12u)) ? 2u : 0u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 2u)) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 2u)) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
index a73633c..44b892c 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int tint_first_leading_bit(int v) {
   uint x = ((v < 0) ? uint(~(v)) : uint(v));
-  const uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
+  uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 65280u)) ? 8u : 0u);
+  uint b8 = (bool((x & 65280u)) ? 8u : 0u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 240u)) ? 4u : 0u);
+  uint b4 = (bool((x & 240u)) ? 4u : 0u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 12u)) ? 2u : 0u);
+  uint b2 = (bool((x & 12u)) ? 2u : 0u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 2u)) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 2u)) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
index ec445c9..cd4065c 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_first_leading_bit(uint2 v) {
   uint2 x = v;
-  const uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
+  uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
+  uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
+  uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
+  uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
index ec445c9..cd4065c 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_first_leading_bit(uint2 v) {
   uint2 x = v;
-  const uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
+  uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
+  uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
+  uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
+  uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
index bf4b353..a9b74d0 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_first_leading_bit(int2 v) {
   uint2 x = ((v < (0).xx) ? uint2(~(v)) : uint2(v));
-  const uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
+  uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
+  uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
+  uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
+  uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
index bf4b353..a9b74d0 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_first_leading_bit(int2 v) {
   uint2 x = ((v < (0).xx) ? uint2(~(v)) : uint2(v));
-  const uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
+  uint2 b16 = (bool2((x & (4294901760u).xx)) ? (16u).xx : (0u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
+  uint2 b8 = (bool2((x & (65280u).xx)) ? (8u).xx : (0u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
+  uint2 b4 = (bool2((x & (240u).xx)) ? (4u).xx : (0u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
+  uint2 b2 = (bool2((x & (12u).xx)) ? (2u).xx : (0u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (2u).xx)) ? (1u).xx : (0u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
index e249d07..56115dd 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_first_leading_bit(int4 v) {
   uint4 x = ((v < (0).xxxx) ? uint4(~(v)) : uint4(v));
-  const uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
index e249d07..56115dd 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_first_leading_bit(int4 v) {
   uint4 x = ((v < (0).xxxx) ? uint4(~(v)) : uint4(v));
-  const uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
+  uint4 b16 = (bool4((x & (4294901760u).xxxx)) ? (16u).xxxx : (0u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
+  uint4 b8 = (bool4((x & (65280u).xxxx)) ? (8u).xxxx : (0u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
+  uint4 b4 = (bool4((x & (240u).xxxx)) ? (4u).xxxx : (0u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
+  uint4 b2 = (bool4((x & (12u).xxxx)) ? (2u).xxxx : (0u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (2u).xxxx)) ? (1u).xxxx : (0u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
index ff7bac9..3064e28 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_first_leading_bit(uint v) {
   uint x = v;
-  const uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
+  uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 65280u)) ? 8u : 0u);
+  uint b8 = (bool((x & 65280u)) ? 8u : 0u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 240u)) ? 4u : 0u);
+  uint b4 = (bool((x & 240u)) ? 4u : 0u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 12u)) ? 2u : 0u);
+  uint b2 = (bool((x & 12u)) ? 2u : 0u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 2u)) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 2u)) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
index ff7bac9..3064e28 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_first_leading_bit(uint v) {
   uint x = v;
-  const uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
+  uint b16 = (bool((x & 4294901760u)) ? 16u : 0u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 65280u)) ? 8u : 0u);
+  uint b8 = (bool((x & 65280u)) ? 8u : 0u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 240u)) ? 4u : 0u);
+  uint b4 = (bool((x & 240u)) ? 4u : 0u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 12u)) ? 2u : 0u);
+  uint b2 = (bool((x & 12u)) ? 2u : 0u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 2u)) ? 1u : 0u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 2u)) ? 1u : 0u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
index cd6fb07..3c08a08 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_first_trailing_bit(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
index cd6fb07..3c08a08 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint4 tint_first_trailing_bit(uint4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return uint4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
index 4ffe427..9397428 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int tint_first_trailing_bit(int v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
index 4ffe427..9397428 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int tint_first_trailing_bit(int v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return int((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
index 94a6ff5..a557240 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_first_trailing_bit(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
index 94a6ff5..a557240 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint2 tint_first_trailing_bit(uint2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return uint2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
index 48f91d1..153b709 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_first_trailing_bit(uint v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
index 48f91d1..153b709 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint tint_first_trailing_bit(uint v) {
   uint x = uint(v);
-  const uint b16 = (bool((x & 65535u)) ? 0u : 16u);
+  uint b16 = (bool((x & 65535u)) ? 0u : 16u);
   x = (x >> b16);
-  const uint b8 = (bool((x & 255u)) ? 0u : 8u);
+  uint b8 = (bool((x & 255u)) ? 0u : 8u);
   x = (x >> b8);
-  const uint b4 = (bool((x & 15u)) ? 0u : 4u);
+  uint b4 = (bool((x & 15u)) ? 0u : 4u);
   x = (x >> b4);
-  const uint b2 = (bool((x & 3u)) ? 0u : 2u);
+  uint b2 = (bool((x & 3u)) ? 0u : 2u);
   x = (x >> b2);
-  const uint b1 = (bool((x & 1u)) ? 0u : 1u);
-  const uint is_zero = ((x == 0u) ? 4294967295u : 0u);
+  uint b1 = (bool((x & 1u)) ? 0u : 1u);
+  uint is_zero = ((x == 0u) ? 4294967295u : 0u);
   return uint((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
index bae8c92..8dc3094 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_first_trailing_bit(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
index bae8c92..8dc3094 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int2 tint_first_trailing_bit(int2 v) {
   uint2 x = uint2(v);
-  const uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
+  uint2 b16 = (bool2((x & (65535u).xx)) ? (0u).xx : (16u).xx);
   x = (x >> b16);
-  const uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
+  uint2 b8 = (bool2((x & (255u).xx)) ? (0u).xx : (8u).xx);
   x = (x >> b8);
-  const uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
+  uint2 b4 = (bool2((x & (15u).xx)) ? (0u).xx : (4u).xx);
   x = (x >> b4);
-  const uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
+  uint2 b2 = (bool2((x & (3u).xx)) ? (0u).xx : (2u).xx);
   x = (x >> b2);
-  const uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
-  const uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
+  uint2 b1 = (bool2((x & (1u).xx)) ? (0u).xx : (1u).xx);
+  uint2 is_zero = ((x == (0u).xx) ? (4294967295u).xx : (0u).xx);
   return int2((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
index 657b17d..ab8914e 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_first_trailing_bit(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
index 657b17d..ab8914e 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int3 tint_first_trailing_bit(int3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return int3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
index 431725f..e784e66 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_first_trailing_bit(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
index 431725f..e784e66 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 int4 tint_first_trailing_bit(int4 v) {
   uint4 x = uint4(v);
-  const uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
+  uint4 b16 = (bool4((x & (65535u).xxxx)) ? (0u).xxxx : (16u).xxxx);
   x = (x >> b16);
-  const uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
+  uint4 b8 = (bool4((x & (255u).xxxx)) ? (0u).xxxx : (8u).xxxx);
   x = (x >> b8);
-  const uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
+  uint4 b4 = (bool4((x & (15u).xxxx)) ? (0u).xxxx : (4u).xxxx);
   x = (x >> b4);
-  const uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
+  uint4 b2 = (bool4((x & (3u).xxxx)) ? (0u).xxxx : (2u).xxxx);
   x = (x >> b2);
-  const uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
-  const uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
+  uint4 b1 = (bool4((x & (1u).xxxx)) ? (0u).xxxx : (1u).xxxx);
+  uint4 is_zero = ((x == (0u).xxxx) ? (4294967295u).xxxx : (0u).xxxx);
   return int4((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
index 65f5609..e3b37f7 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.dxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_first_trailing_bit(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
index 65f5609..e3b37f7 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.fxc.hlsl
@@ -1,15 +1,15 @@
 uint3 tint_first_trailing_bit(uint3 v) {
   uint3 x = uint3(v);
-  const uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
+  uint3 b16 = (bool3((x & (65535u).xxx)) ? (0u).xxx : (16u).xxx);
   x = (x >> b16);
-  const uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
+  uint3 b8 = (bool3((x & (255u).xxx)) ? (0u).xxx : (8u).xxx);
   x = (x >> b8);
-  const uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
+  uint3 b4 = (bool3((x & (15u).xxx)) ? (0u).xxx : (4u).xxx);
   x = (x >> b4);
-  const uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
+  uint3 b2 = (bool3((x & (3u).xxx)) ? (0u).xxx : (2u).xxx);
   x = (x >> b2);
-  const uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
-  const uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
+  uint3 b1 = (bool3((x & (1u).xxx)) ? (0u).xxx : (1u).xxx);
+  uint3 is_zero = ((x == (0u).xxx) ? (4294967295u).xxx : (0u).xxx);
   return uint3((((((b16 | b8) | b4) | b2) | b1) | is_zero));
 }
 
@@ -31,7 +31,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.dxc.hlsl
index e05e05a..122980b 100644
--- a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.fxc.hlsl
index e05e05a..122980b 100644
--- a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.dxc.hlsl
index 36592b2..84b5dcd 100644
--- a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.dxc.hlsl
index 915e623..136e807 100644
--- a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.fxc.hlsl
index 915e623..136e807 100644
--- a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.dxc.hlsl
index f85f8e8..c93ce16 100644
--- a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.fxc.hlsl
index f85f8e8..c93ce16 100644
--- a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.dxc.hlsl
index 9a88b6d..7700889 100644
--- a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.fxc.hlsl
index 9a88b6d..7700889 100644
--- a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.dxc.hlsl
index 4d1b4bf..61c89e3 100644
--- a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.fxc.hlsl
index 4d1b4bf..61c89e3 100644
--- a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.dxc.hlsl
index 0060489..2aacc3b 100644
--- a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.dxc.hlsl
index b31726b..9b92779 100644
--- a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.fxc.hlsl
index b31726b..9b92779 100644
--- a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.dxc.hlsl
index 15b62e4..2a6bae4 100644
--- a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.dxc.hlsl
index 085e182..7ba577f 100644
--- a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.dxc.hlsl
index e7f8650..d87affb 100644
--- a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.fxc.hlsl
index e7f8650..d87affb 100644
--- a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.dxc.hlsl
index c988d3c..48fd643 100644
--- a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.fxc.hlsl
index c988d3c..48fd643 100644
--- a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.dxc.hlsl
index 6c3ad71..1afa351 100644
--- a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.fxc.hlsl
index 6c3ad71..1afa351 100644
--- a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.dxc.hlsl
index e7655ab..42d5217 100644
--- a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.fxc.hlsl
index e7655ab..42d5217 100644
--- a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.dxc.hlsl
index 30a4cfd..cd7e6af 100644
--- a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.fxc.hlsl
index 30a4cfd..cd7e6af 100644
--- a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.dxc.hlsl
index c070a74..c06385b 100644
--- a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.fxc.hlsl
index c070a74..c06385b 100644
--- a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.dxc.hlsl
index ea5fb29..06520a8 100644
--- a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.fxc.hlsl
index ea5fb29..06520a8 100644
--- a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.dxc.hlsl
index b2f6c58..846f69a 100644
--- a/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.dxc.hlsl
index 9a6a310..f09267d 100644
--- a/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.dxc.hlsl
index e2bd115..410f177 100644
--- a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.fxc.hlsl
index e2bd115..410f177 100644
--- a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.dxc.hlsl
index 60509b7..11c0953 100644
--- a/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.dxc.hlsl
index 09dedbe..1c1ab2e 100644
--- a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.fxc.hlsl
index 09dedbe..1c1ab2e 100644
--- a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.dxc.hlsl
index 3000f03..517d923 100644
--- a/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.dxc.hlsl
index 7036fc6..42e07a7 100644
--- a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.fxc.hlsl
index 7036fc6..42e07a7 100644
--- a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.dxc.hlsl
index 2340f2b..25fa52a 100644
--- a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.dxc.hlsl
index c27230f..da6d23d 100644
--- a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.fxc.hlsl
index c27230f..da6d23d 100644
--- a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.dxc.hlsl
index d66469b..3a9f2e0 100644
--- a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.dxc.hlsl
index cdb4fc8..2fc3863 100644
--- a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.fxc.hlsl
index cdb4fc8..2fc3863 100644
--- a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.dxc.hlsl
index 3a2e938..adbb78b 100644
--- a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.fxc.hlsl
index 3a2e938..adbb78b 100644
--- a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.dxc.hlsl
index 3830162..82b98c6 100644
--- a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.fxc.hlsl
index 3830162..82b98c6 100644
--- a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.dxc.hlsl
index 2545146..11ebb66 100644
--- a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.dxc.hlsl
index c02cdbc..4e3a38b 100644
--- a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.fxc.hlsl
index c02cdbc..4e3a38b 100644
--- a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.dxc.hlsl
index e0b75a1..1572e46 100644
--- a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.dxc.hlsl
index de1638a..8deb752 100644
--- a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.fxc.hlsl
index de1638a..8deb752 100644
--- a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.dxc.hlsl
index 3686b4b..999f3b6 100644
--- a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.fxc.hlsl
index 3686b4b..999f3b6 100644
--- a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.dxc.hlsl
index 1f1195b..0902411 100644
--- a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.fxc.hlsl
index 1f1195b..0902411 100644
--- a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.dxc.hlsl
index 62d50ee..4dd4851 100644
--- a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.fxc.hlsl
index 62d50ee..4dd4851 100644
--- a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.dxc.hlsl
index 465dc0e..e4b566f 100644
--- a/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.dxc.hlsl
index f4975e6..5a50eaa 100644
--- a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.fxc.hlsl
index f4975e6..5a50eaa 100644
--- a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.fxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.dxc.hlsl
index a7cb36b..c0b8496 100644
--- a/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.dxc.hlsl
index 798a819..84b7c53 100644
--- a/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.dxc.hlsl
index f867068..c7e7385 100644
--- a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.fxc.hlsl
index f867068..c7e7385 100644
--- a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.dxc.hlsl
index 2bc5ebb..1e12a3c 100644
--- a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.fxc.hlsl
index 2bc5ebb..1e12a3c 100644
--- a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.fxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.dxc.hlsl
index 14e8902..10b9364 100644
--- a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.fxc.hlsl
index 14e8902..10b9364 100644
--- a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.fxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.dxc.hlsl
index a9c8585..7a00294 100644
--- a/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.dxc.hlsl
index 567f391..78ccfd4 100644
--- a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.fxc.hlsl
index 567f391..78ccfd4 100644
--- a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.dxc.hlsl
index daf958c..b28a604 100644
--- a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.fxc.hlsl
index daf958c..b28a604 100644
--- a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.dxc.hlsl
index 84bd5ce..106cbf6 100644
--- a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.dxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.fxc.hlsl
index 84bd5ce..106cbf6 100644
--- a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.fxc.hlsl
@@ -24,7 +24,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
index ca30ecf..1dbe5d0 100644
--- a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint2 tint_insert_bits(uint2 v, uint2 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint2((offset).xx)) : (0u).xx) & uint2((mask).xx)) | (v & uint2((~(mask)).xx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
index ca30ecf..1dbe5d0 100644
--- a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint2 tint_insert_bits(uint2 v, uint2 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint2((offset).xx)) : (0u).xx) & uint2((mask).xx)) | (v & uint2((~(mask)).xx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.dxc.hlsl
index b61e200..b87131b 100644
--- a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_insert_bits(int3 v, int3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0).xxx) & int3((int(mask)).xxx)) | (v & int3((int(~(mask))).xxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.fxc.hlsl
index b61e200..b87131b 100644
--- a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_insert_bits(int3 v, int3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0).xxx) & int3((int(mask)).xxx)) | (v & int3((int(~(mask))).xxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.dxc.hlsl
index 2c49fe0..20de8a3 100644
--- a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint4 tint_insert_bits(uint4 v, uint4 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint4((offset).xxxx)) : (0u).xxxx) & uint4((mask).xxxx)) | (v & uint4((~(mask)).xxxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.fxc.hlsl
index 2c49fe0..20de8a3 100644
--- a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint4 tint_insert_bits(uint4 v, uint4 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint4((offset).xxxx)) : (0u).xxxx) & uint4((mask).xxxx)) | (v & uint4((~(mask)).xxxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.dxc.hlsl
index c6d3478..8f680de 100644
--- a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int tint_insert_bits(int v, int n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0) & int(mask)) | (v & int(~(mask))));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.fxc.hlsl
index c6d3478..8f680de 100644
--- a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int tint_insert_bits(int v, int n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0) & int(mask)) | (v & int(~(mask))));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.dxc.hlsl
index 3c09859..16a0abf 100644
--- a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint3 tint_insert_bits(uint3 v, uint3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0u).xxx) & uint3((mask).xxx)) | (v & uint3((~(mask)).xxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.fxc.hlsl
index 3c09859..16a0abf 100644
--- a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint3 tint_insert_bits(uint3 v, uint3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0u).xxx) & uint3((mask).xxx)) | (v & uint3((~(mask)).xxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.dxc.hlsl
index db0d3f3..257c03c 100644
--- a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int4 tint_insert_bits(int4 v, int4 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint4((offset).xxxx)) : (0).xxxx) & int4((int(mask)).xxxx)) | (v & int4((int(~(mask))).xxxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.fxc.hlsl
index db0d3f3..257c03c 100644
--- a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int4 tint_insert_bits(int4 v, int4 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint4((offset).xxxx)) : (0).xxxx) & int4((int(mask)).xxxx)) | (v & int4((int(~(mask))).xxxx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
index 9e4ed94..d018a92 100644
--- a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_insert_bits(uint v, uint n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0u) & mask) | (v & ~(mask)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
index 9e4ed94..d018a92 100644
--- a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_insert_bits(uint v, uint n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0u) & mask) | (v & ~(mask)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
index a3e8ed7..4ed00cc 100644
--- a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int2 tint_insert_bits(int2 v, int2 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint2((offset).xx)) : (0).xx) & int2((int(mask)).xx)) | (v & int2((int(~(mask))).xx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
index a3e8ed7..4ed00cc 100644
--- a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int2 tint_insert_bits(int2 v, int2 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint2((offset).xx)) : (0).xx) & int2((int(mask)).xx)) | (v & int2((int(~(mask))).xx)));
 }
 
@@ -25,7 +25,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
index 5068619..8a9ee94 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
index 5068619..8a9ee94 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.dxc.hlsl
index d447ee1..7fdf04e 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
index 9dc23af..1b04ed2 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
index 9dc23af..1b04ed2 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
index 8ce03b7..baa5ad3 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
index 23ea6a39..13c4151 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
index 23ea6a39..13c4151 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
index e2c915f..9ce1e60 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
index e2c915f..9ce1e60 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
index d7619e8..dacd806 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
index d7619e8..dacd806 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
index 5206933..4524412 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
index 5206933..4524412 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
index 0476b5d..27b5a93 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
index 8c53a97..dde0e66 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
index 8c53a97..dde0e66 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
index e18e6c7..84c18ef 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
index 7318b17..488b01f 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
index 7318b17..488b01f 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.dxc.hlsl
index 80eb5c9..dba95a1 100644
--- a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.dxc.hlsl
index 2d0571f..4efae84 100644
--- a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.dxc.hlsl
index 8fb4588..12fd753 100644
--- a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.fxc.hlsl
index 8fb4588..12fd753 100644
--- a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.dxc.hlsl
index 0d34505..30cc566 100644
--- a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.fxc.hlsl
index 0d34505..30cc566 100644
--- a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.dxc.hlsl
index b45c9c7..d2bf3b1 100644
--- a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.fxc.hlsl
index b45c9c7..d2bf3b1 100644
--- a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.dxc.hlsl
index ac05591..5d6f050 100644
--- a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
index e2e2d8d..6708cde 100644
--- a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
index e2e2d8d..6708cde 100644
--- a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.dxc.hlsl
index 3bdbb51..036e1c6 100644
--- a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.fxc.hlsl
index 3bdbb51..036e1c6 100644
--- a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.dxc.hlsl
index 299896e..c005763 100644
--- a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.dxc.hlsl
index 55f78a5..dcc63a6 100644
--- a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.fxc.hlsl
index 55f78a5..dcc63a6 100644
--- a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.dxc.hlsl
index a0a920a..e11ac07 100644
--- a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.fxc.hlsl
index a0a920a..e11ac07 100644
--- a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.dxc.hlsl
index 8f0ed9e..7c668e8 100644
--- a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.dxc.hlsl
index b87ff57..5f72c78 100644
--- a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
index 437fda6..e7e8abe 100644
--- a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.dxc.hlsl
index 3823707..769e0f1 100644
--- a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.dxc.hlsl
index df34590..8e3cb0e 100644
--- a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.fxc.hlsl
index df34590..8e3cb0e 100644
--- a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.dxc.hlsl
index 7480b98..7619eb2 100644
--- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.fxc.hlsl
index 7480b98..7619eb2 100644
--- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.dxc.hlsl
index b8c3fab..bc530d9 100644
--- a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.fxc.hlsl
index b8c3fab..bc530d9 100644
--- a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.dxc.hlsl
index 757e41d..3b12747 100644
--- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.fxc.hlsl
index 757e41d..3b12747 100644
--- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
index bc0bb13..27ada54 100644
--- a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
index bc0bb13..27ada54 100644
--- a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.dxc.hlsl
index bd07498..26aff4f 100644
--- a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.fxc.hlsl
index bd07498..26aff4f 100644
--- a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.dxc.hlsl
index fee9edf..90b1ffd 100644
--- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.fxc.hlsl
index fee9edf..90b1ffd 100644
--- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.dxc.hlsl
index f46029c..83d7f27 100644
--- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.fxc.hlsl
index f46029c..83d7f27 100644
--- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
index ce91ad5..d49d1dc 100644
--- a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
index ce91ad5..d49d1dc 100644
--- a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/056071.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/056071.wgsl.expected.dxc.hlsl
index 4369c36..96b7883 100644
--- a/test/tint/builtins/gen/var/length/056071.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/056071.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/056071.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/056071.wgsl.expected.fxc.hlsl
index 4369c36..96b7883 100644
--- a/test/tint/builtins/gen/var/length/056071.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/056071.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.dxc.hlsl
index 13277cf..8d47672 100644
--- a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.dxc.hlsl
index ae75f2e..1265503 100644
--- a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.fxc.hlsl
index ae75f2e..1265503 100644
--- a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.dxc.hlsl
index fe7962a..b262e1c 100644
--- a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.dxc.hlsl
index 54c4729..962dde6 100644
--- a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.fxc.hlsl
index 54c4729..962dde6 100644
--- a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.dxc.hlsl
index 08e83f5..2f348ec 100644
--- a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.fxc.hlsl
index 08e83f5..2f348ec 100644
--- a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.dxc.hlsl
index cf6a772..f16d3a9 100644
--- a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.fxc.hlsl
index cf6a772..f16d3a9 100644
--- a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.dxc.hlsl
index cb9031b..fa731b3 100644
--- a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.fxc.hlsl
index cb9031b..fa731b3 100644
--- a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.dxc.hlsl
index 5ff8c69..a019ae3 100644
--- a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.dxc.hlsl
index ecb2e31..172e19a 100644
--- a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.fxc.hlsl
index ecb2e31..172e19a 100644
--- a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.dxc.hlsl
index ee2ece1..0b3855e 100644
--- a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.dxc.hlsl
index 3182250..3aa1e6d 100644
--- a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.fxc.hlsl
index 3182250..3aa1e6d 100644
--- a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.dxc.hlsl
index fc60411..1cb8238 100644
--- a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.fxc.hlsl
index fc60411..1cb8238 100644
--- a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/655989.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/655989.wgsl.expected.dxc.hlsl
index a8475f8..e764253 100644
--- a/test/tint/builtins/gen/var/log/655989.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/655989.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/655989.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/655989.wgsl.expected.fxc.hlsl
index a8475f8..e764253 100644
--- a/test/tint/builtins/gen/var/log/655989.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/655989.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.dxc.hlsl
index 56bdd4c..3d2dad9 100644
--- a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.fxc.hlsl
index 56bdd4c..3d2dad9 100644
--- a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.dxc.hlsl
index ac34759..4cb6490 100644
--- a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.dxc.hlsl
index 6793ce7..87f88bc 100644
--- a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.fxc.hlsl
index 6793ce7..87f88bc 100644
--- a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.dxc.hlsl
index 600e4e6..2b046fb 100644
--- a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.dxc.hlsl
index 780b38c..2d148de 100644
--- a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.fxc.hlsl
index 780b38c..2d148de 100644
--- a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.dxc.hlsl
index 0234c1d..2b25f35 100644
--- a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.fxc.hlsl
index 0234c1d..2b25f35 100644
--- a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.dxc.hlsl
index 8daecc5..b5febc0 100644
--- a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.dxc.hlsl
index a31efa5..1e3dda9 100644
--- a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.dxc.hlsl
index 8cac031..a61a611 100644
--- a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.fxc.hlsl
index 8cac031..a61a611 100644
--- a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.dxc.hlsl
index 41dbc64..20b4182 100644
--- a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.fxc.hlsl
index 41dbc64..20b4182 100644
--- a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.dxc.hlsl
index 9ddf089..4f83e80 100644
--- a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.fxc.hlsl
index 9ddf089..4f83e80 100644
--- a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.dxc.hlsl
index 6190e3b..ad20ec8 100644
--- a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.dxc.hlsl
index abcd7da..8b2beb9 100644
--- a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.fxc.hlsl
index abcd7da..8b2beb9 100644
--- a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.dxc.hlsl
index 87f9f25..ee51cbb 100644
--- a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.fxc.hlsl
index 87f9f25..ee51cbb 100644
--- a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.dxc.hlsl
index 1bd35a7..ab36b8e 100644
--- a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.fxc.hlsl
index 1bd35a7..ab36b8e 100644
--- a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.dxc.hlsl
index 32afff1..1b45f3c 100644
--- a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.dxc.hlsl
index 72a3f11..f097f3b 100644
--- a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.dxc.hlsl
index 5845c44..0c05210 100644
--- a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.fxc.hlsl
index 5845c44..0c05210 100644
--- a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.dxc.hlsl
index 4ea9b28..89a6133 100644
--- a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.fxc.hlsl
index 4ea9b28..89a6133 100644
--- a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.dxc.hlsl
index 33211ef..40065c7 100644
--- a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.fxc.hlsl
index 33211ef..40065c7 100644
--- a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.dxc.hlsl
index f226711..1670664 100644
--- a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.fxc.hlsl
index f226711..1670664 100644
--- a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.dxc.hlsl
index 7a28de3..baf8361 100644
--- a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.dxc.hlsl
index 9350998..a06f5f4 100644
--- a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.fxc.hlsl
index 9350998..a06f5f4 100644
--- a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.dxc.hlsl
index 4f688b1..f9a74e2 100644
--- a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.fxc.hlsl
index 4f688b1..f9a74e2 100644
--- a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.dxc.hlsl
index a8d57ad..5400662 100644
--- a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.dxc.hlsl
index f0c2335..ceee1eb 100644
--- a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.fxc.hlsl
index f0c2335..ceee1eb 100644
--- a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.dxc.hlsl
index 9aaf09b..64091f5 100644
--- a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.fxc.hlsl
index 9aaf09b..64091f5 100644
--- a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/320815.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/320815.wgsl.expected.dxc.hlsl
index 45943ee..17b3cc7 100644
--- a/test/tint/builtins/gen/var/max/320815.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/320815.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/320815.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/320815.wgsl.expected.fxc.hlsl
index 45943ee..17b3cc7 100644
--- a/test/tint/builtins/gen/var/max/320815.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/320815.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.dxc.hlsl
index d51d61b..f9dbad5 100644
--- a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/445169.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/445169.wgsl.expected.dxc.hlsl
index 688a2b9..d9231ae 100644
--- a/test/tint/builtins/gen/var/max/445169.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/445169.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.dxc.hlsl
index cd9dbc7..f6a8127 100644
--- a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.fxc.hlsl
index cd9dbc7..f6a8127 100644
--- a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.dxc.hlsl
index a6c6558..cba30bd 100644
--- a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.fxc.hlsl
index a6c6558..cba30bd 100644
--- a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/462050.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/462050.wgsl.expected.dxc.hlsl
index 5b582da..943689a 100644
--- a/test/tint/builtins/gen/var/max/462050.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/462050.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/462050.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/462050.wgsl.expected.fxc.hlsl
index 5b582da..943689a 100644
--- a/test/tint/builtins/gen/var/max/462050.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/462050.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.dxc.hlsl
index b78ebb0..b1c793d 100644
--- a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.fxc.hlsl
index b78ebb0..b1c793d 100644
--- a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.dxc.hlsl
index 066b03f..57ab1fc 100644
--- a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.fxc.hlsl
index 066b03f..57ab1fc 100644
--- a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.dxc.hlsl
index c98a352..422843d 100644
--- a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.fxc.hlsl
index c98a352..422843d 100644
--- a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.dxc.hlsl
index 482c3a3..d679d89 100644
--- a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.fxc.hlsl
index 482c3a3..d679d89 100644
--- a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.dxc.hlsl
index 5d0d9d0..d756ee7 100644
--- a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.fxc.hlsl
index 5d0d9d0..d756ee7 100644
--- a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.dxc.hlsl
index 00160ad..4f05c28 100644
--- a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.fxc.hlsl
index 00160ad..4f05c28 100644
--- a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.dxc.hlsl
index 9bb48d8..8e9cb2c 100644
--- a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.fxc.hlsl
index 9bb48d8..8e9cb2c 100644
--- a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.dxc.hlsl
index 06c0f3f..8405990 100644
--- a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.fxc.hlsl
index 06c0f3f..8405990 100644
--- a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.dxc.hlsl
index 25fc031..143344f 100644
--- a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.fxc.hlsl
index 25fc031..143344f 100644
--- a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.dxc.hlsl
index f5ae04a..e6381bf 100644
--- a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.fxc.hlsl
index f5ae04a..e6381bf 100644
--- a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.dxc.hlsl
index bc84ac8..aa0a59d 100644
--- a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.fxc.hlsl
index bc84ac8..aa0a59d 100644
--- a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.dxc.hlsl
index 0e41ff8..76d9454 100644
--- a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.dxc.hlsl
index 58742a4..16bb676 100644
--- a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.fxc.hlsl
index 58742a4..16bb676 100644
--- a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.dxc.hlsl
index 07eccc3..fe96000 100644
--- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.fxc.hlsl
index 07eccc3..fe96000 100644
--- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.dxc.hlsl
index 5905271..800c4ee 100644
--- a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.fxc.hlsl
index 5905271..800c4ee 100644
--- a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/364910.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/364910.wgsl.expected.dxc.hlsl
index 56e1c54..99664df 100644
--- a/test/tint/builtins/gen/var/min/364910.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/364910.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/364910.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/364910.wgsl.expected.fxc.hlsl
index 56e1c54..99664df 100644
--- a/test/tint/builtins/gen/var/min/364910.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/364910.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.dxc.hlsl
index 19eb529..7f46daa 100644
--- a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.fxc.hlsl
index 19eb529..7f46daa 100644
--- a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.dxc.hlsl
index 624055e..2ed32dd 100644
--- a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.fxc.hlsl
index 624055e..2ed32dd 100644
--- a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.dxc.hlsl
index 29fa25a..7ea60f5 100644
--- a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.fxc.hlsl
index 29fa25a..7ea60f5 100644
--- a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.dxc.hlsl
index 576e026..49abc4e 100644
--- a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.fxc.hlsl
index 576e026..49abc4e 100644
--- a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/717257.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/717257.wgsl.expected.dxc.hlsl
index 293d76b..bacc548 100644
--- a/test/tint/builtins/gen/var/min/717257.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/717257.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/717257.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/717257.wgsl.expected.fxc.hlsl
index 293d76b..bacc548 100644
--- a/test/tint/builtins/gen/var/min/717257.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/717257.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/794711.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/794711.wgsl.expected.dxc.hlsl
index 150411e..4fd5e0c 100644
--- a/test/tint/builtins/gen/var/min/794711.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/794711.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/794711.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/794711.wgsl.expected.fxc.hlsl
index 150411e..4fd5e0c 100644
--- a/test/tint/builtins/gen/var/min/794711.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/794711.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.dxc.hlsl
index 403db2b..ae26816 100644
--- a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.dxc.hlsl
index 1424d4b..e52e4fc 100644
--- a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.fxc.hlsl
index 1424d4b..e52e4fc 100644
--- a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.dxc.hlsl
index a63a30c..b012607 100644
--- a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.fxc.hlsl
index a63a30c..b012607 100644
--- a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.dxc.hlsl
index 01e8d0f..ee32ff9 100644
--- a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.fxc.hlsl
index 01e8d0f..ee32ff9 100644
--- a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.dxc.hlsl
index c948121..b71ebc9 100644
--- a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.fxc.hlsl
index c948121..b71ebc9 100644
--- a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.dxc.hlsl
index bc82bda..fd79716 100644
--- a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.fxc.hlsl
index bc82bda..fd79716 100644
--- a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.dxc.hlsl
index 4749b06..018e25b 100644
--- a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.fxc.hlsl
index 4749b06..018e25b 100644
--- a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.dxc.hlsl
index 6f6ecea..880e3bc 100644
--- a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.dxc.hlsl
index 4354c1d..15d07fc 100644
--- a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.dxc.hlsl
index f74e379..2f50a45 100644
--- a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.fxc.hlsl
index f74e379..2f50a45 100644
--- a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.dxc.hlsl
index 7caf772..a359eec 100644
--- a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.fxc.hlsl
index 7caf772..a359eec 100644
--- a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.dxc.hlsl
index 6d01cd1..9f9c296 100644
--- a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.fxc.hlsl
index 6d01cd1..9f9c296 100644
--- a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.dxc.hlsl
index 76c40e8..e531190 100644
--- a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.fxc.hlsl
index 76c40e8..e531190 100644
--- a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.dxc.hlsl
index d2f6889..0cfe89d 100644
--- a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.fxc.hlsl
index d2f6889..0cfe89d 100644
--- a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.dxc.hlsl
index eb7d46d..2005e7c 100644
--- a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.dxc.hlsl
index 2e68260..18654e0 100644
--- a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.fxc.hlsl
index 2e68260..18654e0 100644
--- a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.dxc.hlsl
index 475ba54..eff84b7 100644
--- a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.fxc.hlsl
index 475ba54..eff84b7 100644
--- a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.dxc.hlsl
index 08d2265..a8e5e94 100644
--- a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.fxc.hlsl
index 08d2265..a8e5e94 100644
--- a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.dxc.hlsl
index f2f059e..aaf1985 100644
--- a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.fxc.hlsl
index f2f059e..aaf1985 100644
--- a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.dxc.hlsl
index 0ba22ae..74eff63 100644
--- a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.fxc.hlsl
index 0ba22ae..74eff63 100644
--- a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.dxc.hlsl
index 24f5c85..2b29685 100644
--- a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.fxc.hlsl
index 24f5c85..2b29685 100644
--- a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.dxc.hlsl
index de57fb8..eedc8d1 100644
--- a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.fxc.hlsl
index de57fb8..eedc8d1 100644
--- a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.dxc.hlsl
index 67c8056..0c6a03a 100644
--- a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.dxc.hlsl
index 7745b9b..20d3348 100644
--- a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.fxc.hlsl
index 7745b9b..20d3348 100644
--- a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.dxc.hlsl
index f65ef19..3c89448 100644
--- a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.fxc.hlsl
index f65ef19..3c89448 100644
--- a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.dxc.hlsl
index 0ec024f..5b015d8 100644
--- a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.dxc.hlsl
index a361943..8954384 100644
--- a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.fxc.hlsl
index a361943..8954384 100644
--- a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.dxc.hlsl
index 88e6077..32bd03f 100644
--- a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.fxc.hlsl
index 88e6077..32bd03f 100644
--- a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.dxc.hlsl
index 319c722..dc25047 100644
--- a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.dxc.hlsl
index 0d84ee0..80acc60 100644
--- a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.fxc.hlsl
index 0d84ee0..80acc60 100644
--- a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.dxc.hlsl
index b10eaf9..8c174ba 100644
--- a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.dxc.hlsl
index 10811c8..f19903e 100644
--- a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.fxc.hlsl
index 10811c8..f19903e 100644
--- a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.dxc.hlsl
index c23db8a..5bcc8f4 100644
--- a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.dxc.hlsl
index b17793b..6e06c81 100644
--- a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.dxc.hlsl
index 1ef4207..191a74d 100644
--- a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.fxc.hlsl
index 1ef4207..191a74d 100644
--- a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.dxc.hlsl
index a57ff67..975d8c0 100644
--- a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.dxc.hlsl
index 31e9d9d..da37dac 100644
--- a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.fxc.hlsl
index 31e9d9d..da37dac 100644
--- a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.dxc.hlsl
index db8c084..45afcba 100644
--- a/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.dxc.hlsl
index 9393f20..1911d1f 100644
--- a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.fxc.hlsl
index 9393f20..1911d1f 100644
--- a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.dxc.hlsl
index 35b3d40..bd85b71 100644
--- a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.fxc.hlsl
index 35b3d40..bd85b71 100644
--- a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.dxc.hlsl
index b6d66be..b2086b0 100644
--- a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.fxc.hlsl
index b6d66be..b2086b0 100644
--- a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.dxc.hlsl
index 57110ac..dd3bb7c 100644
--- a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.fxc.hlsl
index 57110ac..dd3bb7c 100644
--- a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.dxc.hlsl
index ef0eb00..c0b418e 100644
--- a/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/995934.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/995934.wgsl.expected.dxc.hlsl
index 82b85d3..b0e5f64 100644
--- a/test/tint/builtins/gen/var/modf/995934.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/995934.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.dxc.hlsl
index 30290bc..6de0f3b 100644
--- a/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.dxc.hlsl
index 3c6c19f..d439caa 100644
--- a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.fxc.hlsl
index 3c6c19f..d439caa 100644
--- a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.dxc.hlsl
index efc499f..1040cd4 100644
--- a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.fxc.hlsl
index efc499f..1040cd4 100644
--- a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.dxc.hlsl
index f105600..d7972ec 100644
--- a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.fxc.hlsl
index f105600..d7972ec 100644
--- a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.dxc.hlsl
index 36bfc94..f18ae01 100644
--- a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.dxc.hlsl
index eaa400b..613a5bf 100644
--- a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.fxc.hlsl
index eaa400b..613a5bf 100644
--- a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.dxc.hlsl
index 19d529f..9ec5f8b 100644
--- a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.fxc.hlsl
index 19d529f..9ec5f8b 100644
--- a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.dxc.hlsl
index 8b6a389..4f5e54f 100644
--- a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.fxc.hlsl
index 8b6a389..4f5e54f 100644
--- a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.dxc.hlsl
index ed6ad74..8d98e91 100644
--- a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.dxc.hlsl
index 6f17124..52af509 100644
--- a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.fxc.hlsl
index 6f17124..52af509 100644
--- a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.dxc.hlsl
index 2ff97f2..bb99e9e 100644
--- a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.dxc.hlsl
index 0112f14..4aff919 100644
--- a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.fxc.hlsl
index 0112f14..4aff919 100644
--- a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.dxc.hlsl
index 93224c9..a4119b2 100644
--- a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.fxc.hlsl
index 93224c9..a4119b2 100644
--- a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
index a1e86fe..47a697e 100644
--- a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
index a1e86fe..47a697e 100644
--- a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
index fb7236d..e724c1c 100644
--- a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
index fb7236d..e724c1c 100644
--- a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
index f33f94c..31ac175 100644
--- a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
index f33f94c..31ac175 100644
--- a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
index 92981c7..82d363e 100644
--- a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
index 92981c7..82d363e 100644
--- a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
index b4cf3df..012daea 100644
--- a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
index b4cf3df..012daea 100644
--- a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
index c53d618..96e4c70 100644
--- a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
index 2602401..e1a8cdc 100644
--- a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_pack_4xi8(int4 a) {
-  const uint4 a_u32 = asuint(a);
-  const uint4 a_u8 = ((a_u32 & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
+  uint4 a_u32 = asuint(a);
+  uint4 a_u8 = ((a_u32 & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
   return dot(a_u8, (1u).xxxx);
 }
 
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
index cb36621..2179cd5 100644
--- a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
index 63ba8e6..945885e 100644
--- a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 uint tint_pack_4xi8_clamp(int4 a) {
-  const int4 a_clamp = clamp(a, (-128).xxxx, (127).xxxx);
-  const uint4 a_u32 = asuint(a_clamp);
-  const uint4 a_u8 = ((a_u32 & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
+  int4 a_clamp = clamp(a, (-128).xxxx, (127).xxxx);
+  uint4 a_u32 = asuint(a_clamp);
+  uint4 a_u8 = ((a_u32 & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
   return dot(a_u8, (1u).xxxx);
 }
 
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
index e28b1fe..51a8126 100644
--- a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
index 6552ff2..1799f6b 100644
--- a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint tint_pack_4xu8(uint4 a) {
-  const uint4 a_u8 = ((a & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
+  uint4 a_u8 = ((a & (255u).xxxx) << uint4(0u, 8u, 16u, 24u));
   return dot(a_u8, (1u).xxxx);
 }
 
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
index bd5dd50..7b8676d 100644
--- a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_pack_4xu8_clamp(uint4 a) {
-  const uint4 a_clamp = clamp(a, (0u).xxxx, (255u).xxxx);
-  const uint4 a_u8 = uint4((a_clamp << uint4(0u, 8u, 16u, 24u)));
+  uint4 a_clamp = clamp(a, (0u).xxxx, (255u).xxxx);
+  uint4 a_u8 = uint4((a_clamp << uint4(0u, 8u, 16u, 24u)));
   return dot(a_u8, (1u).xxxx);
 }
 
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
index bd5dd50..7b8676d 100644
--- a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_pack_4xu8_clamp(uint4 a) {
-  const uint4 a_clamp = clamp(a, (0u).xxxx, (255u).xxxx);
-  const uint4 a_u8 = uint4((a_clamp << uint4(0u, 8u, 16u, 24u)));
+  uint4 a_clamp = clamp(a, (0u).xxxx, (255u).xxxx);
+  uint4 a_u8 = uint4((a_clamp << uint4(0u, 8u, 16u, 24u)));
   return dot(a_u8, (1u).xxxx);
 }
 
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.dxc.hlsl
index ba6cd70..5a97ae9 100644
--- a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.fxc.hlsl
index ba6cd70..5a97ae9 100644
--- a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.dxc.hlsl
index 890e5c9..5ced549 100644
--- a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.fxc.hlsl
index 890e5c9..5ced549 100644
--- a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.dxc.hlsl
index 455e409..b7cbe13f 100644
--- a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.fxc.hlsl
index 455e409..b7cbe13f 100644
--- a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.dxc.hlsl
index 0292929..6d00eb5 100644
--- a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.dxc.hlsl
index ecbf0c0..a794fbc 100644
--- a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.fxc.hlsl
index ecbf0c0..a794fbc 100644
--- a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.dxc.hlsl
index a36a572..9b721aa 100644
--- a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.fxc.hlsl
index a36a572..9b721aa 100644
--- a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.dxc.hlsl
index 2b5dc1c..7141ea2 100644
--- a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.fxc.hlsl
index 2b5dc1c..7141ea2 100644
--- a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.dxc.hlsl
index 321989c..0079ad0 100644
--- a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.dxc.hlsl
index a46c9fa..86d17fe 100644
--- a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.fxc.hlsl
index a46c9fa..86d17fe 100644
--- a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.dxc.hlsl
index 47e7669..4dff111 100644
--- a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.fxc.hlsl
index 47e7669..4dff111 100644
--- a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.dxc.hlsl
index 5d7a8dd..923224e 100644
--- a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.dxc.hlsl
index 46a0fcd..0619ddb 100644
--- a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
index 8a4f04e..eab0608 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
index 8a4f04e..eab0608 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
index 64920ae..a415d1c 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
index 64920ae..a415d1c 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
index f9eab74..36fc0aa 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
index f9eab74..36fc0aa 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
index 1805a24..7cef174 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
index 1805a24..7cef174 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.dxc.hlsl
index 38f95ca..c98db34 100644
--- a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.fxc.hlsl
index 38f95ca..c98db34 100644
--- a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.dxc.hlsl
index 747c936..26d24cf 100644
--- a/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.dxc.hlsl
index 9250050..44fa987 100644
--- a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.fxc.hlsl
index 9250050..44fa987 100644
--- a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.dxc.hlsl
index 495afb9..554245f 100644
--- a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.fxc.hlsl
index 495afb9..554245f 100644
--- a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.dxc.hlsl
index 8b30255..e8f52ff 100644
--- a/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.dxc.hlsl
index a633d34..0a4e7e6 100644
--- a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.fxc.hlsl
index a633d34..0a4e7e6 100644
--- a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.dxc.hlsl
index 943aeea..24efb3cb 100644
--- a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.fxc.hlsl
index 943aeea..24efb3cb 100644
--- a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.dxc.hlsl
index aff1b57..f61d3cf 100644
--- a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.fxc.hlsl
index aff1b57..f61d3cf 100644
--- a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.dxc.hlsl
index fa99efc..bd3efa6 100644
--- a/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.dxc.hlsl
index a8182f5..9a46103 100644
--- a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.fxc.hlsl
index a8182f5..9a46103 100644
--- a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.dxc.hlsl
index eb07b82..172a933 100644
--- a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.fxc.hlsl
index eb07b82..172a933 100644
--- a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.dxc.hlsl
index 8333471..5481f74 100644
--- a/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.dxc.hlsl
index decab69..58be1da 100644
--- a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.fxc.hlsl
index decab69..58be1da 100644
--- a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.dxc.hlsl
index 32dd1bf..c65c7cd 100644
--- a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.dxc.hlsl
index cfd9706..6e6cb3b 100644
--- a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.dxc.hlsl
index 6165f42..80431ac 100644
--- a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.fxc.hlsl
index 6165f42..80431ac 100644
--- a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.dxc.hlsl
index 5890482..7183bc4 100644
--- a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.fxc.hlsl
index 5890482..7183bc4 100644
--- a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.dxc.hlsl
index 54c4010..45875b6 100644
--- a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.dxc.hlsl
index 7183a0d..f3fb274 100644
--- a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.fxc.hlsl
index 7183a0d..f3fb274 100644
--- a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.dxc.hlsl
index 9d53c4b..dfcaec0 100644
--- a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.fxc.hlsl
index 9d53c4b..dfcaec0 100644
--- a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.dxc.hlsl
index 1f637f5..c661d3e 100644
--- a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.fxc.hlsl
index 1f637f5..c661d3e 100644
--- a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.dxc.hlsl
index 0c15ab0..60d88d4 100644
--- a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.dxc.hlsl
index 05e7ec9..a427d48 100644
--- a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.dxc.hlsl
index 7a9576a..ccbd6a8 100644
--- a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.fxc.hlsl
index 7a9576a..ccbd6a8 100644
--- a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.dxc.hlsl
index 9af720a..4b842c2 100644
--- a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.dxc.hlsl
index ad89208..c3e5eef 100644
--- a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.fxc.hlsl
index ad89208..c3e5eef 100644
--- a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.dxc.hlsl
index 1911ab5..ff1c085 100644
--- a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.fxc.hlsl
index 1911ab5..ff1c085 100644
--- a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.dxc.hlsl
index 87af175..929178a 100644
--- a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.fxc.hlsl
index 87af175..929178a 100644
--- a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.dxc.hlsl
index 125f05c..6de0c2d 100644
--- a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.fxc.hlsl
index 125f05c..6de0c2d 100644
--- a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.dxc.hlsl
index d462891..cbb6ff4 100644
--- a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.fxc.hlsl
index d462891..cbb6ff4 100644
--- a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.dxc.hlsl
index 927aec2..873d884 100644
--- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.fxc.hlsl
index 927aec2..873d884 100644
--- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.dxc.hlsl
index 5b458b2..63e3257 100644
--- a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.fxc.hlsl
index 5b458b2..63e3257 100644
--- a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
index cf91bb1..e1a4e17 100644
--- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
index cf91bb1..e1a4e17 100644
--- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.dxc.hlsl
index 792ebe8..79c3203 100644
--- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.fxc.hlsl
index 792ebe8..79c3203 100644
--- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
index 8d49f2f..6e78168 100644
--- a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
index 8d49f2f..6e78168 100644
--- a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
index 0e30686..45e4bb5 100644
--- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
index 0e30686..45e4bb5 100644
--- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
index 6826910..69c1a19 100644
--- a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
index 6826910..69c1a19 100644
--- a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.dxc.hlsl
index 8dfd653..3df9a73 100644
--- a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.fxc.hlsl
index 8dfd653..3df9a73 100644
--- a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.dxc.hlsl
index 37a7885..794cb89 100644
--- a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.fxc.hlsl
index 37a7885..794cb89 100644
--- a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.dxc.hlsl
index f7bdfca..9ed8986 100644
--- a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.fxc.hlsl
index f7bdfca..9ed8986 100644
--- a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.dxc.hlsl
index dcca5dc..fa8425c 100644
--- a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.fxc.hlsl
index dcca5dc..fa8425c 100644
--- a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.dxc.hlsl
index ad68e69..0b240a1 100644
--- a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.fxc.hlsl
index ad68e69..0b240a1 100644
--- a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.dxc.hlsl
index f8e0f12..baa5224 100644
--- a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.fxc.hlsl
index f8e0f12..baa5224 100644
--- a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.dxc.hlsl
index 3f822c5..429e622 100644
--- a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.fxc.hlsl
index 3f822c5..429e622 100644
--- a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.dxc.hlsl
index e4fb385..b14c2e4 100644
--- a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.dxc.hlsl
index 5c09d16..61346fe 100644
--- a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.fxc.hlsl
index 5c09d16..61346fe 100644
--- a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.dxc.hlsl
index df8181f..7e8356d 100644
--- a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.fxc.hlsl
index df8181f..7e8356d 100644
--- a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.dxc.hlsl
index 2a01f0a..5f8c66f 100644
--- a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.dxc.hlsl
index 544ef7f..d4b3197 100644
--- a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.dxc.hlsl
index 86ebb56..8db63d0 100644
--- a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.dxc.hlsl
index 9e05330..d09aedf 100644
--- a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.fxc.hlsl
index 9e05330..d09aedf 100644
--- a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.dxc.hlsl
index 4d7c1a1..de47675 100644
--- a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.dxc.hlsl
index 6bafa64..9bd68e9 100644
--- a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.fxc.hlsl
index 6bafa64..9bd68e9 100644
--- a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.dxc.hlsl
index 20f7b18..c914806 100644
--- a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.fxc.hlsl
index 20f7b18..c914806 100644
--- a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.dxc.hlsl
index f4a40b6..8179ec8 100644
--- a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.fxc.hlsl
index f4a40b6..8179ec8 100644
--- a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.dxc.hlsl
index 68051b6..6be8d14 100644
--- a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.fxc.hlsl
index 68051b6..6be8d14 100644
--- a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.dxc.hlsl
index 6be4407..b0e0864 100644
--- a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.fxc.hlsl
index 6be4407..b0e0864 100644
--- a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.dxc.hlsl
index e62ca95..f9304ed 100644
--- a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.dxc.hlsl
index 8121744..ad654ed 100644
--- a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.fxc.hlsl
index 8121744..ad654ed 100644
--- a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.dxc.hlsl
index 43c633c..8185257 100644
--- a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.dxc.hlsl
index 1c81096..8e78d43 100644
--- a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.fxc.hlsl
index 1c81096..8e78d43 100644
--- a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.dxc.hlsl
index 20424c8..c1f3915 100644
--- a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.dxc.hlsl
index 769f1a7..0d355fa 100644
--- a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.fxc.hlsl
index 769f1a7..0d355fa 100644
--- a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.dxc.hlsl
index 7731b6e..3ba1ad1 100644
--- a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.fxc.hlsl
index 7731b6e..3ba1ad1 100644
--- a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.dxc.hlsl
index a90d277..5d4a631 100644
--- a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.fxc.hlsl
index a90d277..5d4a631 100644
--- a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/089657.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/089657.wgsl.expected.dxc.hlsl
index 9738da9..d189e84 100644
--- a/test/tint/builtins/gen/var/select/089657.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/089657.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/089657.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/089657.wgsl.expected.fxc.hlsl
index 9738da9..d189e84 100644
--- a/test/tint/builtins/gen/var/select/089657.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/089657.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.dxc.hlsl
index 4c526c9..b807136 100644
--- a/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.dxc.hlsl
index 830b6fb..52db1e1 100644
--- a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.fxc.hlsl
index 830b6fb..52db1e1 100644
--- a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.dxc.hlsl
index 37f42c3..b508a2b 100644
--- a/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.dxc.hlsl
index bab3d7a..4949d62 100644
--- a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.fxc.hlsl
index bab3d7a..4949d62 100644
--- a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.dxc.hlsl
index df4ffcf..6537e14 100644
--- a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.fxc.hlsl
index df4ffcf..6537e14 100644
--- a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.dxc.hlsl
index 1e301b6..d756ae8 100644
--- a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.fxc.hlsl
index 1e301b6..d756ae8 100644
--- a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.dxc.hlsl
index bf5c251..70f60e2 100644
--- a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.fxc.hlsl
index bf5c251..70f60e2 100644
--- a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.dxc.hlsl
index 19253f3..1c0deb5 100644
--- a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.fxc.hlsl
index 19253f3..1c0deb5 100644
--- a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.dxc.hlsl
index 7ff71ef..32b77f1 100644
--- a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.fxc.hlsl
index 7ff71ef..32b77f1 100644
--- a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.dxc.hlsl
index b25796d..1d6d356 100644
--- a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.fxc.hlsl
index b25796d..1d6d356 100644
--- a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.dxc.hlsl
index da688fb..2d86adb 100644
--- a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.fxc.hlsl
index da688fb..2d86adb 100644
--- a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.dxc.hlsl
index 1996b36..5d14f58 100644
--- a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.fxc.hlsl
index 1996b36..5d14f58 100644
--- a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.dxc.hlsl
index 674948a..0ce0078 100644
--- a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.fxc.hlsl
index 674948a..0ce0078 100644
--- a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/494051.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/494051.wgsl.expected.dxc.hlsl
index 49eed58..68668ff 100644
--- a/test/tint/builtins/gen/var/select/494051.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/494051.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/494051.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/494051.wgsl.expected.fxc.hlsl
index 49eed58..68668ff 100644
--- a/test/tint/builtins/gen/var/select/494051.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/494051.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.dxc.hlsl
index b497edc..84f67df 100644
--- a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.fxc.hlsl
index b497edc..84f67df 100644
--- a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.dxc.hlsl
index 9554426..8401f57 100644
--- a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.fxc.hlsl
index 9554426..8401f57 100644
--- a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.dxc.hlsl
index 4e3b576..a41bc76 100644
--- a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.fxc.hlsl
index 4e3b576..a41bc76 100644
--- a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/53d518.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/53d518.wgsl.expected.dxc.hlsl
index aa3d7f8..786a555 100644
--- a/test/tint/builtins/gen/var/select/53d518.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/53d518.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/713567.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/713567.wgsl.expected.dxc.hlsl
index e0e0331..3179111 100644
--- a/test/tint/builtins/gen/var/select/713567.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/713567.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/713567.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/713567.wgsl.expected.fxc.hlsl
index e0e0331..3179111 100644
--- a/test/tint/builtins/gen/var/select/713567.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/713567.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.dxc.hlsl
index f090298..b6a4463 100644
--- a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.fxc.hlsl
index f090298..b6a4463 100644
--- a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.dxc.hlsl
index 818a567..3a46223 100644
--- a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.fxc.hlsl
index 818a567..3a46223 100644
--- a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.dxc.hlsl
index 9401d1c..0fd4cde 100644
--- a/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.dxc.hlsl
index 5c84682..863994b 100644
--- a/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.dxc.hlsl
index 0455add..596f3c0 100644
--- a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.fxc.hlsl
index 0455add..596f3c0 100644
--- a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.dxc.hlsl
index 0ab48fd..fbbe521 100644
--- a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.fxc.hlsl
index 0ab48fd..fbbe521 100644
--- a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.dxc.hlsl
index 1f5212f..87d1d4b 100644
--- a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.fxc.hlsl
index 1f5212f..87d1d4b 100644
--- a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.dxc.hlsl
index 6cd57c4..f6cd3b3 100644
--- a/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.dxc.hlsl
index 9384191..785922c 100644
--- a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.fxc.hlsl
index 9384191..785922c 100644
--- a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.dxc.hlsl
index eda483e..2195ed8 100644
--- a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.fxc.hlsl
index eda483e..2195ed8 100644
--- a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.dxc.hlsl
index cdce69d..c8c44d5 100644
--- a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.fxc.hlsl
index cdce69d..c8c44d5 100644
--- a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.dxc.hlsl
index 8d124f7..9e966f2 100644
--- a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.fxc.hlsl
index 8d124f7..9e966f2 100644
--- a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.dxc.hlsl
index b1103af..6b36704 100644
--- a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.fxc.hlsl
index b1103af..6b36704 100644
--- a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.dxc.hlsl
index f25be38..9319383 100644
--- a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.fxc.hlsl
index f25be38..9319383 100644
--- a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.dxc.hlsl
index 041da8b..398018e 100644
--- a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.fxc.hlsl
index 041da8b..398018e 100644
--- a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.dxc.hlsl
index 0254e10..76794bc 100644
--- a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.fxc.hlsl
index 0254e10..76794bc 100644
--- a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.dxc.hlsl
index ca44ec7..b579479 100644
--- a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.fxc.hlsl
index ca44ec7..b579479 100644
--- a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.dxc.hlsl
index 04ad2ce..2cd1fd4 100644
--- a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.fxc.hlsl
index 04ad2ce..2cd1fd4 100644
--- a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.dxc.hlsl
index 24bf081..e81abbe 100644
--- a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.fxc.hlsl
index 24bf081..e81abbe 100644
--- a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.dxc.hlsl
index 691ef05..e11d03f 100644
--- a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.fxc.hlsl
index 691ef05..e11d03f 100644
--- a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.dxc.hlsl
index bd98b01..54662c8 100644
--- a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.fxc.hlsl
index bd98b01..54662c8 100644
--- a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.dxc.hlsl
index 60754af..0c9703d 100644
--- a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.fxc.hlsl
index 60754af..0c9703d 100644
--- a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.dxc.hlsl
index 3d5a170..5518c80 100644
--- a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.fxc.hlsl
index 3d5a170..5518c80 100644
--- a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.dxc.hlsl
index 4d18fd5..5e29263 100644
--- a/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.dxc.hlsl
index 9943b11..ab430ff 100644
--- a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.fxc.hlsl
index 9943b11..ab430ff 100644
--- a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.dxc.hlsl
index b20d9d1..6148295 100644
--- a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.fxc.hlsl
index b20d9d1..6148295 100644
--- a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.dxc.hlsl
index e742a9b..a5ddeea 100644
--- a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.fxc.hlsl
index e742a9b..a5ddeea 100644
--- a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.dxc.hlsl
index 4344f73..913790c 100644
--- a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.fxc.hlsl
index 4344f73..913790c 100644
--- a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.dxc.hlsl
index 758e0ed..26b9def 100644
--- a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.dxc.hlsl
index b7ef0af..d5a3df5 100644
--- a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.fxc.hlsl
index b7ef0af..d5a3df5 100644
--- a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.dxc.hlsl
index 738dd29..611405a 100644
--- a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.fxc.hlsl
index 738dd29..611405a 100644
--- a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.dxc.hlsl
index 07e2c51..11269bd 100644
--- a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.fxc.hlsl
index 07e2c51..11269bd 100644
--- a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.dxc.hlsl
index 9ce1f1c..6c91e19 100644
--- a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.fxc.hlsl
index 9ce1f1c..6c91e19 100644
--- a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.dxc.hlsl
index c0280b8..7d96d7c 100644
--- a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.fxc.hlsl
index c0280b8..7d96d7c 100644
--- a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.dxc.hlsl
index 2307256..128dc59 100644
--- a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.dxc.hlsl
index 365fc6a..f1d55ea 100644
--- a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.dxc.hlsl
index 4dad9bc..a5d5124 100644
--- a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.fxc.hlsl
index 4dad9bc..a5d5124 100644
--- a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.dxc.hlsl
index d5a3e05..83285fe 100644
--- a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.fxc.hlsl
index d5a3e05..83285fe 100644
--- a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.dxc.hlsl
index 6bc61ae..6c7dcec 100644
--- a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.fxc.hlsl
index 6bc61ae..6c7dcec 100644
--- a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.dxc.hlsl
index 13250af..06ef556 100644
--- a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.fxc.hlsl
index 13250af..06ef556 100644
--- a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.dxc.hlsl
index fed8449..4105ab0 100644
--- a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.fxc.hlsl
index fed8449..4105ab0 100644
--- a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.dxc.hlsl
index f8d35c6..a51e5cf 100644
--- a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.fxc.hlsl
index f8d35c6..a51e5cf 100644
--- a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.dxc.hlsl
index 383159e..9c78244 100644
--- a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.dxc.hlsl
index 7426df9..e122f45 100644
--- a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.fxc.hlsl
index 7426df9..e122f45 100644
--- a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.dxc.hlsl
index 33f0a88..d3b8c91 100644
--- a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.fxc.hlsl
index 33f0a88..d3b8c91 100644
--- a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.dxc.hlsl
index 5028f7a..8feddb1 100644
--- a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.fxc.hlsl
index 5028f7a..8feddb1 100644
--- a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.dxc.hlsl
index 59e2427..6a03a65 100644
--- a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.fxc.hlsl
index 59e2427..6a03a65 100644
--- a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.dxc.hlsl
index ecc1d7f..7f19dfd 100644
--- a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.fxc.hlsl
index ecc1d7f..7f19dfd 100644
--- a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.dxc.hlsl
index 72a0ef4..b338985 100644
--- a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.dxc.hlsl
index 26e13da..9b83238 100644
--- a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.dxc.hlsl
index 617f48e..eeec888 100644
--- a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.fxc.hlsl
index 617f48e..eeec888 100644
--- a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.dxc.hlsl
index 8333232..c5fa231 100644
--- a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.dxc.hlsl
index 4d9386b..6b4206e 100644
--- a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.dxc.hlsl
index bf66046..aeede60 100644
--- a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.fxc.hlsl
index bf66046..aeede60 100644
--- a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.dxc.hlsl
index 0d3ff42..a1ed38d 100644
--- a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.fxc.hlsl
index 0d3ff42..a1ed38d 100644
--- a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.dxc.hlsl
index 1565ebc..f80f29c 100644
--- a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.fxc.hlsl
index 1565ebc..f80f29c 100644
--- a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.dxc.hlsl
index 61caa57..1b88581 100644
--- a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.fxc.hlsl
index 61caa57..1b88581 100644
--- a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.dxc.hlsl
index 60277f2..ae1bd05 100644
--- a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.fxc.hlsl
index 60277f2..ae1bd05 100644
--- a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.dxc.hlsl
index 2354588..add7221 100644
--- a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.dxc.hlsl
index 8c48ba3..e366a18 100644
--- a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.fxc.hlsl
index 8c48ba3..e366a18 100644
--- a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.dxc.hlsl
index be1406b..45b63ba 100644
--- a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.dxc.hlsl
index e630d7f..260be22 100644
--- a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.fxc.hlsl
index e630d7f..260be22 100644
--- a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.dxc.hlsl
index dbeafc6..a25289c 100644
--- a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.fxc.hlsl
index dbeafc6..a25289c 100644
--- a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.dxc.hlsl
index a1be6fc..1ad77ea 100644
--- a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.dxc.hlsl
index f87b31d..ed12bbd 100644
--- a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.fxc.hlsl
index f87b31d..ed12bbd 100644
--- a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.dxc.hlsl
index 432b95d..766c127 100644
--- a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.fxc.hlsl
index 432b95d..766c127 100644
--- a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.dxc.hlsl
index 15176b2..e3cd0ce 100644
--- a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.fxc.hlsl
index 15176b2..e3cd0ce 100644
--- a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.dxc.hlsl
index 109375e..d5f9bc3 100644
--- a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.dxc.hlsl
index 493f629..d521b7e 100644
--- a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.fxc.hlsl
index 493f629..d521b7e 100644
--- a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.dxc.hlsl
index 109938d..2fb0da9 100644
--- a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.fxc.hlsl
index 109938d..2fb0da9 100644
--- a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.dxc.hlsl
index 262a8a1..22fa6bf 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.fxc.hlsl
index 262a8a1..22fa6bf 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
index d67929f..4e7f9f2 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
index d67929f..4e7f9f2 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.dxc.hlsl
index 7339138..d825a67 100644
--- a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.dxc.hlsl
index f516d2a..57ca015 100644
--- a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.fxc.hlsl
index f516d2a..57ca015 100644
--- a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.dxc.hlsl
index c3cfacc..d1d00a7 100644
--- a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.fxc.hlsl
index c3cfacc..d1d00a7 100644
--- a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.dxc.hlsl
index 9527ba5..4bdbbb7 100644
--- a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
index 682f251..dbe0be3 100644
--- a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
index 682f251..dbe0be3 100644
--- a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.dxc.hlsl
index d550fe9..65464f2 100644
--- a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.fxc.hlsl
index d550fe9..65464f2 100644
--- a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
index 524028d..0cc5d64 100644
--- a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.dxc.hlsl
index 289e02d..07379eb 100644
--- a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.fxc.hlsl
index 289e02d..07379eb 100644
--- a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.dxc.hlsl
index 6338fea..28d6a1c 100644
--- a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.fxc.hlsl
index 6338fea..28d6a1c 100644
--- a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
index fa46f5b..12cc6af 100644
--- a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.dxc.hlsl
index eb05088..68e311b 100644
--- a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.fxc.hlsl
index eb05088..68e311b 100644
--- a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.dxc.hlsl
index 33953bc..67c43bc 100644
--- a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.fxc.hlsl
index 33953bc..67c43bc 100644
--- a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
index 4e62875..b2ebf86 100644
--- a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
index 4e62875..b2ebf86 100644
--- a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.dxc.hlsl
index 97cb2e7..e2eff88 100644
--- a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.dxc.hlsl
index 34305d5..2eee541 100644
--- a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.dxc.hlsl
index 3f4c7c7..9491430 100644
--- a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.fxc.hlsl
index 3f4c7c7..9491430 100644
--- a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.dxc.hlsl
index f9435c9..1a62b4e 100644
--- a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.fxc.hlsl
index f9435c9..1a62b4e 100644
--- a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
index c0053e0..f40ce41 100644
--- a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
index c0053e0..f40ce41 100644
--- a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
index 7697359..eb37cd9 100644
--- a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
index 7697359..eb37cd9 100644
--- a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
index 88b3bdd..e9211cb 100644
--- a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.dxc.hlsl
index 332b5f7..4b8f2fe 100644
--- a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.dxc.hlsl
index 672f019..0415624 100644
--- a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.fxc.hlsl
index 672f019..0415624 100644
--- a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.dxc.hlsl
index 63298d8..ebde8fc 100644
--- a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.dxc.hlsl
index af89f6e..01aba28 100644
--- a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.fxc.hlsl
index af89f6e..01aba28 100644
--- a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.dxc.hlsl
index bfe7ef4..7d839c9 100644
--- a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.fxc.hlsl
index bfe7ef4..7d839c9 100644
--- a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/334303.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/334303.wgsl.expected.dxc.hlsl
index b293065..b48601e 100644
--- a/test/tint/builtins/gen/var/step/334303.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/334303.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/334303.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/334303.wgsl.expected.fxc.hlsl
index b293065..b48601e 100644
--- a/test/tint/builtins/gen/var/step/334303.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/334303.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.dxc.hlsl
index defb919..aabbc26 100644
--- a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.fxc.hlsl
index defb919..aabbc26 100644
--- a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/415879.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/415879.wgsl.expected.dxc.hlsl
index f39b311..8e1d869 100644
--- a/test/tint/builtins/gen/var/step/415879.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/415879.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/415879.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/415879.wgsl.expected.fxc.hlsl
index f39b311..8e1d869 100644
--- a/test/tint/builtins/gen/var/step/415879.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/415879.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.dxc.hlsl
index d0647ed..6c89d03 100644
--- a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.dxc.hlsl
index e34f6a01..479161d 100644
--- a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.fxc.hlsl
index e34f6a01..479161d 100644
--- a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.dxc.hlsl
index b706f0e..1a0f39d 100644
--- a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.dxc.hlsl
index ddc03b9..aaf0359 100644
--- a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.dxc.hlsl
index 2d894a8..5ab869e 100644
--- a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.fxc.hlsl
index 2d894a8..5ab869e 100644
--- a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.dxc.hlsl
index 64432f4..2963dad 100644
--- a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.fxc.hlsl
index 64432f4..2963dad 100644
--- a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.dxc.hlsl
index 80f1a60..f996ab5 100644
--- a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.fxc.hlsl
index 80f1a60..f996ab5 100644
--- a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.dxc.hlsl
index 9d0f178..659e87e 100644
--- a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.fxc.hlsl
index 9d0f178..659e87e 100644
--- a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.dxc.hlsl
index 3401d98..0a4e13d 100644
--- a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.fxc.hlsl
index 3401d98..0a4e13d 100644
--- a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.dxc.hlsl
index 5561928..912fc75 100644
--- a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.dxc.hlsl
index 853f844..57f7c6a 100644
--- a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.fxc.hlsl
index 853f844..57f7c6a 100644
--- a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.dxc.hlsl
index db24d68..8d666b6 100644
--- a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.fxc.hlsl
index db24d68..8d666b6 100644
--- a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.dxc.hlsl
index 64ae377..57e40349 100644
--- a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.fxc.hlsl
index 64ae377..57e40349 100644
--- a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.dxc.hlsl
index 335aeb3..826303f 100644
--- a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.dxc.hlsl
index 476c35f..da209a6 100644
--- a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.fxc.hlsl
index 476c35f..da209a6 100644
--- a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.dxc.hlsl
index 281ae97..467876c 100644
--- a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.fxc.hlsl
index 281ae97..467876c 100644
--- a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.dxc.hlsl
index f65b701..e45c95b 100644
--- a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.dxc.hlsl
index 678e39d..8c42050 100644
--- a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.dxc.hlsl
index 6d08c1a..2bc5660 100644
--- a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.dxc.hlsl
index c10b04f..e281814 100644
--- a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.fxc.hlsl
index c10b04f..e281814 100644
--- a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.dxc.hlsl
index d4da2be..fb6f50d 100644
--- a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.fxc.hlsl
index d4da2be..fb6f50d 100644
--- a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.dxc.hlsl
index baf1ff4..203991c 100644
--- a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.fxc.hlsl
index baf1ff4..203991c 100644
--- a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.dxc.hlsl
index db4682d..bcec3fe 100644
--- a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.dxc.hlsl
index 7269f3f..e1d0f9e 100644
--- a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.fxc.hlsl
index 7269f3f..e1d0f9e 100644
--- a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.dxc.hlsl
index 28dcae0..96d59a4 100644
--- a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.dxc.hlsl
index d467c0a..9f5b832 100644
--- a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.fxc.hlsl
index d467c0a..9f5b832 100644
--- a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.dxc.hlsl
index 8f514b0..09f46cdd 100644
--- a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.fxc.hlsl
index 8f514b0..09f46cdd 100644
--- a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.dxc.hlsl
index 6071d52..9204a21 100644
--- a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.fxc.hlsl
index 6071d52..9204a21 100644
--- a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.dxc.hlsl
index e8c8480..76149e3 100644
--- a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.fxc.hlsl
index e8c8480..76149e3 100644
--- a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.dxc.hlsl
index a06fe9f..0e9d282 100644
--- a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.dxc.hlsl
index c243f98..afffc74 100644
--- a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.fxc.hlsl
index c243f98..afffc74 100644
--- a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
index 285b4db..7f22762 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
index 285b4db..7f22762 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
index c727c1d..a28a5e3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
index c727c1d..a28a5e3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.dxc.hlsl
index 2a8418a..03d1821 100644
--- a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.fxc.hlsl
index 2a8418a..03d1821 100644
--- a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
index 691c7b5..b6e46d1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
index 691c7b5..b6e46d1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.dxc.hlsl
index dcdecc8..49e14a0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.fxc.hlsl
index dcdecc8..49e14a0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
index 7986521..5fc2c73 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
index 7986521..5fc2c73 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.dxc.hlsl
index 527a36e..8a61ef4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.fxc.hlsl
index 527a36e..8a61ef4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
index 2073954..05be229 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
index 2073954..05be229 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.dxc.hlsl
index 8863efd..f8f12b5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.fxc.hlsl
index 8863efd..f8f12b5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
index cdf59a3..f93ef04 100644
--- a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
index cdf59a3..f93ef04 100644
--- a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
index 2bb7aeb..dfd2e4d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
index 2bb7aeb..dfd2e4d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.dxc.hlsl
index 81f260b..3e4a80b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.fxc.hlsl
index 81f260b..3e4a80b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
index 00cfbaf..93cdf69 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
index 00cfbaf..93cdf69 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.dxc.hlsl
index f39ed43..8c9d1923 100644
--- a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.fxc.hlsl
index f39ed43..8c9d1923 100644
--- a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.dxc.hlsl
index a3c6522..614aad2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.fxc.hlsl
index a3c6522..614aad2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
index 7172c17..5d0b6e5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
index 7172c17..5d0b6e5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
index 8201074..41e827d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
index 8201074..41e827d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
index 51f9c6b..a3a30ed 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
index 51f9c6b..a3a30ed 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
index 1195ed8..0c4b1e1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
index 1195ed8..0c4b1e1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
index 5bea09d..b4ab1a7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
index 5bea09d..b4ab1a7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
index ecd1141..c285a4b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
index ecd1141..c285a4b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.dxc.hlsl
index 88505da..8151f67 100644
--- a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.fxc.hlsl
index 88505da..8151f67 100644
--- a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
index 4525b63..1f589e0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
index 4525b63..1f589e0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
index d5f7933..a5152f2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
index d5f7933..a5152f2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
index e2cd8f5..75f401b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
index e2cd8f5..75f401b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.dxc.hlsl
index 7399b9b..1c0e6ea 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.fxc.hlsl
index 7399b9b..1c0e6ea 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
index b44af6d..f62c699 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
index b44af6d..f62c699 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
index 43d58f2..fc46a8e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
index 43d58f2..fc46a8e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
index fc0948a..faaf292 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
index fc0948a..faaf292 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
index b2091f1..c01ef34 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
index b2091f1..c01ef34 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
index a773487..73a5527 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
index a773487..73a5527 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
index 6d89f72..dccd0c8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
index 6d89f72..dccd0c8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
index 9ae2848..723ad29 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
index 9ae2848..723ad29 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.dxc.hlsl
index 7b5d336..3e996b8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.fxc.hlsl
index 7b5d336..3e996b8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.dxc.hlsl
index b4b3926..db35a75 100644
--- a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.fxc.hlsl
index b4b3926..db35a75 100644
--- a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
index ee93266..2de571c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
index ee93266..2de571c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.dxc.hlsl
index 622ba5f..e9e7021 100644
--- a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.fxc.hlsl
index 622ba5f..e9e7021 100644
--- a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
index 6f415cf..db1134f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
index 6f415cf..db1134f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
index ccc269c..91d953b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
index ccc269c..91d953b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
index 20f02ee..015dcfb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
index 20f02ee..015dcfb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.dxc.hlsl
index d0944cf..e2fd40d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.fxc.hlsl
index d0944cf..e2fd40d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.dxc.hlsl
index c1180b2..0ba48f3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.fxc.hlsl
index c1180b2..0ba48f3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
index 919cd2d..3ac97d2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
index 919cd2d..3ac97d2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
index 79faab8..9bcdd38 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
index 79faab8..9bcdd38 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
index 574c219..8850d148 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
index 574c219..8850d148 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
index 918596d..579ff62 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
index 918596d..579ff62 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
index aeedad3..4752e5f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
index aeedad3..4752e5f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
index 7a3d6c7..ace401e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
index 7a3d6c7..ace401e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
index 0e27a46..7301ab9 100644
--- a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
index 0e27a46..7301ab9 100644
--- a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.dxc.hlsl
index 9c9a843..a1563cd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.fxc.hlsl
index 9c9a843..a1563cd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
index af987f9..a9fef03 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
index af987f9..a9fef03 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.dxc.hlsl
index 524fcb5..da48caa 100644
--- a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.fxc.hlsl
index 524fcb5..da48caa 100644
--- a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.dxc.hlsl
index 64c5f96..974e53c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.fxc.hlsl
index 64c5f96..974e53c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
index 9ab98e9..f4b88b7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
index 9ab98e9..f4b88b7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
index dd62780..27b4273 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
index dd62780..27b4273 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
index bd59f22..209bd61 100644
--- a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
index bd59f22..209bd61 100644
--- a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.dxc.hlsl
index 33667a4..30ae103 100644
--- a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.fxc.hlsl
index 33667a4..30ae103 100644
--- a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.dxc.hlsl
index 54bbd0b..d877eb7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.fxc.hlsl
index 54bbd0b..d877eb7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
index 39aede6..997891c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
index 39aede6..997891c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
index e36d015..1d3c6a9 100644
--- a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
index e36d015..1d3c6a9 100644
--- a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
index acd22a6..7b6b6ec 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
index acd22a6..7b6b6ec 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.dxc.hlsl
index 66b8685..53a18f3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.fxc.hlsl
index 66b8685..53a18f3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
index 049ad0e..d8e1c7a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
index 049ad0e..d8e1c7a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
index 6c52ac8..b391bd5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
index 6c52ac8..b391bd5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
index 741592e..0a8cfb8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
index 741592e..0a8cfb8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
index 254d722..55f1f10 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
index 254d722..55f1f10 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
index 194560a..8f72d86 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
index 194560a..8f72d86 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
index 4d00a9d..26f811d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
index 4d00a9d..26f811d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
index 6628172..ea33cba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
index 6628172..ea33cba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
index ed5fc6c..2e10445 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
index ed5fc6c..2e10445 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
index 6feaaee..3043b1b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
index 6feaaee..3043b1b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
index a88ebc7..bcc0dbc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
index a88ebc7..bcc0dbc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.dxc.hlsl
index dfb75ec..676bb14 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.fxc.hlsl
index dfb75ec..676bb14 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
index 1f50145..0555e82 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
index 1f50145..0555e82 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.dxc.hlsl
index 460ca8f..2795e32 100644
--- a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.fxc.hlsl
index 460ca8f..2795e32 100644
--- a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.dxc.hlsl
index 350333f..33f722c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.fxc.hlsl
index 350333f..33f722c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.dxc.hlsl
index 0ab7e4c..e331af7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.fxc.hlsl
index 0ab7e4c..e331af7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.dxc.hlsl
index c5e353b..59d1ae0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.fxc.hlsl
index c5e353b..59d1ae0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.dxc.hlsl
index 4743f75..e0f80bf 100644
--- a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.fxc.hlsl
index 4743f75..e0f80bf 100644
--- a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.dxc.hlsl
index c45daf7..ca67752 100644
--- a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.fxc.hlsl
index c45daf7..ca67752 100644
--- a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
index 383abad..e91ca0b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
index 383abad..e91ca0b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
index 979a43d..243ca3c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
index 979a43d..243ca3c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
index b6f105e..6c4d88f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
index b6f105e..6c4d88f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.dxc.hlsl
index 393dac4..ee5ff54 100644
--- a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.fxc.hlsl
index 393dac4..ee5ff54 100644
--- a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.dxc.hlsl
index 5b9a16f..eb1dfc3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.fxc.hlsl
index 5b9a16f..eb1dfc3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
index ab6c2ff..35c91c8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
index ab6c2ff..35c91c8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
index fb2f301..2c3f265 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
index fb2f301..2c3f265 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
index 47a38d9..ce5b12b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
index 47a38d9..ce5b12b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
index da415eb..f761810 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
index da415eb..f761810 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
index adddd27..a972f32 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
index adddd27..a972f32 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
index cad4873..423213a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
index cad4873..423213a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
index 5a7ff27..d1db1ad 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
index 5a7ff27..d1db1ad 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
index 091a679..3dd90fe 100644
--- a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
index 091a679..3dd90fe 100644
--- a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
index ce333d6..287ab49 100644
--- a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
index ce333d6..287ab49 100644
--- a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
index d442828..0e8dc34 100644
--- a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
index d442828..0e8dc34 100644
--- a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
index 1991588..86ce786 100644
--- a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
index 1991588..86ce786 100644
--- a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
index 32abc9d..5e0e145 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
index 32abc9d..5e0e145 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.dxc.hlsl
index c835d85..5bbf8bd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.fxc.hlsl
index c835d85..5bbf8bd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
index 0138351..9e2bb5a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
index 0138351..9e2bb5a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.dxc.hlsl
index 140b258..24bb012 100644
--- a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.fxc.hlsl
index 140b258..24bb012 100644
--- a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
index 855b11d..fdb4dc4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
index 855b11d..fdb4dc4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
index 6ab9a57..82c0db2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
index 6ab9a57..82c0db2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.dxc.hlsl
index e1efe14..fc36ad8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.fxc.hlsl
index e1efe14..fc36ad8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.dxc.hlsl
index ef4c480..b6d74cc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.fxc.hlsl
index ef4c480..b6d74cc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.dxc.hlsl
index 6ef6e20..4ce0ec1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.fxc.hlsl
index 6ef6e20..4ce0ec1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
index 696b475..9162584 100644
--- a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
index 696b475..9162584 100644
--- a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
index 1165489..000e253 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
index 1165489..000e253 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
index 6659e3d..cd2626b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
index 6659e3d..cd2626b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
index e3dcc93..d9008c0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
index e3dcc93..d9008c0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.dxc.hlsl
index 1f929b3..4ae4e30 100644
--- a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.fxc.hlsl
index 1f929b3..4ae4e30 100644
--- a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
index 624511a..586120c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
index 624511a..586120c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
index 9847496..44ef69e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
index 9847496..44ef69e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
index c011956..4ceff93 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
index c011956..4ceff93 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
index 103d950..6e183f0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
index 103d950..6e183f0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
index 41306c4..676b2b8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
index 41306c4..676b2b8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.dxc.hlsl
index 2876f40..0c5312d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.fxc.hlsl
index 2876f40..0c5312d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
index 200ccb2..b4818c4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
index 200ccb2..b4818c4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.dxc.hlsl
index efcdb74..7f84e7b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.fxc.hlsl
index efcdb74..7f84e7b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.dxc.hlsl
index b102e87..5a85086 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.fxc.hlsl
index b102e87..5a85086 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
index ee617e1..7b7699d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
index ee617e1..7b7699d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
index fcd6cd3..ce31aae 100644
--- a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
index fcd6cd3..ce31aae 100644
--- a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.dxc.hlsl
index 8a83167..be69b4f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.fxc.hlsl
index 8a83167..be69b4f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.dxc.hlsl
index c3c73f9..72179c1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.fxc.hlsl
index c3c73f9..72179c1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.dxc.hlsl
index 019b410..fa3a703 100644
--- a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.fxc.hlsl
index 019b410..fa3a703 100644
--- a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
index 84753d2..eba248d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
index 84753d2..eba248d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.dxc.hlsl
index b110126..0148350 100644
--- a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.fxc.hlsl
index b110126..0148350 100644
--- a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.dxc.hlsl
index b365862..2c1ef84 100644
--- a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.fxc.hlsl
index b365862..2c1ef84 100644
--- a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
index 3050274..bca915b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
index 3050274..bca915b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
index f82dcd4..52ccf80 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
index f82dcd4..52ccf80 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
index 1cd495b4..f26b62b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
index 1cd495b4..f26b62b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
index 648a59c..a77b85d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
index 648a59c..a77b85d 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
index 1c63013..fbed68c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
index 1c63013..fbed68c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
index 78c62b8..a279e24 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
index 78c62b8..a279e24 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
index 73b3982..3cc7970 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
index 73b3982..3cc7970 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
index 18cc6b0..e99a6d2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
index 18cc6b0..e99a6d2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
index 9eb7add..e28c072 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
index 9eb7add..e28c072 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.dxc.hlsl
index b7d04fb..a20313f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.fxc.hlsl
index b7d04fb..a20313f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
index c3b17d6..10603e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
index c3b17d6..10603e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.dxc.hlsl
index 7c8484e..bd53d10 100644
--- a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.fxc.hlsl
index 7c8484e..bd53d10 100644
--- a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.dxc.hlsl
index bbe51af..5a613e1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.fxc.hlsl
index bbe51af..5a613e1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.dxc.hlsl
index d833ba0..1461f6a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.fxc.hlsl
index d833ba0..1461f6a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
index 4255a14..2f2dc58 100644
--- a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
index 4255a14..2f2dc58 100644
--- a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
index a056e85..22bf658 100644
--- a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
index a056e85..22bf658 100644
--- a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
index c91b686..6517412 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
index c91b686..6517412 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
index 46fb738..651d729 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
index 46fb738..651d729 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
index c0c55a7..7ea7200 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
index c0c55a7..7ea7200 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
index 443fc69..ffd28f4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
index 443fc69..ffd28f4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
index 56e39bb..4b9942e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
index 56e39bb..4b9942e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
index d02fd23..381c7f1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
index d02fd23..381c7f1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
index 7e4e32f..e890060 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
index 7e4e32f..e890060 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.dxc.hlsl
index 906e5f9..dcbd8c7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.fxc.hlsl
index 906e5f9..dcbd8c7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
index 9b490a7..5a3a07e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
index 9b490a7..5a3a07e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
index 1820699..0c336b5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
index 1820699..0c336b5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
index 405432d..b4e70cc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
index 405432d..b4e70cc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.dxc.hlsl
index e961023..f4eb46a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.fxc.hlsl
index e961023..f4eb46a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.dxc.hlsl
index c916a67..42a8ccd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.fxc.hlsl
index c916a67..42a8ccd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
index 153391d..e392b5e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
index 153391d..e392b5e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.dxc.hlsl
index 2049b6f..f09a850 100644
--- a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.fxc.hlsl
index 2049b6f..f09a850 100644
--- a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
index 9e43ffc..b3b68dd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
index 9e43ffc..b3b68dd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
index 09d748b..932fb4a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
index 09d748b..932fb4a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
index f09b1a5..4635cf3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
index f09b1a5..4635cf3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
index 4f21349..a6aefe8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
index 4f21349..a6aefe8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
index 1f939fa..0992aac 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
index 1f939fa..0992aac 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
index bcdb42f..852415f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
index bcdb42f..852415f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
index 1c18e3c..3f22fa2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
index 1c18e3c..3f22fa2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
index feb8963..32b790a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
index feb8963..32b790a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
index bbc6ee2..411be2e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
index bbc6ee2..411be2e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
index e5a70d3..1daf99e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
index e5a70d3..1daf99e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
index 1a89e4c..51024d0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
index 1a89e4c..51024d0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
index 3baf781..a97dcc6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
index 3baf781..a97dcc6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
index 639b085..407da92 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
index 639b085..407da92 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
index 20335af..501e9bd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
index 20335af..501e9bd 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
index 8b513eb..66acd66 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
index 8b513eb..66acd66 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.dxc.hlsl
index 33efeac..df2277b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.fxc.hlsl
index 33efeac..df2277b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
index 7b385a7..fec0480 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
index 7b385a7..fec0480 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
index 497f7ac..de8b046 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
index 497f7ac..de8b046 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
index 42ebaeb..ba9a499 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
index 42ebaeb..ba9a499 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
index 9e268f7..503338f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
index 9e268f7..503338f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.dxc.hlsl
index 45f9ab1..52650d5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.fxc.hlsl
index 45f9ab1..52650d5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
index 1bc1e5e..367aa08 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
index 1bc1e5e..367aa08 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.dxc.hlsl
index 6e7abbe..46c6a77 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.fxc.hlsl
index 6e7abbe..46c6a77 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
index 1330f41..7f590d8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
index 1330f41..7f590d8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
index a6b1473..edc2683 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
index a6b1473..edc2683 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.dxc.hlsl
index a2b703c..4cd137b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.fxc.hlsl
index a2b703c..4cd137b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
index 119ac27..392ca6b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
index 119ac27..392ca6b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
index 82ca8c99..711201a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
index 82ca8c99..711201a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
index a5666a3..5012542 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
index a5666a3..5012542 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
index a9c92a6..d2c7015 100644
--- a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
index a9c92a6..d2c7015 100644
--- a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.dxc.hlsl
index e07bbdb..e3850fc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.fxc.hlsl
index e07bbdb..e3850fc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
index ff97eae..de726e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
index ff97eae..de726e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
index de19530..f23f00f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
index de19530..f23f00f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
index 565c358..4add3de 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
index 565c358..4add3de 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.dxc.hlsl
index 0d6b1da..1c06d8b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.fxc.hlsl
index 0d6b1da..1c06d8b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.dxc.hlsl
index 9e1f1e7..85cfaff 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.fxc.hlsl
index 9e1f1e7..85cfaff 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
index d8c5ba7..faf4823 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
index d8c5ba7..faf4823 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
index 66312cd..ba37cdb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
index 66312cd..ba37cdb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
index 3f39596..868598f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
index 3f39596..868598f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
index 115195d..31926ef 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
index 115195d..31926ef 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
index 87bc187..4389a3f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
index 87bc187..4389a3f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
index 3f20e4d..1e1408e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
index 3f20e4d..1e1408e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
index 04691f4..6c878d7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
index 04691f4..6c878d7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
index 182f120..b53f8cb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
index 182f120..b53f8cb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
index 35829cc..e280cb8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
index 35829cc..e280cb8 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.dxc.hlsl
index a403ff8..cf7d9fd6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.fxc.hlsl
index a403ff8..cf7d9fd6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
index 400fdf9..b713de1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
index 400fdf9..b713de1 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
index 8d81cd6..a0ca033 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
index 8d81cd6..a0ca033 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
index eb1a0c5..ed45ef3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
index eb1a0c5..ed45ef3 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.dxc.hlsl
index 4a35a14..ff52a78 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.fxc.hlsl
index 4a35a14..ff52a78 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
index bdb0d02..fb25c3a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
index bdb0d02..fb25c3a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
index 2103c4a..3587093 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
index 2103c4a..3587093 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
index a3fd000..f034830 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
index a3fd000..f034830 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
index a3064d8..01d8ee5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
index a3064d8..01d8ee5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
index 1922a3a..e6ab0ba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
index 1922a3a..e6ab0ba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.dxc.hlsl
index c30fbc4..7ee2238 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.fxc.hlsl
index c30fbc4..7ee2238 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
index e971872..772d682 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
index e971872..772d682 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
index 4174bad..a834adb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
index 4174bad..a834adb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
index f6a1c05..ec45c05 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
index f6a1c05..ec45c05 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
index 5d8a0fe..c31b931 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
index 5d8a0fe..c31b931 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
index 7bf99ef..f236a40 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
index 7bf99ef..f236a40 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
index cfe88f9..6e6338b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
index cfe88f9..6e6338b 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
index 56b1176..076c805 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
index 56b1176..076c805 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
index a5a1053..902eae0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
index a5a1053..902eae0 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
index 22daecc..b9a0be5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
index 22daecc..b9a0be5 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
index c5c6aa9..f5931df 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
index c5c6aa9..f5931df 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
index fe6ab2d..ff86087 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
index fe6ab2d..ff86087 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
index e7e8f40..3fe9782 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
index e7e8f40..3fe9782 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
index 381077f..08130cb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
index 381077f..08130cb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
index 0cd0e85..33a6956 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
index 0cd0e85..33a6956 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
index e16be6e..ad62aaa 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
index e16be6e..ad62aaa 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
index f07fb0f..340f642 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
index f07fb0f..340f642 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
index a23a423..34b635c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
index a23a423..34b635c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
index a188695..ce1c1d6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
index a188695..ce1c1d6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
index 20101bf..a572135 100644
--- a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
index 20101bf..a572135 100644
--- a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
index a6e5f91..5a0e928 100644
--- a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
index a6e5f91..5a0e928 100644
--- a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.dxc.hlsl
index 191f2df..78ec4e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.fxc.hlsl
index 191f2df..78ec4e2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
index 49e661b..adf5945 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
index 49e661b..adf5945 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
index 15b5301..4dc7a62 100644
--- a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
index 15b5301..4dc7a62 100644
--- a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
index 83a9293..f6fbf45 100644
--- a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
index 83a9293..f6fbf45 100644
--- a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.dxc.hlsl
index 663f3dc..f2188bc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.fxc.hlsl
index 663f3dc..f2188bc 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
index f2cfe41..d63177f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
index f2cfe41..d63177f 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
index 4b96787..28f17a2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
index 4b96787..28f17a2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
index 9d4f811..922f08a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
index 9d4f811..922f08a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
index 983edc4..8fb42ec 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
index 983edc4..8fb42ec 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
index 46c24fe..cd5f3c2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
index 46c24fe..cd5f3c2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
index 5f22f4f..6dc68f2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
index 5f22f4f..6dc68f2 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
index 18fe42b..e3ce914 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
index 18fe42b..e3ce914 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
index 1ce40ae..52cac29 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
index 1ce40ae..52cac29 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
index 47e99eb..311be74 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
index 47e99eb..311be74 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
index 13f66c9..ca17252 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
index 13f66c9..ca17252 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.dxc.hlsl
index fb869e3..cb1baa7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.fxc.hlsl
index fb869e3..cb1baa7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
index 70dda32..baad958 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
index 70dda32..baad958 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
index 7697dcd..b6dc189 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
index 7697dcd..b6dc189 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
index f2976ec..779b782 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
index f2976ec..779b782 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
index f270b86..fd9edb6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
index f270b86..fd9edb6 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
index 06a7743..37b35b7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
index 06a7743..37b35b7 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
index 2d58374..71b7678 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
index 2d58374..71b7678 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
index 0d83865..f94b0c4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
index 0d83865..f94b0c4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
index 0cd698f..4900e7e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
index 0cd698f..4900e7e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
index f630e9c..012a126 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
index f630e9c..012a126 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
index 57cd33a7..2caebba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
index 57cd33a7..2caebba 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
index 7ea41cc..c9a1ccf 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
index 7ea41cc..c9a1ccf 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
index 766bcbd..302bb1a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
index 766bcbd..302bb1a 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
index caacb86..2e40d76 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
index caacb86..2e40d76 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
index 161e20b..b6f6290 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
index 161e20b..b6f6290 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.dxc.hlsl
index 0aacb5e..592dd64 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.fxc.hlsl
index 0aacb5e..592dd64 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
index e11b029..b82794c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
index e11b029..b82794c 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
index bf4eab2..e52619e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
index bf4eab2..e52619e 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
index d6da2f3..7f75553 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
index d6da2f3..7f75553 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
index 744b6ea..5beff36 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
index 744b6ea..5beff36 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
index d108123..12fab86 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
index d108123..12fab86 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
index f11ae43..6a07e36 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
index f11ae43..6a07e36 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
index 4500388..78f14ef 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
index 4500388..78f14ef 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
index d411c87..6374012 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
index d411c87..6374012 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
index 7a6adde..e777edb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
index 7a6adde..e777edb 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.dxc.hlsl
index 3c59a38..145974e 100644
--- a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.fxc.hlsl
index 3c59a38..145974e 100644
--- a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.dxc.hlsl
index 6109ce4..49fc79a 100644
--- a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.fxc.hlsl
index 6109ce4..49fc79a 100644
--- a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.dxc.hlsl
index 48cabcc..971d39f 100644
--- a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.fxc.hlsl
index 48cabcc..971d39f 100644
--- a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.dxc.hlsl
index 4b58f3e..72995c2 100644
--- a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.fxc.hlsl
index 4b58f3e..72995c2 100644
--- a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.dxc.hlsl
index a031443..e7ea84e 100644
--- a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.fxc.hlsl
index a031443..e7ea84e 100644
--- a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
index 1222d6d..15f9758 100644
--- a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
index 1222d6d..15f9758 100644
--- a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
index d5922b5..0f9874b 100644
--- a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
index d5922b5..0f9874b 100644
--- a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.dxc.hlsl
index cbe1069..7fdd48d 100644
--- a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.fxc.hlsl
index cbe1069..7fdd48d 100644
--- a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.dxc.hlsl
index 1493a96..8027f24 100644
--- a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.fxc.hlsl
index 1493a96..8027f24 100644
--- a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.dxc.hlsl
index 97d5d8d..4b60a99 100644
--- a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.fxc.hlsl
index 97d5d8d..4b60a99 100644
--- a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.dxc.hlsl
index a790242..8649b3d 100644
--- a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.fxc.hlsl
index a790242..8649b3d 100644
--- a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.dxc.hlsl
index 589cc80..cbca360 100644
--- a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.fxc.hlsl
index 589cc80..cbca360 100644
--- a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.dxc.hlsl
index 576af4b..3220c03 100644
--- a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.fxc.hlsl
index 576af4b..3220c03 100644
--- a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
index 62c3ef0..ac70cd7 100644
--- a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
index 62c3ef0..ac70cd7 100644
--- a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.dxc.hlsl
index 8b60ee7..4151ff3 100644
--- a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.fxc.hlsl
index 8b60ee7..4151ff3 100644
--- a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.dxc.hlsl
index 246f571..a5f3d26 100644
--- a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.fxc.hlsl
index 246f571..a5f3d26 100644
--- a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.dxc.hlsl
index 176a37e..0d388d5 100644
--- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.fxc.hlsl
index 176a37e..0d388d5 100644
--- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.dxc.hlsl
index 1bf9505..040dbce 100644
--- a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.fxc.hlsl
index 1bf9505..040dbce 100644
--- a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.dxc.hlsl
index b508db3..d2ae805 100644
--- a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.fxc.hlsl
index b508db3..d2ae805 100644
--- a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.dxc.hlsl
index e68260e..3b83f8a 100644
--- a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.fxc.hlsl
index e68260e..3b83f8a 100644
--- a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
index fc13de0..3889d20 100644
--- a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
index fc13de0..3889d20 100644
--- a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.dxc.hlsl
index 8f601ad..72d68b1 100644
--- a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.fxc.hlsl
index 8f601ad..72d68b1 100644
--- a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.dxc.hlsl
index cca708f..2c99455 100644
--- a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.fxc.hlsl
index cca708f..2c99455 100644
--- a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.dxc.hlsl
index 0feb72c..ab3c980 100644
--- a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.fxc.hlsl
index 0feb72c..ab3c980 100644
--- a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.dxc.hlsl
index 51f7bae..e29c733 100644
--- a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.fxc.hlsl
index 51f7bae..e29c733 100644
--- a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.dxc.hlsl
index f452fab..4688fa7 100644
--- a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.fxc.hlsl
index f452fab..4688fa7 100644
--- a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.dxc.hlsl
index 0bd2f19..f6956b5 100644
--- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.fxc.hlsl
index 0bd2f19..f6956b5 100644
--- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.dxc.hlsl
index 052a2f6..c572116 100644
--- a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.fxc.hlsl
index 052a2f6..c572116 100644
--- a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.dxc.hlsl
index 19c492f..0b35d0c 100644
--- a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.fxc.hlsl
index 19c492f..0b35d0c 100644
--- a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.dxc.hlsl
index 27969f8..2012519 100644
--- a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.fxc.hlsl
index 27969f8..2012519 100644
--- a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.dxc.hlsl
index 85f1aba..e11183c 100644
--- a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.fxc.hlsl
index 85f1aba..e11183c 100644
--- a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.dxc.hlsl
index 0b52c03..30997f4 100644
--- a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.fxc.hlsl
index 0b52c03..30997f4 100644
--- a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.dxc.hlsl
index 6d2422e..8a2e628 100644
--- a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.fxc.hlsl
index 6d2422e..8a2e628 100644
--- a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.dxc.hlsl
index b202776..a199229 100644
--- a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.fxc.hlsl
index b202776..a199229 100644
--- a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.dxc.hlsl
index 29ac428..cdc8a08 100644
--- a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.fxc.hlsl
index 29ac428..cdc8a08 100644
--- a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.dxc.hlsl
index 676bfbb..7afdf7b 100644
--- a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.fxc.hlsl
index 676bfbb..7afdf7b 100644
--- a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.dxc.hlsl
index 62eae1a..99ab459 100644
--- a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.fxc.hlsl
index 62eae1a..99ab459 100644
--- a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.dxc.hlsl
index 03c2cfa..9b409b9 100644
--- a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.fxc.hlsl
index 03c2cfa..9b409b9 100644
--- a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.dxc.hlsl
index 9a3fb99..84c06da 100644
--- a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.fxc.hlsl
index 9a3fb99..84c06da 100644
--- a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.dxc.hlsl
index 94f4b29..6ff7810 100644
--- a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.fxc.hlsl
index 94f4b29..6ff7810 100644
--- a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.dxc.hlsl
index 93d89b9..db92ca9 100644
--- a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.fxc.hlsl
index 93d89b9..db92ca9 100644
--- a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.dxc.hlsl
index 2a0a163..221a159 100644
--- a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.fxc.hlsl
index 2a0a163..221a159 100644
--- a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
index 456f2fe..5861490 100644
--- a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
index 456f2fe..5861490 100644
--- a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.dxc.hlsl
index f248e06..19eca57 100644
--- a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.fxc.hlsl
index f248e06..19eca57 100644
--- a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
index f7c2cf7..43795a3 100644
--- a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
index f7c2cf7..43795a3 100644
--- a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.dxc.hlsl
index 536a702..80ff9f0 100644
--- a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.fxc.hlsl
index 536a702..80ff9f0 100644
--- a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.dxc.hlsl
index c8953cf..682067d 100644
--- a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.fxc.hlsl
index c8953cf..682067d 100644
--- a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.dxc.hlsl
index eef6a17..141f2f2 100644
--- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.fxc.hlsl
index eef6a17..141f2f2 100644
--- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.dxc.hlsl
index be3e1b7..a7e7d72 100644
--- a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.fxc.hlsl
index be3e1b7..a7e7d72 100644
--- a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.dxc.hlsl
index 5bd3e76..34e397c 100644
--- a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.fxc.hlsl
index 5bd3e76..34e397c 100644
--- a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.dxc.hlsl
index fd6b3ea..f0ebbfd 100644
--- a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.fxc.hlsl
index fd6b3ea..f0ebbfd 100644
--- a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.dxc.hlsl
index 29e532f..8f68a4b 100644
--- a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.fxc.hlsl
index 29e532f..8f68a4b 100644
--- a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
index 96f279b..e7c39ca 100644
--- a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
index 96f279b..e7c39ca 100644
--- a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.dxc.hlsl
index 3ffbed7..f893c46 100644
--- a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.fxc.hlsl
index 3ffbed7..f893c46 100644
--- a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.dxc.hlsl
index 5bc7c98..bc23114 100644
--- a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.fxc.hlsl
index 5bc7c98..bc23114 100644
--- a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.dxc.hlsl
index 95782f3..3c09f3a 100644
--- a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.fxc.hlsl
index 95782f3..3c09f3a 100644
--- a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.dxc.hlsl
index dfb0be0..9ffc0cc 100644
--- a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.fxc.hlsl
index dfb0be0..9ffc0cc 100644
--- a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.dxc.hlsl
index d50c874..5cb2d06 100644
--- a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.fxc.hlsl
index d50c874..5cb2d06 100644
--- a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.dxc.hlsl
index 2ffa6fc..2853a35 100644
--- a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.fxc.hlsl
index 2ffa6fc..2853a35 100644
--- a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.dxc.hlsl
index 10f87a2..0869c06 100644
--- a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.fxc.hlsl
index 10f87a2..0869c06 100644
--- a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.dxc.hlsl
index f7ffd49..42e3fd4 100644
--- a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.fxc.hlsl
index f7ffd49..42e3fd4 100644
--- a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
index 55c69a2..d1d2abb 100644
--- a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
index 55c69a2..d1d2abb 100644
--- a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
index 04f0414..932ae10 100644
--- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
index 04f0414..932ae10 100644
--- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
index 511c625..b527575 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
index 511c625..b527575 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
index 43a9102..53b08a4 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
index 43a9102..53b08a4 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
index 47b29a4..3956313 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
index 47b29a4..3956313 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
index 546e8aa..a2b7e46 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
index 546e8aa..a2b7e46 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
index 908472f..0b37ae5 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
index 908472f..0b37ae5 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
index e2e3031..1e214ca 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
index e2e3031..1e214ca 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
index 4a48f20..c80f1f5 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
index 4a48f20..c80f1f5 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
index efd034d..55685f9 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
index efd034d..55685f9 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
index 155982a..5f7a559 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
index 155982a..5f7a559 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.dxc.hlsl
index c8e0147..934ea5b 100644
--- a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.fxc.hlsl
index c8e0147..934ea5b 100644
--- a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.dxc.hlsl
index 42dcd9f..560e0c6 100644
--- a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.fxc.hlsl
index 42dcd9f..560e0c6 100644
--- a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.dxc.hlsl
index c26f11e..05a3cab 100644
--- a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.fxc.hlsl
index c26f11e..05a3cab 100644
--- a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.dxc.hlsl
index 9c8e201..9f93ad2 100644
--- a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.fxc.hlsl
index 9c8e201..9f93ad2 100644
--- a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.dxc.hlsl
index e98e200..7fd8be5 100644
--- a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.fxc.hlsl
index e98e200..7fd8be5 100644
--- a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
index 1ec7c1c..e1efbb4 100644
--- a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
index 1ec7c1c..e1efbb4 100644
--- a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.dxc.hlsl
index bee4d98..764a20b 100644
--- a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.fxc.hlsl
index bee4d98..764a20b 100644
--- a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.dxc.hlsl
index 7f29023..aed9060 100644
--- a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.fxc.hlsl
index 7f29023..aed9060 100644
--- a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.dxc.hlsl
index 8be9188..6f5033d 100644
--- a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.fxc.hlsl
index 8be9188..6f5033d 100644
--- a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.dxc.hlsl
index 8e3cf2f..00a44ec 100644
--- a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.fxc.hlsl
index 8e3cf2f..00a44ec 100644
--- a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.dxc.hlsl
index 41375b5..38a8507 100644
--- a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.fxc.hlsl
index 41375b5..38a8507 100644
--- a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.dxc.hlsl
index 5000ca0..d06bef8 100644
--- a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.fxc.hlsl
index 5000ca0..d06bef8 100644
--- a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.dxc.hlsl
index ee4f7ba..96ff8a3b 100644
--- a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.fxc.hlsl
index ee4f7ba..96ff8a3b 100644
--- a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.dxc.hlsl
index 98c87d9..a9119d3 100644
--- a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.fxc.hlsl
index 98c87d9..a9119d3 100644
--- a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.dxc.hlsl
index 8c88105..8a5687e 100644
--- a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.fxc.hlsl
index 8c88105..8a5687e 100644
--- a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.dxc.hlsl
index d8438a8..73dbc4c 100644
--- a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.fxc.hlsl
index d8438a8..73dbc4c 100644
--- a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.dxc.hlsl
index 95a4485..17d5b9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.fxc.hlsl
index 95a4485..17d5b9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.dxc.hlsl
index 2248d9c..1ce2877 100644
--- a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.fxc.hlsl
index 2248d9c..1ce2877 100644
--- a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.dxc.hlsl
index bb28111..3b76802 100644
--- a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.fxc.hlsl
index bb28111..3b76802 100644
--- a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.dxc.hlsl
index fa45804..bca2359 100644
--- a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.fxc.hlsl
index fa45804..bca2359 100644
--- a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.dxc.hlsl
index f1a7e13..61d747f 100644
--- a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.fxc.hlsl
index f1a7e13..61d747f 100644
--- a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.dxc.hlsl
index 80db9e9..b9950bf 100644
--- a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.fxc.hlsl
index 80db9e9..b9950bf 100644
--- a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.dxc.hlsl
index 9ad46f8..b4b7f5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.fxc.hlsl
index 9ad46f8..b4b7f5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.dxc.hlsl
index 1077d60..ccc6be5 100644
--- a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.fxc.hlsl
index 1077d60..ccc6be5 100644
--- a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.dxc.hlsl
index b1515ba..2f53c25 100644
--- a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.fxc.hlsl
index b1515ba..2f53c25 100644
--- a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
index c551a86..cb4a013 100644
--- a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
index c551a86..cb4a013 100644
--- a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.dxc.hlsl
index 799ea46..04ae5e0 100644
--- a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.fxc.hlsl
index 799ea46..04ae5e0 100644
--- a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.dxc.hlsl
index 07cc715..c47e11a 100644
--- a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.fxc.hlsl
index 07cc715..c47e11a 100644
--- a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.dxc.hlsl
index 4c44dad..4df8cea 100644
--- a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.fxc.hlsl
index 4c44dad..4df8cea 100644
--- a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.dxc.hlsl
index b9b3f16..ee0a3f4 100644
--- a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.fxc.hlsl
index b9b3f16..ee0a3f4 100644
--- a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.dxc.hlsl
index b0ab00f..2f68c08 100644
--- a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.fxc.hlsl
index b0ab00f..2f68c08 100644
--- a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.dxc.hlsl
index d97371a..03e33be 100644
--- a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.fxc.hlsl
index d97371a..03e33be 100644
--- a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.dxc.hlsl
index c6101cb..75f099e 100644
--- a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.fxc.hlsl
index c6101cb..75f099e 100644
--- a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.dxc.hlsl
index 9783c1d..6e27759 100644
--- a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.fxc.hlsl
index 9783c1d..6e27759 100644
--- a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.dxc.hlsl
index e67218f..31fec53 100644
--- a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.fxc.hlsl
index e67218f..31fec53 100644
--- a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.dxc.hlsl
index 203809a..dd852f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.fxc.hlsl
index 203809a..dd852f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.dxc.hlsl
index 6790d3f..3b99f7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.fxc.hlsl
index 6790d3f..3b99f7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.dxc.hlsl
index 5ea1c84..88b661a 100644
--- a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.fxc.hlsl
index 5ea1c84..88b661a 100644
--- a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.dxc.hlsl
index a1ec50a..300ab80 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.fxc.hlsl
index a1ec50a..300ab80 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.dxc.hlsl
index 90a7467..8ff16ad 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.fxc.hlsl
index 90a7467..8ff16ad 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.dxc.hlsl
index 47867e6..b2a6a16 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.fxc.hlsl
index 47867e6..b2a6a16 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
index eba2acf..89113ec 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
index eba2acf..89113ec 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
index 9ddbb0e..2feb844 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.dxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, uint2 coord, ExternalTextureParams params) {
-  const uint2 coord1 = (coord >> (1u).xx);
+  uint2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(uint3(coord, uint(0))).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
index 9ddbb0e..2feb844 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.fxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, uint2 coord, ExternalTextureParams params) {
-  const uint2 coord1 = (coord >> (1u).xx);
+  uint2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(uint3(coord, uint(0))).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.dxc.hlsl
index 394a5ec..47d39dc 100644
--- a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.fxc.hlsl
index 394a5ec..47d39dc 100644
--- a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
index fa536c9..adad15c 100644
--- a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
index fa536c9..adad15c 100644
--- a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
index 9bf67ba..97a534e 100644
--- a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
index 9bf67ba..97a534e 100644
--- a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
index ca2f86e..fa72df3 100644
--- a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
index ca2f86e..fa72df3 100644
--- a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.dxc.hlsl
index e198cd3..09d4b1f 100644
--- a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.fxc.hlsl
index e198cd3..09d4b1f 100644
--- a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.dxc.hlsl
index 25aba09..03e12bd 100644
--- a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.fxc.hlsl
index 25aba09..03e12bd 100644
--- a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
index bfc52eb..6a3dae6 100644
--- a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
index bfc52eb..6a3dae6 100644
--- a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.dxc.hlsl
index 0b54a80..1bca61e 100644
--- a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.fxc.hlsl
index 0b54a80..1bca61e 100644
--- a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
index f793ca0..6614d52 100644
--- a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
index f793ca0..6614d52 100644
--- a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.dxc.hlsl
index 52c1d22..1242e17 100644
--- a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.fxc.hlsl
index 52c1d22..1242e17 100644
--- a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.dxc.hlsl
index 3d50b46..9d2c7e5 100644
--- a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.fxc.hlsl
index 3d50b46..9d2c7e5 100644
--- a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.dxc.hlsl
index 1dc9c82..4828d5a 100644
--- a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.fxc.hlsl
index 1dc9c82..4828d5a 100644
--- a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.dxc.hlsl
index 82d8f1f..82914eb 100644
--- a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.fxc.hlsl
index 82d8f1f..82914eb 100644
--- a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.dxc.hlsl
index a4a8393..7e9f7dd 100644
--- a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.fxc.hlsl
index a4a8393..7e9f7dd 100644
--- a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.dxc.hlsl
index ab61a50..9f0d096 100644
--- a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.fxc.hlsl
index ab61a50..9f0d096 100644
--- a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
index c1d8447..72cbce5 100644
--- a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
index c1d8447..72cbce5 100644
--- a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
index f14376c..71aa654 100644
--- a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
index f14376c..71aa654 100644
--- a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
index 5ac6c95..9f5eef7 100644
--- a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
index 5ac6c95..9f5eef7 100644
--- a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.dxc.hlsl
index ea5240e..4483b68 100644
--- a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.fxc.hlsl
index ea5240e..4483b68 100644
--- a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.dxc.hlsl
index fbc8a98..2a9e80f 100644
--- a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.fxc.hlsl
index fbc8a98..2a9e80f 100644
--- a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.dxc.hlsl
index d2a685a..1ce5050 100644
--- a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.fxc.hlsl
index d2a685a..1ce5050 100644
--- a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
index 07a1035..6d7c882 100644
--- a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
index 07a1035..6d7c882 100644
--- a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.dxc.hlsl
index 8789b8b..63c42b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.fxc.hlsl
index 8789b8b..63c42b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
index dfd037e..4fb9f0f 100644
--- a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
index dfd037e..4fb9f0f 100644
--- a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.dxc.hlsl
index 55c0c9a..a43413f 100644
--- a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.fxc.hlsl
index 55c0c9a..a43413f 100644
--- a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.dxc.hlsl
index 1e45964..69bea9d 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.fxc.hlsl
index 1e45964..69bea9d 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
index 404f904..c81e0f9 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
index 404f904..c81e0f9 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
index dfe06d1..43c3f62 100644
--- a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
index dfe06d1..43c3f62 100644
--- a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
index 3d94673..1b2b0fd 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
index 3d94673..1b2b0fd 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.dxc.hlsl
index 88d1dcf..b1abf81 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.fxc.hlsl
index 88d1dcf..b1abf81 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
index 9a416c3..d67894a 100644
--- a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
index 9a416c3..d67894a 100644
--- a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.dxc.hlsl
index 1731a8e..df651f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.fxc.hlsl
index 1731a8e..df651f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.dxc.hlsl
index 202aec2..1e75791 100644
--- a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.fxc.hlsl
index 202aec2..1e75791 100644
--- a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.dxc.hlsl
index c51a974..29eaec7 100644
--- a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.fxc.hlsl
index c51a974..29eaec7 100644
--- a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
index 256afc9..c166987 100644
--- a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
index 256afc9..c166987 100644
--- a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
index 0b72d47..cd05cd6 100644
--- a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
index 0b72d47..cd05cd6 100644
--- a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.dxc.hlsl
index 558cf24..a07d679 100644
--- a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.fxc.hlsl
index 558cf24..a07d679 100644
--- a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.dxc.hlsl
index 59e096f..d91770b 100644
--- a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.fxc.hlsl
index 59e096f..d91770b 100644
--- a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.dxc.hlsl
index 3e0c5fa..f1e1fa2 100644
--- a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.fxc.hlsl
index 3e0c5fa..f1e1fa2 100644
--- a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.dxc.hlsl
index 9edec65..48cdd69 100644
--- a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.fxc.hlsl
index 9edec65..48cdd69 100644
--- a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
index 4cd278d..61eb1e0 100644
--- a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
index 4cd278d..61eb1e0 100644
--- a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.dxc.hlsl
index 5bdecf6..9819758 100644
--- a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.fxc.hlsl
index 5bdecf6..9819758 100644
--- a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.dxc.hlsl
index 186170a..636c45c 100644
--- a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.fxc.hlsl
index 186170a..636c45c 100644
--- a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.dxc.hlsl
index 399808e..bb6c9a4 100644
--- a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.fxc.hlsl
index 399808e..bb6c9a4 100644
--- a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.dxc.hlsl
index e659f35..c6c5163 100644
--- a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.fxc.hlsl
index e659f35..c6c5163 100644
--- a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.dxc.hlsl
index f8e5690..ff7ca97 100644
--- a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.fxc.hlsl
index f8e5690..ff7ca97 100644
--- a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
index d6fb3f4..9115d8d 100644
--- a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
index d6fb3f4..9115d8d 100644
--- a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
index e57c541..f7c5c98 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
index e57c541..f7c5c98 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.dxc.hlsl
index 79795d3..d2b5ed4 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.fxc.hlsl
index 79795d3..d2b5ed4 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
index 84025a5..0c6ee4e 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
index 84025a5..0c6ee4e 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
index 2af5c2d..4c3748b9 100644
--- a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
index 2af5c2d..4c3748b9 100644
--- a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.dxc.hlsl
index 6186a4b..f3166a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.fxc.hlsl
index 6186a4b..f3166a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
index 84bd137..059a084 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
index 84bd137..059a084 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
index 0acd551..af6a564 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
index 0acd551..af6a564 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
index 558bf56..0d215e1 100644
--- a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
index 558bf56..0d215e1 100644
--- a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
index 118926d..11214b0 100644
--- a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
index 118926d..11214b0 100644
--- a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
index d14bb9a..d699576 100644
--- a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
index d14bb9a..d699576 100644
--- a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.dxc.hlsl
index c8cfcf9..dc28d5b 100644
--- a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.fxc.hlsl
index c8cfcf9..dc28d5b 100644
--- a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.dxc.hlsl
index dba15c9..f4009d5 100644
--- a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.fxc.hlsl
index dba15c9..f4009d5 100644
--- a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.dxc.hlsl
index 9698897..36222a6 100644
--- a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.fxc.hlsl
index 9698897..36222a6 100644
--- a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.dxc.hlsl
index 8a77bc5..0a37ce6 100644
--- a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.fxc.hlsl
index 8a77bc5..0a37ce6 100644
--- a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.dxc.hlsl
index 53eccb0..2d4e26e 100644
--- a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.fxc.hlsl
index 53eccb0..2d4e26e 100644
--- a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.dxc.hlsl
index c8f8180..2acc048 100644
--- a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.fxc.hlsl
index c8f8180..2acc048 100644
--- a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.dxc.hlsl
index c2e81e3..3d55402 100644
--- a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.fxc.hlsl
index c2e81e3..3d55402 100644
--- a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.dxc.hlsl
index 4dc1341..aab4997 100644
--- a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.fxc.hlsl
index 4dc1341..aab4997 100644
--- a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.dxc.hlsl
index 45508b8..566b4d7 100644
--- a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.fxc.hlsl
index 45508b8..566b4d7 100644
--- a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.dxc.hlsl
index 6dcc331..d0234c8 100644
--- a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.fxc.hlsl
index 6dcc331..d0234c8 100644
--- a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.dxc.hlsl
index a68eadd..f82dbcd 100644
--- a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.fxc.hlsl
index a68eadd..f82dbcd 100644
--- a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.dxc.hlsl
index 2ecac03..9996271 100644
--- a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.fxc.hlsl
index 2ecac03..9996271 100644
--- a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
index a0f165a..999a7e9 100644
--- a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
index a0f165a..999a7e9 100644
--- a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.dxc.hlsl
index df06023..7ce2a26 100644
--- a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.fxc.hlsl
index df06023..7ce2a26 100644
--- a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.dxc.hlsl
index 0ec091f..7343d19 100644
--- a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.fxc.hlsl
index 0ec091f..7343d19 100644
--- a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.dxc.hlsl
index 4835316..6d99cca 100644
--- a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.fxc.hlsl
index 4835316..6d99cca 100644
--- a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.dxc.hlsl
index 28810f5..5cee693 100644
--- a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.fxc.hlsl
index 28810f5..5cee693 100644
--- a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.dxc.hlsl
index 824b749..d8a8f5f 100644
--- a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.fxc.hlsl
index 824b749..d8a8f5f 100644
--- a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
index a5be5e2..ecc1c42 100644
--- a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
index a5be5e2..ecc1c42 100644
--- a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.dxc.hlsl
index 5177f1b..3b2f5d2 100644
--- a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.fxc.hlsl
index 5177f1b..3b2f5d2 100644
--- a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
index 8354fc5..dc2f94e 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
index 8354fc5..dc2f94e 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
index 49be7dd..39a49cc 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
index 49be7dd..39a49cc 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.dxc.hlsl
index 7afeb17..031410a 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.fxc.hlsl
index 7afeb17..031410a 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.dxc.hlsl
index 11dea1d..81e7811 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.fxc.hlsl
index 11dea1d..81e7811 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
index 41da499..2d21d17 100644
--- a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
index 41da499..2d21d17 100644
--- a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
index 0210b4f..7eddaed 100644
--- a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
index 0210b4f..7eddaed 100644
--- a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.dxc.hlsl
index 4be2280..4d99d1b 100644
--- a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.fxc.hlsl
index 4be2280..4d99d1b 100644
--- a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
index e489707..9a30d95 100644
--- a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
index e489707..9a30d95 100644
--- a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.dxc.hlsl
index f8b361a..7705ab8 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.fxc.hlsl
index f8b361a..7705ab8 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
index 9ef8e9a..bf2b74a 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
index 9ef8e9a..bf2b74a 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
index a033c69..d954a7d 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
index a033c69..d954a7d 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.dxc.hlsl
index 29d1275..7d89f5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.fxc.hlsl
index 29d1275..7d89f5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.dxc.hlsl
index b02155d..e508092 100644
--- a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.fxc.hlsl
index b02155d..e508092 100644
--- a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.dxc.hlsl
index b1fff5d..b62f068 100644
--- a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.fxc.hlsl
index b1fff5d..b62f068 100644
--- a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.dxc.hlsl
index 70a01bd..303d159 100644
--- a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.fxc.hlsl
index 70a01bd..303d159 100644
--- a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.dxc.hlsl
index e240c83..d798e9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.fxc.hlsl
index e240c83..d798e9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.dxc.hlsl
index 186e90a..d5d7f92 100644
--- a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.fxc.hlsl
index 186e90a..d5d7f92 100644
--- a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.dxc.hlsl
index 12771be..437676c 100644
--- a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.fxc.hlsl
index 12771be..437676c 100644
--- a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.dxc.hlsl
index 0d2d3b6..703d8c4 100644
--- a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.fxc.hlsl
index 0d2d3b6..703d8c4 100644
--- a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.dxc.hlsl
index 523ce35..23b7282 100644
--- a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.fxc.hlsl
index 523ce35..23b7282 100644
--- a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
index 80fd53f..4de6a24 100644
--- a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
index 80fd53f..4de6a24 100644
--- a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.dxc.hlsl
index 6814cbe..29cf8eb 100644
--- a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.fxc.hlsl
index 6814cbe..29cf8eb 100644
--- a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.dxc.hlsl
index 680a3c5..8c09f99 100644
--- a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.fxc.hlsl
index 680a3c5..8c09f99 100644
--- a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.dxc.hlsl
index 33ef97a..b03eff5 100644
--- a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.fxc.hlsl
index 33ef97a..b03eff5 100644
--- a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.dxc.hlsl
index 5a8e8b8..26de816 100644
--- a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.fxc.hlsl
index 5a8e8b8..26de816 100644
--- a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.dxc.hlsl
index 273ab99..a8e20e8 100644
--- a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.fxc.hlsl
index 273ab99..a8e20e8 100644
--- a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.dxc.hlsl
index 1cb08f1..f4a4ae4 100644
--- a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.fxc.hlsl
index 1cb08f1..f4a4ae4 100644
--- a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
index 6a0e55d..5512e95 100644
--- a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
index 6a0e55d..5512e95 100644
--- a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
index 7206242..bffca56 100644
--- a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
index 7206242..bffca56 100644
--- a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
index 16c98a8..624d194 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
index 16c98a8..624d194 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.dxc.hlsl
index 51491f7..1f13870 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.fxc.hlsl
index 51491f7..1f13870 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
index c9a5b13d..f688e48 100644
--- a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
index c9a5b13d..f688e48 100644
--- a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
index 0bfd6e5..b12baaa 100644
--- a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
index 0bfd6e5..b12baaa 100644
--- a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
index 814f4df..9b03127 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
index 814f4df..9b03127 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
index a398266..e3fd153 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
index a398266..e3fd153 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
index 2290b27..3271d5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
index 2290b27..3271d5c 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.dxc.hlsl
index 8397afe..2fc36bb 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.fxc.hlsl
index 8397afe..2fc36bb 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
index 1acdb4c..6db16e2 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
index 1acdb4c..6db16e2 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.dxc.hlsl
index a827d6f..587ff4f 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.fxc.hlsl
index a827d6f..587ff4f 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
index 80e9dc8..4dae1c6 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
index 80e9dc8..4dae1c6 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.dxc.hlsl
index a0dea73..e1bfe39 100644
--- a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.fxc.hlsl
index a0dea73..e1bfe39 100644
--- a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
index 153ae02..ba2aa96 100644
--- a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
index 153ae02..ba2aa96 100644
--- a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.dxc.hlsl
index a00c371..cc04672 100644
--- a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.fxc.hlsl
index a00c371..cc04672 100644
--- a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
index 67aa6a5..e5e13b7 100644
--- a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
index 67aa6a5..e5e13b7 100644
--- a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.dxc.hlsl
index 725a010..4b682b6 100644
--- a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.fxc.hlsl
index 725a010..4b682b6 100644
--- a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.dxc.hlsl
index cabe1d6..e9577df 100644
--- a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.fxc.hlsl
index cabe1d6..e9577df 100644
--- a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.dxc.hlsl
index 87bac4c..05e4c80 100644
--- a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.fxc.hlsl
index 87bac4c..05e4c80 100644
--- a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.dxc.hlsl
index e49e50f..0a761f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.fxc.hlsl
index e49e50f..0a761f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.dxc.hlsl
index 9ee0e65..300aea8 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.fxc.hlsl
index 9ee0e65..300aea8 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.dxc.hlsl
index 4f0d22e..3dcd59f 100644
--- a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.fxc.hlsl
index 4f0d22e..3dcd59f 100644
--- a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.dxc.hlsl
index cf17ac4..23f90d6 100644
--- a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.fxc.hlsl
index cf17ac4..23f90d6 100644
--- a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.dxc.hlsl
index 621b84f..400e569 100644
--- a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.fxc.hlsl
index 621b84f..400e569 100644
--- a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.dxc.hlsl
index f42c018..33f360c 100644
--- a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.fxc.hlsl
index f42c018..33f360c 100644
--- a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
index 5868edb..6b37446 100644
--- a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
index 5868edb..6b37446 100644
--- a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.dxc.hlsl
index 4cedb2c..c56b1ea 100644
--- a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.fxc.hlsl
index 4cedb2c..c56b1ea 100644
--- a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.dxc.hlsl
index 339cfad..5e26e33 100644
--- a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.fxc.hlsl
index 339cfad..5e26e33 100644
--- a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.dxc.hlsl
index 7f0b7c8..53bde99 100644
--- a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.fxc.hlsl
index 7f0b7c8..53bde99 100644
--- a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.dxc.hlsl
index 9352ad3..feb5bef 100644
--- a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.fxc.hlsl
index 9352ad3..feb5bef 100644
--- a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.dxc.hlsl
index c41e655..49acc3a 100644
--- a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.fxc.hlsl
index c41e655..49acc3a 100644
--- a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.dxc.hlsl
index 1bd4eb4..d626971 100644
--- a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.fxc.hlsl
index 1bd4eb4..d626971 100644
--- a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.dxc.hlsl
index 36218e6..73f69f9 100644
--- a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.fxc.hlsl
index 36218e6..73f69f9 100644
--- a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.dxc.hlsl
index d450db4..b1cecb0 100644
--- a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.fxc.hlsl
index d450db4..b1cecb0 100644
--- a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.dxc.hlsl
index a4207ec..55b6b6e 100644
--- a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.fxc.hlsl
index a4207ec..55b6b6e 100644
--- a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
index 6cdee56..d1e83f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
index 6cdee56..d1e83f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
index 3858e87..35d6f12 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
index 3858e87..35d6f12 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
index 072a3a4..ac85606 100644
--- a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
index 072a3a4..ac85606 100644
--- a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
index e57185b..0604701 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
index e57185b..0604701 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
index 58fab13..9cdc51e 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
index 58fab13..9cdc51e 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
index 8438a7b..7d58a8a 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
index 8438a7b..7d58a8a 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.dxc.hlsl
index 64ab4b2..a79f0d1 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.fxc.hlsl
index 64ab4b2..a79f0d1 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
index 9f5f45a..e9d3ac3 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
index 9f5f45a..e9d3ac3 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.dxc.hlsl
index 381d6c5..10e143a 100644
--- a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.fxc.hlsl
index 381d6c5..10e143a 100644
--- a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
index f6677e4..5a3bb45 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
index f6677e4..5a3bb45 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.dxc.hlsl
index 82e3830..02faeee 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.fxc.hlsl
index 82e3830..02faeee 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.dxc.hlsl
index 6c230d0..9949cd3 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.fxc.hlsl
index 6c230d0..9949cd3 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.dxc.hlsl
index 76e0d68..9558ea5 100644
--- a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.fxc.hlsl
index 76e0d68..9558ea5 100644
--- a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
index 576c97d..c0d2cbb 100644
--- a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
index 576c97d..c0d2cbb 100644
--- a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.dxc.hlsl
index 3728398..4235dc2 100644
--- a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.fxc.hlsl
index 3728398..4235dc2 100644
--- a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.dxc.hlsl
index 610ddfc..abbf32e 100644
--- a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.fxc.hlsl
index 610ddfc..abbf32e 100644
--- a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.dxc.hlsl
index 54ec8a5..c75a577 100644
--- a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.fxc.hlsl
index 54ec8a5..c75a577 100644
--- a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.dxc.hlsl
index beabb57..b0c3a75 100644
--- a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.fxc.hlsl
index beabb57..b0c3a75 100644
--- a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.dxc.hlsl
index b3398b8..05e50e7 100644
--- a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.fxc.hlsl
index b3398b8..05e50e7 100644
--- a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.dxc.hlsl
index 9f402d3..6598a4a 100644
--- a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.fxc.hlsl
index 9f402d3..6598a4a 100644
--- a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
index 302a45c..a23ef27 100644
--- a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
index 302a45c..a23ef27 100644
--- a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
index 86b22f6..a3df2f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
index 86b22f6..a3df2f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.dxc.hlsl
index f39b84a..4d8907f 100644
--- a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.fxc.hlsl
index f39b84a..4d8907f 100644
--- a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
index 3eb1e5a..23b78b9 100644
--- a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
index 3eb1e5a..23b78b9 100644
--- a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.dxc.hlsl
index 42798d8..05a95a6 100644
--- a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.fxc.hlsl
index 42798d8..05a95a6 100644
--- a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
index 74a5926..9cd0143 100644
--- a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
index 74a5926..9cd0143 100644
--- a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.dxc.hlsl
index dc009ac..603c854 100644
--- a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.fxc.hlsl
index dc009ac..603c854 100644
--- a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.dxc.hlsl
index 0e0cc54..5ba0a1d 100644
--- a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.fxc.hlsl
index 0e0cc54..5ba0a1d 100644
--- a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.dxc.hlsl
index c5aca35..bf6c4c9 100644
--- a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.fxc.hlsl
index c5aca35..bf6c4c9 100644
--- a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.dxc.hlsl
index fe2cec7..11635f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.fxc.hlsl
index fe2cec7..11635f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.dxc.hlsl
index 40ba767..80d1395 100644
--- a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.fxc.hlsl
index 40ba767..80d1395 100644
--- a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
index a6338f1..e5bbde2 100644
--- a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
index a6338f1..e5bbde2 100644
--- a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.dxc.hlsl
index e367e1b..d61602e 100644
--- a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.fxc.hlsl
index e367e1b..d61602e 100644
--- a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.dxc.hlsl
index aa1ecca..3b6b4fa7 100644
--- a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.fxc.hlsl
index aa1ecca..3b6b4fa7 100644
--- a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.dxc.hlsl
index cd04fd7..a97d797 100644
--- a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.fxc.hlsl
index cd04fd7..a97d797 100644
--- a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.dxc.hlsl
index 2abc480..730b5a5 100644
--- a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.fxc.hlsl
index 2abc480..730b5a5 100644
--- a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.dxc.hlsl
index 921586f..df2fa9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.fxc.hlsl
index 921586f..df2fa9f 100644
--- a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.dxc.hlsl
index e47afee..933a29f 100644
--- a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.fxc.hlsl
index e47afee..933a29f 100644
--- a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.dxc.hlsl
index b7a79b5..131c3c2 100644
--- a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.fxc.hlsl
index b7a79b5..131c3c2 100644
--- a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.dxc.hlsl
index 75a7a7b..bc1138d 100644
--- a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.fxc.hlsl
index 75a7a7b..bc1138d 100644
--- a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
index f694b29..f7a4c77 100644
--- a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
index f694b29..f7a4c77 100644
--- a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.dxc.hlsl
index 00294f5..f302c85 100644
--- a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.fxc.hlsl
index 00294f5..f302c85 100644
--- a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.dxc.hlsl
index 9a82cf3..3317838 100644
--- a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.fxc.hlsl
index 9a82cf3..3317838 100644
--- a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.dxc.hlsl
index f2834fa..9f5718e 100644
--- a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.fxc.hlsl
index f2834fa..9f5718e 100644
--- a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.dxc.hlsl
index 009d3f5..deb990d 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.fxc.hlsl
index 009d3f5..deb990d 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.dxc.hlsl
index 7f356f0..7743615 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.fxc.hlsl
index 7f356f0..7743615 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.dxc.hlsl
index d579e11..3ab2862 100644
--- a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.dxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.fxc.hlsl
index d579e11..3ab2862 100644
--- a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.fxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -63,7 +63,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
index acac4a9..b112538 100644
--- a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
index acac4a9..b112538 100644
--- a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
index 97d013f..9d696ce 100644
--- a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
index 97d013f..9d696ce 100644
--- a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.dxc.hlsl
index 43fddb3..baf9bee 100644
--- a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.fxc.hlsl
index 43fddb3..baf9bee 100644
--- a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
index 1506ff5..390a4d5 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
index 1506ff5..390a4d5 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
index 9168b47..4309ffd 100644
--- a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
index 9168b47..4309ffd 100644
--- a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
index 97fd390..22b9ece 100644
--- a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
index 97fd390..22b9ece 100644
--- a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.dxc.hlsl
index a596fc1..f0bb1f1 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.fxc.hlsl
index a596fc1..f0bb1f1 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
index 74ec6b5..512cbc8 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
index 74ec6b5..512cbc8 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
index 9848908..0e94190 100644
--- a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
index 9848908..0e94190 100644
--- a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.dxc.hlsl
index 576b795..27b6d1d 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.fxc.hlsl
index 576b795..27b6d1d 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.dxc.hlsl
index e71e598..85fb062 100644
--- a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.fxc.hlsl
index e71e598..85fb062 100644
--- a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.dxc.hlsl
index d5fc951..414b4e1 100644
--- a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.fxc.hlsl
index d5fc951..414b4e1 100644
--- a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
index b0863c0..2b30762 100644
--- a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
index b0863c0..2b30762 100644
--- a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.dxc.hlsl
index f003e14..f0f7d58 100644
--- a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.fxc.hlsl
index f003e14..f0f7d58 100644
--- a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.dxc.hlsl
index a395c86..4912a74 100644
--- a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.fxc.hlsl
index a395c86..4912a74 100644
--- a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.dxc.hlsl
index 15f7784..1848969 100644
--- a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.fxc.hlsl
index 15f7784..1848969 100644
--- a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.dxc.hlsl
index e9926e6..496b72c 100644
--- a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.fxc.hlsl
index e9926e6..496b72c 100644
--- a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.dxc.hlsl
index cfdec27..37cdc44e 100644
--- a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.fxc.hlsl
index cfdec27..37cdc44e 100644
--- a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
index dfd0323..5cfa1fc 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
index dfd0323..5cfa1fc 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
index 3f99d92..efee5ef 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
index 3f99d92..efee5ef 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.dxc.hlsl
index ea1eabd..f09a6a9 100644
--- a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.fxc.hlsl
index ea1eabd..f09a6a9 100644
--- a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.dxc.hlsl
index c6e4fb8..7804e03 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.fxc.hlsl
index c6e4fb8..7804e03 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.dxc.hlsl
index 43ec0bd..c20f620 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.fxc.hlsl
index 43ec0bd..c20f620 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.dxc.hlsl
index 618e3a5..dc81976 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.fxc.hlsl
index 618e3a5..dc81976 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
index 0ec4ba3..fbe0b17 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
index 0ec4ba3..fbe0b17 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
index 1eb0b76..9aa75d6 100644
--- a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
index 1eb0b76..9aa75d6 100644
--- a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
index 38efcef..3eea5ab 100644
--- a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
index 38efcef..3eea5ab 100644
--- a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
index 3b7a8f9..442db5a 100644
--- a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
index 3b7a8f9..442db5a 100644
--- a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
index 1c9d1df..85d51f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
index 1c9d1df..85d51f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
index a74ded1..374c725 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
index a74ded1..374c725 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
index e004947..03dda9e 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
index e004947..03dda9e 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
index 50fec20..bafeced 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
index 50fec20..bafeced 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.dxc.hlsl
index 5372bb9..416dc58 100644
--- a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.fxc.hlsl
index 5372bb9..416dc58 100644
--- a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.dxc.hlsl
index 4b0823b..8226121 100644
--- a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.fxc.hlsl
index 4b0823b..8226121 100644
--- a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
index 4267cf1..f93fbba 100644
--- a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
index 4267cf1..f93fbba 100644
--- a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.dxc.hlsl
index 3092ea2..bb5aa91 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.fxc.hlsl
index 3092ea2..bb5aa91 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.dxc.hlsl
index c90df9f..8c9620f 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.fxc.hlsl
index c90df9f..8c9620f 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.dxc.hlsl
index d6bac58..e4207be 100644
--- a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.fxc.hlsl
index d6bac58..e4207be 100644
--- a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.dxc.hlsl
index 666bc71..2e754da 100644
--- a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.fxc.hlsl
index 666bc71..2e754da 100644
--- a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.dxc.hlsl
index 54e80e0..7269bd6 100644
--- a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.fxc.hlsl
index 54e80e0..7269bd6 100644
--- a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
index b915e44..ed26090 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
index b915e44..ed26090 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
index 411d819..5bbbc95 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
index 411d819..5bbbc95 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
index 1716d2d..51182a8 100644
--- a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
index 1716d2d..51182a8 100644
--- a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
index e1e03fc..e214a0a 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
index e1e03fc..e214a0a 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
index 2f37cc1..607786b 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
index 2f37cc1..607786b 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.dxc.hlsl
index 5d7e32c..76e107b 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.fxc.hlsl
index 5d7e32c..76e107b 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
index 7a9ae4f..0a0d127 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
index 7a9ae4f..0a0d127 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
index 8431a98..f690e37 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
index 8431a98..f690e37 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.dxc.hlsl
index c24bb2d..30d06ba 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.fxc.hlsl
index c24bb2d..30d06ba 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.dxc.hlsl
index 02d5ceb..22fe505 100644
--- a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.fxc.hlsl
index 02d5ceb..22fe505 100644
--- a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.dxc.hlsl
index 4acaa83..15bd1de 100644
--- a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.fxc.hlsl
index 4acaa83..15bd1de 100644
--- a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
index 086fed2..fb2088f 100644
--- a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
index 086fed2..fb2088f 100644
--- a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.dxc.hlsl
index 988ee7d..6a42ade 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.fxc.hlsl
index 988ee7d..6a42ade 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.dxc.hlsl
index bd68d0e..b9f91b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.fxc.hlsl
index bd68d0e..b9f91b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
index 82be8ed..02fb3a3 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
index 82be8ed..02fb3a3 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
index ec907a9..1f99ea5 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
index ec907a9..1f99ea5 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
index 9b963bc..92eacec 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
index 9b963bc..92eacec 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
index 7ef0390..0e09372 100644
--- a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
index 7ef0390..0e09372 100644
--- a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.dxc.hlsl
index 8eeb999..3ee69f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.fxc.hlsl
index 8eeb999..3ee69f7 100644
--- a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.dxc.hlsl
index 25440f4..7f2cd9b 100644
--- a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.fxc.hlsl
index 25440f4..7f2cd9b 100644
--- a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.dxc.hlsl
index 431883f..a74d88e 100644
--- a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.fxc.hlsl
index 431883f..a74d88e 100644
--- a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.dxc.hlsl
index d1c2dc3..02b602e 100644
--- a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.fxc.hlsl
index d1c2dc3..02b602e 100644
--- a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.dxc.hlsl
index 889998f..7b80cda 100644
--- a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.fxc.hlsl
index 889998f..7b80cda 100644
--- a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
index ef955de..f37c4ee 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
index ef955de..f37c4ee 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
index bc8ff8e..5b01a88 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
index bc8ff8e..5b01a88 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.dxc.hlsl
index 974b4b9..0cc8c1e 100644
--- a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.fxc.hlsl
index 974b4b9..0cc8c1e 100644
--- a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.dxc.hlsl
index 08d6fd8..3396e51 100644
--- a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.fxc.hlsl
index 08d6fd8..3396e51 100644
--- a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.dxc.hlsl
index fdcbca8..b02c7ee 100644
--- a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.fxc.hlsl
index fdcbca8..b02c7ee 100644
--- a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.dxc.hlsl
index 184ec07..1c3b52c 100644
--- a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.fxc.hlsl
index 184ec07..1c3b52c 100644
--- a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
index 0b8895c..a2e986b 100644
--- a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
index 0b8895c..a2e986b 100644
--- a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
index 6a6378f..455e99f 100644
--- a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
index 6a6378f..455e99f 100644
--- a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.dxc.hlsl
index 2f5b6fd..61cd989 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.fxc.hlsl
index 2f5b6fd..61cd989 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.dxc.hlsl
index 1097b1d..236846f 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.fxc.hlsl
index 1097b1d..236846f 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
index d7c7a55..2a24d71 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
index d7c7a55..2a24d71 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.dxc.hlsl
index e207da6..86c6e6d 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.fxc.hlsl
index e207da6..86c6e6d 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
index 7942eae..906c591 100644
--- a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
index 7942eae..906c591 100644
--- a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
index d9bd335..d056d4c 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
index d9bd335..d056d4c 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
index 29490e7..05da7ab 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
index 29490e7..05da7ab 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
index 87e82ef..8c77ca5 100644
--- a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
index 87e82ef..8c77ca5 100644
--- a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
index 6d792e6..c8e88fe 100644
--- a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
index 6d792e6..c8e88fe 100644
--- a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.dxc.hlsl
index 5d34cad..ddcf3cf 100644
--- a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.fxc.hlsl
index 5d34cad..ddcf3cf 100644
--- a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.dxc.hlsl
index 06f6e25..c7d6374 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.fxc.hlsl
index 06f6e25..c7d6374 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
index a856c03..123963c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
index a856c03..123963c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.dxc.hlsl
index be2f0a9d..58dea41 100644
--- a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.fxc.hlsl
index be2f0a9d..58dea41 100644
--- a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.dxc.hlsl
index 07271cc..629dda7 100644
--- a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.fxc.hlsl
index 07271cc..629dda7 100644
--- a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.dxc.hlsl
index 2e114d2..2e1a524 100644
--- a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.fxc.hlsl
index 2e114d2..2e1a524 100644
--- a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.dxc.hlsl
index adc6105..7aaf1d0 100644
--- a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.fxc.hlsl
index adc6105..7aaf1d0 100644
--- a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
index 957e16a..b8cbf9e 100644
--- a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
index 957e16a..b8cbf9e 100644
--- a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.dxc.hlsl
index 308245a..7536049 100644
--- a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.fxc.hlsl
index 308245a..7536049 100644
--- a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
index 7812b47..720418e 100644
--- a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
index 7812b47..720418e 100644
--- a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.dxc.hlsl
index 696a444..a0a319a 100644
--- a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.fxc.hlsl
index 696a444..a0a319a 100644
--- a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.dxc.hlsl
index dc7ee39..defe7bc 100644
--- a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.fxc.hlsl
index dc7ee39..defe7bc 100644
--- a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.dxc.hlsl
index 0e4529d..422dba4 100644
--- a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.fxc.hlsl
index 0e4529d..422dba4 100644
--- a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.dxc.hlsl
index 969c62a..e9fb31b 100644
--- a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.fxc.hlsl
index 969c62a..e9fb31b 100644
--- a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.dxc.hlsl
index 4215a02..ba0432e 100644
--- a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.fxc.hlsl
index 4215a02..ba0432e 100644
--- a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.dxc.hlsl
index 4fa0322..5c16e00 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.fxc.hlsl
index 4fa0322..5c16e00 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
index 928b9b8..e5649a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
index 928b9b8..e5649a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.dxc.hlsl
index feb898b..15563bf 100644
--- a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.fxc.hlsl
index feb898b..15563bf 100644
--- a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
index 5c751c4..f152f90 100644
--- a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
index 5c751c4..f152f90 100644
--- a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.dxc.hlsl
index 1d06e48..c5da3b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.fxc.hlsl
index 1d06e48..c5da3b2 100644
--- a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.dxc.hlsl
index c554f99..6c005ef 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.fxc.hlsl
index c554f99..6c005ef 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
index f259c12..16b8edd 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
index f259c12..16b8edd 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.dxc.hlsl
index b1d6aff..a5d1266 100644
--- a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.fxc.hlsl
index b1d6aff..a5d1266 100644
--- a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
index 7a6b589..623f16d 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
index 7a6b589..623f16d 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.dxc.hlsl
index 2156b64..f5442a8 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.fxc.hlsl
index 2156b64..f5442a8 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.dxc.hlsl
index b30d8ba..cb03ec9 100644
--- a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.fxc.hlsl
index b30d8ba..cb03ec9 100644
--- a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
index 732b13b..c6cef4a 100644
--- a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
index 732b13b..c6cef4a 100644
--- a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
index 96b2412..13542f4 100644
--- a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
index 96b2412..13542f4 100644
--- a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.dxc.hlsl
index f5a5144..1dc8b50 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.fxc.hlsl
index f5a5144..1dc8b50 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
index 0d7b649..63db881 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
index 0d7b649..63db881 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.dxc.hlsl
index e75cdc6..2027f42 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.fxc.hlsl
index e75cdc6..2027f42 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.dxc.hlsl
index f8cb53b..b5e9da9 100644
--- a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.fxc.hlsl
index f8cb53b..b5e9da9 100644
--- a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
index 2a9c309..287d9fc 100644
--- a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
index 2a9c309..287d9fc 100644
--- a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
index 6d8e263..0ed7f9d 100644
--- a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
index 6d8e263..0ed7f9d 100644
--- a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
index 43f00af..02b6b3c 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
index 43f00af..02b6b3c 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
index 0964dcd..c2b246b 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
index 0964dcd..c2b246b 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.dxc.hlsl
index 7af2615..5cd9aa4 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.fxc.hlsl
index 7af2615..5cd9aa4 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
index 6edec4e..c2cfe8d 100644
--- a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
index 6edec4e..c2cfe8d 100644
--- a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.dxc.hlsl
index 9d90c9b..d0f301a 100644
--- a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.fxc.hlsl
index 9d90c9b..d0f301a 100644
--- a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.dxc.hlsl
index a97d054..736f065 100644
--- a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.fxc.hlsl
index a97d054..736f065 100644
--- a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.dxc.hlsl
index b884ea8..e508d7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.fxc.hlsl
index b884ea8..e508d7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.dxc.hlsl
index c262a73..8470d64 100644
--- a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.fxc.hlsl
index c262a73..8470d64 100644
--- a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.dxc.hlsl
index 473692c..24f13db 100644
--- a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.fxc.hlsl
index 473692c..24f13db 100644
--- a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
index ef2c53a..20a21de 100644
--- a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
index ef2c53a..20a21de 100644
--- a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.dxc.hlsl
index c58a8e6..c8ed6ca 100644
--- a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.fxc.hlsl
index c58a8e6..c8ed6ca 100644
--- a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.dxc.hlsl
index d3f085b..ec18554 100644
--- a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.fxc.hlsl
index d3f085b..ec18554 100644
--- a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
index 4feaa53..589197e 100644
--- a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
index 4feaa53..589197e 100644
--- a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.dxc.hlsl
index f06940b..009192a 100644
--- a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.fxc.hlsl
index f06940b..009192a 100644
--- a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.dxc.hlsl
index bde23d0..8fac308 100644
--- a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.fxc.hlsl
index bde23d0..8fac308 100644
--- a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
index 4ca6c56..b10d370 100644
--- a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
index 4ca6c56..b10d370 100644
--- a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
index 3e35dd3..9c3bf96 100644
--- a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
index 3e35dd3..9c3bf96 100644
--- a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.dxc.hlsl
index cbc5fbb..fef8dc5 100644
--- a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.fxc.hlsl
index cbc5fbb..fef8dc5 100644
--- a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.dxc.hlsl
index aea7386..e797580 100644
--- a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.fxc.hlsl
index aea7386..e797580 100644
--- a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.dxc.hlsl
index 38c41d6..a409331 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.fxc.hlsl
index 38c41d6..a409331 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
index e75e556..c53f508 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
index e75e556..c53f508 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.dxc.hlsl
index 70a8bfe..ffa4608 100644
--- a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.fxc.hlsl
index 70a8bfe..ffa4608 100644
--- a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.dxc.hlsl
index 9ca5ae2..cf60e53 100644
--- a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.fxc.hlsl
index 9ca5ae2..cf60e53 100644
--- a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.dxc.hlsl
index 9b3b892..3371f5d 100644
--- a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.fxc.hlsl
index 9b3b892..3371f5d 100644
--- a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.dxc.hlsl
index e0f93c3..1301ec0 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.fxc.hlsl
index e0f93c3..1301ec0 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.dxc.hlsl
index b72f678..ca1d3f2 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.fxc.hlsl
index b72f678..ca1d3f2 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
index 97237ab..ae416bd 100644
--- a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
index 97237ab..ae416bd 100644
--- a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
index bd81c5d..270384b 100644
--- a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
index bd81c5d..270384b 100644
--- a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
index b1469b5..28fb2b0 100644
--- a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
index b1469b5..28fb2b0 100644
--- a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.dxc.hlsl
index 31ee602..7641b79 100644
--- a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.fxc.hlsl
index 31ee602..7641b79 100644
--- a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
index 7e413e2..f8b5527 100644
--- a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
index 7e413e2..f8b5527 100644
--- a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
index b3b9ea2..e160de1 100644
--- a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
index b3b9ea2..e160de1 100644
--- a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.dxc.hlsl
index 5024f67..3a91482 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.fxc.hlsl
index 5024f67..3a91482 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
index 3a2ea26..61bc572 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
index 3a2ea26..61bc572 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
index 137b789..26d3169 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
index 137b789..26d3169 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.dxc.hlsl
index 61952c0..cc3f103 100644
--- a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.fxc.hlsl
index 61952c0..cc3f103 100644
--- a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.dxc.hlsl
index 9b20d3a..6392bda 100644
--- a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.fxc.hlsl
index 9b20d3a..6392bda 100644
--- a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
index d7a3bcc..38f660e 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
index d7a3bcc..38f660e 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
index 1b4f681..dbfe7b1 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
index 1b4f681..dbfe7b1 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.dxc.hlsl
index 30dd9f8..0b77f86 100644
--- a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.fxc.hlsl
index 30dd9f8..0b77f86 100644
--- a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
index 4e4d240..f01013a 100644
--- a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
index 4e4d240..f01013a 100644
--- a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.dxc.hlsl
index 8c0e857..7bda886 100644
--- a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.fxc.hlsl
index 8c0e857..7bda886 100644
--- a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.dxc.hlsl
index dc7a1fb..244d061 100644
--- a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.fxc.hlsl
index dc7a1fb..244d061 100644
--- a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
index 9fa626f..f63f75d 100644
--- a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
index 9fa626f..f63f75d 100644
--- a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
index 362ba62..c0ae54b 100644
--- a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
index 362ba62..c0ae54b 100644
--- a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
index b7a735b..8f611f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
index b7a735b..8f611f8 100644
--- a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.dxc.hlsl
index 6cfe2e1..935db69 100644
--- a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.fxc.hlsl
index 6cfe2e1..935db69 100644
--- a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
index a27d496..bf4ee1c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
index a27d496..bf4ee1c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.dxc.hlsl
index da8e297..112fc7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.fxc.hlsl
index da8e297..112fc7c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
index 5eff9f1..6571848 100644
--- a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
index 5eff9f1..6571848 100644
--- a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
index c91b15b..0c63484 100644
--- a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
index c91b15b..0c63484 100644
--- a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
index 7179ee3..251cf48 100644
--- a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
index 7179ee3..251cf48 100644
--- a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
index dfd3cde..b1286e4 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
index dfd3cde..b1286e4 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.dxc.hlsl
index eb7bcdc..82aa9b7 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.fxc.hlsl
index eb7bcdc..82aa9b7 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.dxc.hlsl
index 271ab12..b018959 100644
--- a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.fxc.hlsl
index 271ab12..b018959 100644
--- a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.dxc.hlsl
index c708a33..94222f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.fxc.hlsl
index c708a33..94222f0 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.dxc.hlsl
index 79862a8..bded478 100644
--- a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.fxc.hlsl
index 79862a8..bded478 100644
--- a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.dxc.hlsl
index 5865841..34b1356 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.fxc.hlsl
index 5865841..34b1356 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.dxc.hlsl
index 16938dd..c273f40 100644
--- a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.fxc.hlsl
index 16938dd..c273f40 100644
--- a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
index 9a01837..ac1e04b 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
index 9a01837..ac1e04b 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.dxc.hlsl
index e92351f..e081128 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.fxc.hlsl
index e92351f..e081128 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.dxc.hlsl
index bff1ce2..be82021 100644
--- a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.fxc.hlsl
index bff1ce2..be82021 100644
--- a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
index 7acf725..05e485c 100644
--- a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
index 7acf725..05e485c 100644
--- a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.dxc.hlsl
index 9f6e36f..a56aa15 100644
--- a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.fxc.hlsl
index 9f6e36f..a56aa15 100644
--- a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
index 1bd94a3..f86689a 100644
--- a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
index 1bd94a3..f86689a 100644
--- a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
index 32ad2e7..d39ce32 100644
--- a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
index 32ad2e7..d39ce32 100644
--- a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
index 133857a..ef81b54 100644
--- a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
index 133857a..ef81b54 100644
--- a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
index 4a80a53..35c51a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
index 4a80a53..35c51a0 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.dxc.hlsl
index 9aef33b..ae415e5 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.fxc.hlsl
index 9aef33b..ae415e5 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.dxc.hlsl
index bc84834..b0af622 100644
--- a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.fxc.hlsl
index bc84834..b0af622 100644
--- a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
index 6e27d36..4ad084e 100644
--- a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
index 6e27d36..4ad084e 100644
--- a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.dxc.hlsl
index c6e8dfc..86b9cda 100644
--- a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.fxc.hlsl
index c6e8dfc..86b9cda 100644
--- a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
index 819c2dc..276a950 100644
--- a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
index 819c2dc..276a950 100644
--- a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
index 9279833..1c46dac 100644
--- a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
index 9279833..1c46dac 100644
--- a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
index 5c4694f..96e8995 100644
--- a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
index 5c4694f..96e8995 100644
--- a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
index 403b6fa..d3b93c0 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
index 403b6fa..d3b93c0 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
index 08d83fc..e7c2115 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
index 08d83fc..e7c2115 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
index 28bc36c..6b8b00f 100644
--- a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
index 28bc36c..6b8b00f 100644
--- a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.dxc.hlsl
index d743ee6..6d7c115 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.fxc.hlsl
index d743ee6..6d7c115 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.dxc.hlsl
index b7a9d13..96c78aa 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.fxc.hlsl
index b7a9d13..96c78aa 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
index 9e33a61..ecd3977 100644
--- a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
index 9e33a61..ecd3977 100644
--- a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.dxc.hlsl
index 69deed3..4ac3297 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.fxc.hlsl
index 69deed3..4ac3297 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.dxc.hlsl
index cf8f8ca..4b4bd5e 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.fxc.hlsl
index cf8f8ca..4b4bd5e 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
index 2e42799..76b220d0 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
index 2e42799..76b220d0 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.dxc.hlsl
index 00b4bf8..ebe4551 100644
--- a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.fxc.hlsl
index 00b4bf8..ebe4551 100644
--- a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.dxc.hlsl
index e1b3b5e..d2fc41c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.fxc.hlsl
index e1b3b5e..d2fc41c 100644
--- a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
index 870ebf7..0a8b261 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
index 870ebf7..0a8b261 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
index abb0f8a..f60211b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
index abb0f8a..f60211b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
index a6ac830..1f225f4 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
index a6ac830..1f225f4 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
index fe1ec91..0e35d25 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
index fe1ec91..0e35d25 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
index 7c1e510..07d6b18 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
index 7c1e510..07d6b18 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
index 31b68b2..42a2d2a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
index 31b68b2..42a2d2a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
index 6d4a1ac..4016b43 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
index 6d4a1ac..4016b43 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
index c47ae0d..8dfd1bf 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
index c47ae0d..8dfd1bf 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
index 038078c..cc769f4 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
index 038078c..cc769f4 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
index 8ddfb66..2a5e326 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
index 8ddfb66..2a5e326 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
index ec8d5c0..f7f817a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
index ec8d5c0..f7f817a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
index ee147ab..802a431 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
index ee147ab..802a431 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
index 685e2c2..6ffe3c9 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
index 685e2c2..6ffe3c9 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
index 829eabb..f84e2df 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
index 829eabb..f84e2df 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
index 7942bb6..12fc07f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
index 7942bb6..12fc07f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
index e8d1355..6cf5b41 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
index e8d1355..6cf5b41 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
index 2d2a160..6d85b91 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
index 2d2a160..6d85b91 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
index e27aaed..11432c0 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
index e27aaed..11432c0 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
index e369901..b8f287a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
index e369901..b8f287a 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
index 45923b3..535d79f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
index 45923b3..535d79f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
index 510d7d8..355c89c 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
index 510d7d8..355c89c 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.dxc.hlsl
index 50dcf17..2fb1225 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.fxc.hlsl
index 50dcf17..2fb1225 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
index 4edb79c..0c08557 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
index 4edb79c..0c08557 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
index f95ad80..95b0740 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
index f95ad80..95b0740 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
index 2e738f2..ab71be1 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
index 2e738f2..ab71be1 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.dxc.hlsl
index 6707ac3..0dc41e8 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.fxc.hlsl
index 6707ac3..0dc41e8 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
index ce39fe9..f50e7df 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
index ce39fe9..f50e7df 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
index 0edd4bb..1adcd33 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
index 0edd4bb..1adcd33 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
index a6f92f7..d132807 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
index a6f92f7..d132807 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
index e96c3ac..638aa41 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
index e96c3ac..638aa41 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
index 26a69c8..52805ad 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
index 26a69c8..52805ad 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
index 9b544a2..51cf9f3 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
index 9b544a2..51cf9f3 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
index 2a8c94e..73fe86b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
index 2a8c94e..73fe86b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
index 485ec43..264bb84 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
index 485ec43..264bb84 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
index 79b115d..434fd05 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
index 79b115d..434fd05 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
index bc3bd68..a7d389b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
index bc3bd68..a7d389b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
index 874cb79..e2bdfbc 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
index 874cb79..e2bdfbc 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
index 9f2e891..411bf58 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
index 9f2e891..411bf58 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
index 2ee0e49..216109c 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
index 2ee0e49..216109c 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
index a0c230c..ad5a1bc 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
index a0c230c..ad5a1bc 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
index c91257f..b524b83 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
index c91257f..b524b83 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
index c9a293f..ff34d04 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
index c9a293f..ff34d04 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
index 3fb1f60..1290995 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
index 3fb1f60..1290995 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
index 637cef3..e9becee 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
index 637cef3..e9becee 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
index 66c6f4b..f50cbf7 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
index 66c6f4b..f50cbf7 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
index 456d4cc..c1a85b2 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
index 456d4cc..c1a85b2 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
index 17a9aca..e7fbfa0 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
index 17a9aca..e7fbfa0 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
index 76a17e3..07edaaa 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
index 76a17e3..07edaaa 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
index 9182309..a274673 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
index 9182309..a274673 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
index db3a3bb..70aa422 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
index db3a3bb..70aa422 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
index 593320f..8ca77ec 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
index 593320f..8ca77ec 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
index 663e444..78d4cf6 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
index 663e444..78d4cf6 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
index db69c6b..f8dbf61 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
index db69c6b..f8dbf61 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
index 4df96f9..a9c5f10 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
index 4df96f9..a9c5f10 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
index 23dcd64..7725950 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
index 23dcd64..7725950 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
index 123d33c..de2697f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
index 123d33c..de2697f 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
index 43067c5..16077e6 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
index 43067c5..16077e6 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
index 643a54b..7793c5b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
index 643a54b..7793c5b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
index 1227a33..821d00e 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
index 1227a33..821d00e 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.dxc.hlsl
index 76c2e69..a8e6725 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.fxc.hlsl
index 76c2e69..a8e6725 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
index bfc49d0..98da9cf 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
index bfc49d0..98da9cf 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
index 0d2da36..499625b 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
index 0d2da36..499625b 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
index 3580cb6..18f7f58 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
index 3580cb6..18f7f58 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
index e8f01d2..5b35dcb 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
index e8f01d2..5b35dcb 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
index b6fc9a7..7daae9c 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
index b6fc9a7..7daae9c 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
index 5591016..aee4373 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
index 5591016..aee4373 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
index af0c23e..3ac96bf 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
index af0c23e..3ac96bf 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
index bd71aaa..39aafac 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
index bd71aaa..39aafac 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.dxc.hlsl
index b1357f0..d85d70f 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.fxc.hlsl
index b1357f0..d85d70f 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
index d18ba6d..f530c14 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
index d18ba6d..f530c14 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
index 097b595..30d635f 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
index 097b595..30d635f 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
index 09236e9..5259c67 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
index 09236e9..5259c67 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
index 15fee50..870d9dc 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
index 15fee50..870d9dc 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
index bc83071..1a80e2e 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
index bc83071..1a80e2e 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
index 8e2b4bd..5181b93 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
index 8e2b4bd..5181b93 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
index cd5c738..2c84445 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
index cd5c738..2c84445 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
index d6491e2..8ae9e26 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
index d6491e2..8ae9e26 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
index 08e07f2..d59e8d9 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
index 08e07f2..d59e8d9 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
index c6ef272..2ce4461 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
index c6ef272..2ce4461 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
index a6428d6..0f76a24 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
index a6428d6..0f76a24 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
index af8ca21..ea69949 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
index af8ca21..ea69949 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
index c19bab7..b3a4527 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
index c19bab7..b3a4527 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
index 26d9873..b3a862f 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
index 26d9873..b3a862f 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
index e0f4514..6b62da7 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
index e0f4514..6b62da7 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
index 21e1d50..74b3110 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
index 21e1d50..74b3110 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
index ae45a89..6c0c105 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.dxc.hlsl
@@ -26,24 +26,24 @@
 SamplerState arg_1 : register(s1, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureSampleExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, SamplerState smp, float2 coord, ExternalTextureParams params) {
-  const float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
+  float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
   uint3 tint_tmp;
   plane0.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 plane0_dims = float2(tint_tmp.xy);
-  const float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
-  const float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
+  float2 plane0_dims = float2(tint_tmp.xy);
+  float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
+  float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
   uint3 tint_tmp_1;
   plane1.GetDimensions(0, tint_tmp_1.x, tint_tmp_1.y, tint_tmp_1.z);
-  const float2 plane1_dims = float2(tint_tmp_1.xy);
-  const float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
-  const float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
+  float2 plane1_dims = float2(tint_tmp_1.xy);
+  float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
+  float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.SampleLevel(smp, plane0_clamped, 0.0f).rgba;
@@ -74,7 +74,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -120,7 +120,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
index ae45a89..6c0c105 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.fxc.hlsl
@@ -26,24 +26,24 @@
 SamplerState arg_1 : register(s1, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureSampleExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, SamplerState smp, float2 coord, ExternalTextureParams params) {
-  const float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
+  float2 modifiedCoords = mul(float3(coord, 1.0f), params.coordTransformationMatrix);
   uint3 tint_tmp;
   plane0.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 plane0_dims = float2(tint_tmp.xy);
-  const float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
-  const float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
+  float2 plane0_dims = float2(tint_tmp.xy);
+  float2 plane0_half_texel = ((0.5f).xx / plane0_dims);
+  float2 plane0_clamped = clamp(modifiedCoords, plane0_half_texel, (1.0f - plane0_half_texel));
   uint3 tint_tmp_1;
   plane1.GetDimensions(0, tint_tmp_1.x, tint_tmp_1.y, tint_tmp_1.z);
-  const float2 plane1_dims = float2(tint_tmp_1.xy);
-  const float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
-  const float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
+  float2 plane1_dims = float2(tint_tmp_1.xy);
+  float2 plane1_half_texel = ((0.5f).xx / plane1_dims);
+  float2 plane1_clamped = clamp(modifiedCoords, plane1_half_texel, (1.0f - plane1_half_texel));
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.SampleLevel(smp, plane0_clamped, 0.0f).rgba;
@@ -74,7 +74,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_1 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_1;
 }
 
@@ -120,7 +120,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
index 604574e..10a2bd5 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.dxc.hlsl
@@ -1,9 +1,9 @@
 float4 tint_textureSampleBaseClampToEdge(Texture2D<float4> t, SamplerState s, float2 coord) {
   uint3 tint_tmp;
   t.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 dims = float2(tint_tmp.xy);
-  const float2 half_texel = ((0.5f).xx / dims);
-  const float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
+  float2 dims = float2(tint_tmp.xy);
+  float2 half_texel = ((0.5f).xx / dims);
+  float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
   return t.SampleLevel(s, clamped, 0.0f);
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
index 604574e..10a2bd5 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.fxc.hlsl
@@ -1,9 +1,9 @@
 float4 tint_textureSampleBaseClampToEdge(Texture2D<float4> t, SamplerState s, float2 coord) {
   uint3 tint_tmp;
   t.GetDimensions(0, tint_tmp.x, tint_tmp.y, tint_tmp.z);
-  const float2 dims = float2(tint_tmp.xy);
-  const float2 half_texel = ((0.5f).xx / dims);
-  const float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
+  float2 dims = float2(tint_tmp.xy);
+  float2 half_texel = ((0.5f).xx / dims);
+  float2 clamped = clamp(coord, half_texel, (1.0f - half_texel));
   return t.SampleLevel(s, clamped, 0.0f);
 }
 
@@ -27,7 +27,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
index 04573a5..e69475e 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
index 04573a5..e69475e 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
index 3d0e2b6..a91a6d0 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
index 3d0e2b6..a91a6d0 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
index 209f5db..fdd2735 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
index 209f5db..fdd2735 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
index 4e4cb2f..e32c2dc 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
index 4e4cb2f..e32c2dc 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
index 0c4458e..c87e3e4 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
index 0c4458e..c87e3e4 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
index e65a9c4..8561783 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
index e65a9c4..8561783 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
index 42f41e2..90044aa 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
index 42f41e2..90044aa 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
index f8e68d7..5f1ea28 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
index f8e68d7..5f1ea28 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
index ee5c5b6..154dd3e 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
index ee5c5b6..154dd3e 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
index 03943b5..3d8b5e1 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
index 03943b5..3d8b5e1 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
index 3adaea2..737969b 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
index 3adaea2..737969b 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
index 1021347..14a80be 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
index 1021347..14a80be 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
index ba0be4f..cb882fb 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
index ba0be4f..cb882fb 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
index a06aada..51e28ec 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
index a06aada..51e28ec 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
index 20bee4d..63df4c7 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
index 20bee4d..63df4c7 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
index ef3e1a7..cf0e844 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
index ef3e1a7..cf0e844 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
index 6d9a2e2..bafe062 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
index 6d9a2e2..bafe062 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
index abb4e4b..e805f3e 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
index abb4e4b..e805f3e 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
index e5cca3a..4328711 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
index e5cca3a..4328711 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
index 18fb4a8..f3abbfb 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
index 18fb4a8..f3abbfb 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
index 5167b75..acc991e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
index 5167b75..acc991e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
index 179259f..62227cd 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
index 179259f..62227cd 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
index 90f2b37..0691d20 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
index 90f2b37..0691d20 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
index c5f6569..7e155a7 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
index c5f6569..7e155a7 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
index e325309..96f094d 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
index e325309..96f094d 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
index ff92619..4ad6c26 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
index ff92619..4ad6c26 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
index 524bf87..0e6bd55 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
index 524bf87..0e6bd55 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
index f4a2fcc..6649c4d 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
index f4a2fcc..6649c4d 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
index dca2885..8fb4bae 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
index dca2885..8fb4bae 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
index 68fff12..db31885 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
index 68fff12..db31885 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
index de72d23..b96591b 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
index de72d23..b96591b 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
index 9f690df..98ce287 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
index 9f690df..98ce287 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
index 5bfa7c8..ebc728c 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
index 5bfa7c8..ebc728c 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
index 4a2bef5..c49228e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
index 4a2bef5..c49228e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
index eb4c1ff..a1823c5 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
index eb4c1ff..a1823c5 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
index 1a5d429..a6a803f 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
index 1a5d429..a6a803f 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
index f51744c..d772df9 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
index f51744c..d772df9 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
index beccac2..ab20838 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
index beccac2..ab20838 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
index 49c3413..eafdfa9 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
index 49c3413..eafdfa9 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
index f70036d..1e854ea 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
index f70036d..1e854ea 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
index 9541943..7514d8a 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
index 9541943..7514d8a 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
index bbb7e7e..943f436 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
index bbb7e7e..943f436 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
index d38d054..564c07e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
index d38d054..564c07e 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
index b4db5af..1fc3840 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
index b4db5af..1fc3840 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
index 5818314..3da9e15 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
index 5818314..3da9e15 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
index 3205f67..9be0672 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
index 3205f67..9be0672 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
index f1785c4..2c7f009 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
index f1785c4..2c7f009 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
index bae5c20..5daf7b0 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
index bae5c20..5daf7b0 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
index 3ea6da2..18b7a39 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
index 3ea6da2..18b7a39 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.dxc.hlsl
index 28af169..846474a 100644
--- a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.fxc.hlsl
index 28af169..846474a 100644
--- a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.dxc.hlsl
index dcf713b..31cf857 100644
--- a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.fxc.hlsl
index dcf713b..31cf857 100644
--- a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.dxc.hlsl
index 64720c9..b61b9f0 100644
--- a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.fxc.hlsl
index 64720c9..b61b9f0 100644
--- a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.dxc.hlsl
index 3c6c51f..3c6a055 100644
--- a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.fxc.hlsl
index 3c6c51f..3c6a055 100644
--- a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.dxc.hlsl
index 54c396e..84ec31d 100644
--- a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.fxc.hlsl
index 54c396e..84ec31d 100644
--- a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.dxc.hlsl
index 75204cc..d8e8925 100644
--- a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.fxc.hlsl
index 75204cc..d8e8925 100644
--- a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.dxc.hlsl
index d6609bb..c7f38cc 100644
--- a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.fxc.hlsl
index d6609bb..c7f38cc 100644
--- a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.dxc.hlsl
index f27264b..8c5922b 100644
--- a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.fxc.hlsl
index f27264b..8c5922b 100644
--- a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.dxc.hlsl
index 0c19880..40912ec 100644
--- a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.fxc.hlsl
index 0c19880..40912ec 100644
--- a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.dxc.hlsl
index 711e1c7..13c0c5f 100644
--- a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.fxc.hlsl
index 711e1c7..13c0c5f 100644
--- a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.dxc.hlsl
index 9823316..efef8ed 100644
--- a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.fxc.hlsl
index 9823316..efef8ed 100644
--- a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.dxc.hlsl
index 120661e..1518fbe 100644
--- a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.fxc.hlsl
index 120661e..1518fbe 100644
--- a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.dxc.hlsl
index f33e906..dd69ecf 100644
--- a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.fxc.hlsl
index f33e906..dd69ecf 100644
--- a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.dxc.hlsl
index 12c731f..bdcd850 100644
--- a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.fxc.hlsl
index 12c731f..bdcd850 100644
--- a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.dxc.hlsl
index d52e0c7..51618da 100644
--- a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.fxc.hlsl
index d52e0c7..51618da 100644
--- a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.dxc.hlsl
index 633d7f6..4beab1d 100644
--- a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.fxc.hlsl
index 633d7f6..4beab1d 100644
--- a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.dxc.hlsl
index 5484237..dbc25bf 100644
--- a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.fxc.hlsl
index 5484237..dbc25bf 100644
--- a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.dxc.hlsl
index 5fe4eaf..9b4e2fc 100644
--- a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.fxc.hlsl
index 5fe4eaf..9b4e2fc 100644
--- a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.dxc.hlsl
index 9528144..8efbc33 100644
--- a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.fxc.hlsl
index 9528144..8efbc33 100644
--- a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.dxc.hlsl
index 10f35a8..3147c71 100644
--- a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.fxc.hlsl
index 10f35a8..3147c71 100644
--- a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.dxc.hlsl
index b904e54..d587b6b 100644
--- a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.fxc.hlsl
index b904e54..d587b6b 100644
--- a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.dxc.hlsl
index 4c4b092..38e83d7 100644
--- a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.fxc.hlsl
index 4c4b092..38e83d7 100644
--- a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.dxc.hlsl
index 1cbce14..763854e 100644
--- a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.fxc.hlsl
index 1cbce14..763854e 100644
--- a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.dxc.hlsl
index dba67c8..2f85a61 100644
--- a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.fxc.hlsl
index dba67c8..2f85a61 100644
--- a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.dxc.hlsl
index 1fb7fa3..0dda9b7 100644
--- a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.fxc.hlsl
index 1fb7fa3..0dda9b7 100644
--- a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.dxc.hlsl
index c7d1d01..0e071ff 100644
--- a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.fxc.hlsl
index c7d1d01..0e071ff 100644
--- a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.dxc.hlsl
index ae44dc1..50f3585 100644
--- a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.fxc.hlsl
index ae44dc1..50f3585 100644
--- a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.dxc.hlsl
index 5585062..bcc130d 100644
--- a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.fxc.hlsl
index 5585062..bcc130d 100644
--- a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
index 8b6a1cd..c580271 100644
--- a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
index 8b6a1cd..c580271 100644
--- a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.dxc.hlsl
index 7fc2cd7..91e84ee 100644
--- a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.fxc.hlsl
index 7fc2cd7..91e84ee 100644
--- a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.dxc.hlsl
index e51f5c2..9b714eb 100644
--- a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.fxc.hlsl
index e51f5c2..9b714eb 100644
--- a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.dxc.hlsl
index ce81287..ae02ea0 100644
--- a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.fxc.hlsl
index ce81287..ae02ea0 100644
--- a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.dxc.hlsl
index 722133e..776f31b 100644
--- a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.fxc.hlsl
index 722133e..776f31b 100644
--- a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.dxc.hlsl
index 5b510fb..a44f797 100644
--- a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.fxc.hlsl
index 5b510fb..a44f797 100644
--- a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.dxc.hlsl
index 6100385..c89af0a 100644
--- a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.fxc.hlsl
index 6100385..c89af0a 100644
--- a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
index eaee498..680220b 100644
--- a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
index eaee498..680220b 100644
--- a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.dxc.hlsl
index 1d12542..798ef79 100644
--- a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.fxc.hlsl
index 1d12542..798ef79 100644
--- a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
index 35af475..3db56b3 100644
--- a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
index 35af475..3db56b3 100644
--- a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.dxc.hlsl
index 55d816d..30b50f5 100644
--- a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.fxc.hlsl
index 55d816d..30b50f5 100644
--- a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.dxc.hlsl
index 4e24e9e..4dd6fa1 100644
--- a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.fxc.hlsl
index 4e24e9e..4dd6fa1 100644
--- a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.dxc.hlsl
index 3756cec..a951ffc 100644
--- a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.fxc.hlsl
index 3756cec..a951ffc 100644
--- a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.dxc.hlsl
index da6c13f..cf073d7 100644
--- a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.fxc.hlsl
index da6c13f..cf073d7 100644
--- a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.dxc.hlsl
index 1c5aefe..3d19b97 100644
--- a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.fxc.hlsl
index 1c5aefe..3d19b97 100644
--- a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.dxc.hlsl
index 915ae9e..9f11aa1 100644
--- a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.fxc.hlsl
index 915ae9e..9f11aa1 100644
--- a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.dxc.hlsl
index 46d7d3d..2c35c83 100644
--- a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.fxc.hlsl
index 46d7d3d..2c35c83 100644
--- a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.dxc.hlsl
index 60ed3e4..c70cb62 100644
--- a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.fxc.hlsl
index 60ed3e4..c70cb62 100644
--- a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.dxc.hlsl
index 7047e7c..49a1d74 100644
--- a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.fxc.hlsl
index 7047e7c..49a1d74 100644
--- a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.dxc.hlsl
index 434f060..eddf92a 100644
--- a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.fxc.hlsl
index 434f060..eddf92a 100644
--- a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.dxc.hlsl
index c7747ff..acabf0a 100644
--- a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.fxc.hlsl
index c7747ff..acabf0a 100644
--- a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.dxc.hlsl
index 921f8b2..fe2d534 100644
--- a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.fxc.hlsl
index 921f8b2..fe2d534 100644
--- a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.dxc.hlsl
index 757e349..32d8deb 100644
--- a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.fxc.hlsl
index 757e349..32d8deb 100644
--- a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.dxc.hlsl
index fc40d74..ab693fa 100644
--- a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.fxc.hlsl
index fc40d74..ab693fa 100644
--- a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.dxc.hlsl
index f46800b..4b06f40 100644
--- a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.fxc.hlsl
index f46800b..4b06f40 100644
--- a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.dxc.hlsl
index f31fa3d..cffdb7c 100644
--- a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.fxc.hlsl
index f31fa3d..cffdb7c 100644
--- a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.dxc.hlsl
index 4bb2bcc..ee0e9eb 100644
--- a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.fxc.hlsl
index 4bb2bcc..ee0e9eb 100644
--- a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
index 15517db..4659339 100644
--- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
index 15517db..4659339 100644
--- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.dxc.hlsl
index e1fdf72..d4c4b44 100644
--- a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.fxc.hlsl
index e1fdf72..d4c4b44 100644
--- a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.dxc.hlsl
index fce1119..c10fa8b 100644
--- a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.fxc.hlsl
index fce1119..c10fa8b 100644
--- a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.dxc.hlsl
index 5feb22c..7c94ed0 100644
--- a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.fxc.hlsl
index 5feb22c..7c94ed0 100644
--- a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.dxc.hlsl
index b6582ed..aa180f8 100644
--- a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.fxc.hlsl
index b6582ed..aa180f8 100644
--- a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.dxc.hlsl
index f1a37fb..79054dd 100644
--- a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.fxc.hlsl
index f1a37fb..79054dd 100644
--- a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
index b0c2cc0..04e149f 100644
--- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
index b0c2cc0..04e149f 100644
--- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
index c347426..dbc27db 100644
--- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
index c347426..dbc27db 100644
--- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.dxc.hlsl
index bf56a8b..2b1de15 100644
--- a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.fxc.hlsl
index bf56a8b..2b1de15 100644
--- a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.dxc.hlsl
index 2440a69..b20db03 100644
--- a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.fxc.hlsl
index 2440a69..b20db03 100644
--- a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.dxc.hlsl
index 4fa2ac3..d1c97a2 100644
--- a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.fxc.hlsl
index 4fa2ac3..d1c97a2 100644
--- a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.dxc.hlsl
index 4e8b4bb..ebe3097 100644
--- a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.fxc.hlsl
index 4e8b4bb..ebe3097 100644
--- a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.dxc.hlsl
index 6514d61..1c441ae 100644
--- a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.fxc.hlsl
index 6514d61..1c441ae 100644
--- a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.dxc.hlsl
index 9265cd8..3bf0f3a 100644
--- a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.fxc.hlsl
index 9265cd8..3bf0f3a 100644
--- a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.dxc.hlsl
index 2562e61..5a1d7cc 100644
--- a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.fxc.hlsl
index 2562e61..5a1d7cc 100644
--- a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.dxc.hlsl
index 1338528..51afd98 100644
--- a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.fxc.hlsl
index 1338528..51afd98 100644
--- a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.dxc.hlsl
index eb0e87c..c0bcd6d 100644
--- a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.fxc.hlsl
index eb0e87c..c0bcd6d 100644
--- a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.dxc.hlsl
index 8e1189f..092f4d0 100644
--- a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.fxc.hlsl
index 8e1189f..092f4d0 100644
--- a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.dxc.hlsl
index ee79489..e711e08 100644
--- a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.fxc.hlsl
index ee79489..e711e08 100644
--- a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.dxc.hlsl
index 55f6767..d2ede69 100644
--- a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.fxc.hlsl
index 55f6767..d2ede69 100644
--- a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.dxc.hlsl
index f5ad13e..216b9f1 100644
--- a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.fxc.hlsl
index f5ad13e..216b9f1 100644
--- a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.dxc.hlsl
index 317005d..7e0c300 100644
--- a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.fxc.hlsl
index 317005d..7e0c300 100644
--- a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.dxc.hlsl
index a32e018..76865dd 100644
--- a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.fxc.hlsl
index a32e018..76865dd 100644
--- a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
index 46a260c3..4ce140b 100644
--- a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
index 46a260c3..4ce140b 100644
--- a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.dxc.hlsl
index 07f9859..e5c9a49 100644
--- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.fxc.hlsl
index 07f9859..e5c9a49 100644
--- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.dxc.hlsl
index b1f91c3..478d996 100644
--- a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.fxc.hlsl
index b1f91c3..478d996 100644
--- a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
index ccf2104..ef00532 100644
--- a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
index ccf2104..ef00532 100644
--- a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.dxc.hlsl
index 21d5a66..49ed90f 100644
--- a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.fxc.hlsl
index 21d5a66..49ed90f 100644
--- a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.dxc.hlsl
index 3002a06..a7e5bf4 100644
--- a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.fxc.hlsl
index 3002a06..a7e5bf4 100644
--- a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
index 772dbf4..ae27d1d 100644
--- a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
index 772dbf4..ae27d1d 100644
--- a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.dxc.hlsl
index c7d4b7b..0fadd68 100644
--- a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.fxc.hlsl
index c7d4b7b..0fadd68 100644
--- a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.dxc.hlsl
index 0d0410e..27691ee 100644
--- a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.fxc.hlsl
index 0d0410e..27691ee 100644
--- a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.dxc.hlsl
index e0c5f5c1..4bc30ac 100644
--- a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.fxc.hlsl
index e0c5f5c1..4bc30ac 100644
--- a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.dxc.hlsl
index 8009fe8..b24d4dd 100644
--- a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.fxc.hlsl
index 8009fe8..b24d4dd 100644
--- a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.dxc.hlsl
index c9fa4f1..85b35e8 100644
--- a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.fxc.hlsl
index c9fa4f1..85b35e8 100644
--- a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.dxc.hlsl
index 17eb40c..d76c9f3 100644
--- a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.fxc.hlsl
index 17eb40c..d76c9f3 100644
--- a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.dxc.hlsl
index 97929630d..a7c9d9b 100644
--- a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.fxc.hlsl
index 97929630d..a7c9d9b 100644
--- a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.dxc.hlsl
index 6f14d8d..0f579f1 100644
--- a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.fxc.hlsl
index 6f14d8d..0f579f1 100644
--- a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.dxc.hlsl
index fae9131..11e9bf7 100644
--- a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.fxc.hlsl
index fae9131..11e9bf7 100644
--- a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.dxc.hlsl
index 92b4be6..03d3fc2 100644
--- a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.fxc.hlsl
index 92b4be6..03d3fc2 100644
--- a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.dxc.hlsl
index cbdacef..e355916 100644
--- a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.fxc.hlsl
index cbdacef..e355916 100644
--- a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.dxc.hlsl
index d1703f0..be3cd2e 100644
--- a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.fxc.hlsl
index d1703f0..be3cd2e 100644
--- a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.dxc.hlsl
index 013180b..681e0a2 100644
--- a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.fxc.hlsl
index 013180b..681e0a2 100644
--- a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
index 0d3f228..38bc400 100644
--- a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
index 0d3f228..38bc400 100644
--- a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.dxc.hlsl
index 113213f..5374105 100644
--- a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.fxc.hlsl
index 113213f..5374105 100644
--- a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.dxc.hlsl
index 54e85bc..ac286a6 100644
--- a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.fxc.hlsl
index 54e85bc..ac286a6 100644
--- a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.dxc.hlsl
index a989298..3b80140 100644
--- a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.fxc.hlsl
index a989298..3b80140 100644
--- a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.dxc.hlsl
index 82e2e58..2ab52ed 100644
--- a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.fxc.hlsl
index 82e2e58..2ab52ed 100644
--- a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.dxc.hlsl
index ce4a67d..4c34d3c 100644
--- a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.fxc.hlsl
index ce4a67d..4c34d3c 100644
--- a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
index 474032a..566ba27 100644
--- a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
index 474032a..566ba27 100644
--- a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.dxc.hlsl
index 3ad78a4..aa75e9b 100644
--- a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.fxc.hlsl
index 3ad78a4..aa75e9b 100644
--- a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.dxc.hlsl
index a8cdddd..a533f78 100644
--- a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.fxc.hlsl
index a8cdddd..a533f78 100644
--- a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.dxc.hlsl
index 8f0257d..1c29e1c 100644
--- a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.fxc.hlsl
index 8f0257d..1c29e1c 100644
--- a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.dxc.hlsl
index f170757..2b5d523 100644
--- a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.fxc.hlsl
index f170757..2b5d523 100644
--- a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.dxc.hlsl
index ecb410f..4263c51 100644
--- a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.fxc.hlsl
index ecb410f..4263c51 100644
--- a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.dxc.hlsl
index 7093326..399bc79 100644
--- a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.fxc.hlsl
index 7093326..399bc79 100644
--- a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.dxc.hlsl
index 3cbe68e..7b7be11 100644
--- a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.fxc.hlsl
index 3cbe68e..7b7be11 100644
--- a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.dxc.hlsl
index 2b2c72f..a60ca30 100644
--- a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.fxc.hlsl
index 2b2c72f..a60ca30 100644
--- a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.dxc.hlsl
index c42a3c5..ee2814e 100644
--- a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.fxc.hlsl
index c42a3c5..ee2814e 100644
--- a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.dxc.hlsl
index b6e68ac..cff72ed 100644
--- a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.fxc.hlsl
index b6e68ac..cff72ed 100644
--- a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.dxc.hlsl
index 9842c7d..fa78dbe 100644
--- a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.fxc.hlsl
index 9842c7d..fa78dbe 100644
--- a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.dxc.hlsl
index c48b3a4..ecc4eee 100644
--- a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.fxc.hlsl
index c48b3a4..ecc4eee 100644
--- a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.dxc.hlsl
index eadabe6..de6c467 100644
--- a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.fxc.hlsl
index eadabe6..de6c467 100644
--- a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.dxc.hlsl
index e646dd4..f12682d 100644
--- a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.fxc.hlsl
index e646dd4..f12682d 100644
--- a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.dxc.hlsl
index 88f5a2d..f953a9a 100644
--- a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.fxc.hlsl
index 88f5a2d..f953a9a 100644
--- a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
index bbcf0cf..4ad6c74 100644
--- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
index bbcf0cf..4ad6c74 100644
--- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.dxc.hlsl
index 92fd8bd..966d4ab 100644
--- a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.fxc.hlsl
index 92fd8bd..966d4ab 100644
--- a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.dxc.hlsl
index 64c3c1b..893b4ec 100644
--- a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.fxc.hlsl
index 64c3c1b..893b4ec 100644
--- a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.dxc.hlsl
index 7f2b3fa..a9ed64d 100644
--- a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.fxc.hlsl
index 7f2b3fa..a9ed64d 100644
--- a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
index d5e0bc4..9d70b3b 100644
--- a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
index d5e0bc4..9d70b3b 100644
--- a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.dxc.hlsl
index cac835d..e85b84a 100644
--- a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.fxc.hlsl
index cac835d..e85b84a 100644
--- a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
index 5837820..449e628 100644
--- a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
index 5837820..449e628 100644
--- a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.dxc.hlsl
index ad07002..88e4419 100644
--- a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.fxc.hlsl
index ad07002..88e4419 100644
--- a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.dxc.hlsl
index 9f0aa65..d481880 100644
--- a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.fxc.hlsl
index 9f0aa65..d481880 100644
--- a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.dxc.hlsl
index 11d300d..9ee1dc4 100644
--- a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.fxc.hlsl
index 11d300d..9ee1dc4 100644
--- a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.dxc.hlsl
index 5f9b1c9..ed17639 100644
--- a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.fxc.hlsl
index 5f9b1c9..ed17639 100644
--- a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.dxc.hlsl
index af93dc2..2d76bdc 100644
--- a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.fxc.hlsl
index af93dc2..2d76bdc 100644
--- a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.dxc.hlsl
index e229566..72aa865 100644
--- a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.fxc.hlsl
index e229566..72aa865 100644
--- a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.dxc.hlsl
index b052f61..6607d0e 100644
--- a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.fxc.hlsl
index b052f61..6607d0e 100644
--- a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.dxc.hlsl
index 73c35b6..bb29e6b 100644
--- a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.fxc.hlsl
index 73c35b6..bb29e6b 100644
--- a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.dxc.hlsl
index dc2f280..0efaec7 100644
--- a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.fxc.hlsl
index dc2f280..0efaec7 100644
--- a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.dxc.hlsl
index 90fd6b3..28272fc 100644
--- a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.fxc.hlsl
index 90fd6b3..28272fc 100644
--- a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.dxc.hlsl
index 972a97e..60c70ce 100644
--- a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.fxc.hlsl
index 972a97e..60c70ce 100644
--- a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.dxc.hlsl
index cc8bc8b..7ffe554 100644
--- a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.fxc.hlsl
index cc8bc8b..7ffe554 100644
--- a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.dxc.hlsl
index 1da026a..53c641e 100644
--- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.fxc.hlsl
index 1da026a..53c641e 100644
--- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.dxc.hlsl
index df5337a..f0c93ec 100644
--- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.fxc.hlsl
index df5337a..f0c93ec 100644
--- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.dxc.hlsl
index f36f50a..f8e71e9 100644
--- a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.fxc.hlsl
index f36f50a..f8e71e9 100644
--- a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.dxc.hlsl
index 7c558db..16c61cd 100644
--- a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.fxc.hlsl
index 7c558db..16c61cd 100644
--- a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.dxc.hlsl
index eb1d050..f82d04b 100644
--- a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.fxc.hlsl
index eb1d050..f82d04b 100644
--- a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.dxc.hlsl
index e66e3a9..36fd532 100644
--- a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.fxc.hlsl
index e66e3a9..36fd532 100644
--- a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.dxc.hlsl
index 47920cc..295463c 100644
--- a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.fxc.hlsl
index 47920cc..295463c 100644
--- a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.dxc.hlsl
index 3a0b352..d2f0d8f 100644
--- a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.fxc.hlsl
index 3a0b352..d2f0d8f 100644
--- a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
index c3e4db3..d540d20 100644
--- a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
index c3e4db3..d540d20 100644
--- a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.dxc.hlsl
index 488f352..c611027 100644
--- a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.fxc.hlsl
index 488f352..c611027 100644
--- a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.dxc.hlsl
index 3c1a7e3..43b59b251 100644
--- a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.fxc.hlsl
index 3c1a7e3..43b59b251 100644
--- a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.dxc.hlsl
index 7421e3e..70606a5 100644
--- a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.fxc.hlsl
index 7421e3e..70606a5 100644
--- a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.dxc.hlsl
index 4fbd17b..1a054b1 100644
--- a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.fxc.hlsl
index 4fbd17b..1a054b1 100644
--- a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.dxc.hlsl
index 973ae30..c4532bb 100644
--- a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.fxc.hlsl
index 973ae30..c4532bb 100644
--- a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.dxc.hlsl
index 9356a29..8c61ef8 100644
--- a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.fxc.hlsl
index 9356a29..8c61ef8 100644
--- a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.dxc.hlsl
index d825a22..bb08b91 100644
--- a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.fxc.hlsl
index d825a22..bb08b91 100644
--- a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.dxc.hlsl
index 53f5a12..0875087 100644
--- a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.fxc.hlsl
index 53f5a12..0875087 100644
--- a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.dxc.hlsl
index 1dbffbb..6ca559b 100644
--- a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.fxc.hlsl
index 1dbffbb..6ca559b 100644
--- a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.dxc.hlsl
index 41c6295..a52787b 100644
--- a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.fxc.hlsl
index 41c6295..a52787b 100644
--- a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.dxc.hlsl
index b841f5f..e51820c 100644
--- a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.fxc.hlsl
index b841f5f..e51820c 100644
--- a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.dxc.hlsl
index df29991..6ab1d5b 100644
--- a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.fxc.hlsl
index df29991..6ab1d5b 100644
--- a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.dxc.hlsl
index 2e417a5..1b045ac 100644
--- a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.fxc.hlsl
index 2e417a5..1b045ac 100644
--- a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.dxc.hlsl
index 897f76c..ee6db6d 100644
--- a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.fxc.hlsl
index 897f76c..ee6db6d 100644
--- a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.dxc.hlsl
index 09da866..28bfd34 100644
--- a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.fxc.hlsl
index 09da866..28bfd34 100644
--- a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.dxc.hlsl
index c982814..065434b 100644
--- a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.fxc.hlsl
index c982814..065434b 100644
--- a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.dxc.hlsl
index 92dd572..e27e997 100644
--- a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.fxc.hlsl
index 92dd572..e27e997 100644
--- a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.dxc.hlsl
index d8cc420..0fdfe7a 100644
--- a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.fxc.hlsl
index d8cc420..0fdfe7a 100644
--- a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.dxc.hlsl
index f6f06f7..1df2728 100644
--- a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.fxc.hlsl
index f6f06f7..1df2728 100644
--- a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.dxc.hlsl
index 40cef34..36576aa 100644
--- a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.fxc.hlsl
index 40cef34..36576aa 100644
--- a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.dxc.hlsl
index 957b02a..8e97536 100644
--- a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.fxc.hlsl
index 957b02a..8e97536 100644
--- a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.dxc.hlsl
index a90a31f..291ce96 100644
--- a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.fxc.hlsl
index a90a31f..291ce96 100644
--- a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
index 5ba45d9..28d77ac 100644
--- a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
index 5ba45d9..28d77ac 100644
--- a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.dxc.hlsl
index 67a725e..3afdc88 100644
--- a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.fxc.hlsl
index 67a725e..3afdc88 100644
--- a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.dxc.hlsl
index 095e262..38b7116 100644
--- a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.fxc.hlsl
index 095e262..38b7116 100644
--- a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.dxc.hlsl
index 5c3c49e..b8383ca 100644
--- a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.fxc.hlsl
index 5c3c49e..b8383ca 100644
--- a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.dxc.hlsl
index 5cdb0c0..a1918f0 100644
--- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.fxc.hlsl
index 5cdb0c0..a1918f0 100644
--- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.dxc.hlsl
index e663487..c8b5ccb 100644
--- a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.fxc.hlsl
index e663487..c8b5ccb 100644
--- a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.dxc.hlsl
index 36697f9..b647bb4 100644
--- a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.fxc.hlsl
index 36697f9..b647bb4 100644
--- a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.dxc.hlsl
index 918f1a5..a3b4098 100644
--- a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.fxc.hlsl
index 918f1a5..a3b4098 100644
--- a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.dxc.hlsl
index 542dcaf..6b6f22b 100644
--- a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.fxc.hlsl
index 542dcaf..6b6f22b 100644
--- a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.dxc.hlsl
index 6cfa984..f517469 100644
--- a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.fxc.hlsl
index 6cfa984..f517469 100644
--- a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.dxc.hlsl
index 049ac99..b9c0c30 100644
--- a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.fxc.hlsl
index 049ac99..b9c0c30 100644
--- a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.dxc.hlsl
index cd22634..65cc0eb 100644
--- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.fxc.hlsl
index cd22634..65cc0eb 100644
--- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.dxc.hlsl
index 49c1797..413c24d 100644
--- a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.fxc.hlsl
index 49c1797..413c24d 100644
--- a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.dxc.hlsl
index 5672abb..7d1fd0c 100644
--- a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.fxc.hlsl
index 5672abb..7d1fd0c 100644
--- a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.dxc.hlsl
index 5142711..b449e60 100644
--- a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.fxc.hlsl
index 5142711..b449e60 100644
--- a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.dxc.hlsl
index daee82f..5033d29 100644
--- a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.fxc.hlsl
index daee82f..5033d29 100644
--- a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.dxc.hlsl
index d70ea27..01ef67b 100644
--- a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.fxc.hlsl
index d70ea27..01ef67b 100644
--- a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.dxc.hlsl
index 9efd5f5..206c902 100644
--- a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.fxc.hlsl
index 9efd5f5..206c902 100644
--- a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.dxc.hlsl
index 50e377e..10d3298 100644
--- a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.fxc.hlsl
index 50e377e..10d3298 100644
--- a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.dxc.hlsl
index 489517e..25b1ce4 100644
--- a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.fxc.hlsl
index 489517e..25b1ce4 100644
--- a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.dxc.hlsl
index 1ef1c7d..718c65e 100644
--- a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.fxc.hlsl
index 1ef1c7d..718c65e 100644
--- a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.dxc.hlsl
index 6162d25..7778277 100644
--- a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.fxc.hlsl
index 6162d25..7778277 100644
--- a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.dxc.hlsl
index 2d0a494..0529b10 100644
--- a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.fxc.hlsl
index 2d0a494..0529b10 100644
--- a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.dxc.hlsl
index 37e4452..df0d465 100644
--- a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.fxc.hlsl
index 37e4452..df0d465 100644
--- a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.dxc.hlsl
index 7688f17..51a0223 100644
--- a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.fxc.hlsl
index 7688f17..51a0223 100644
--- a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
index 540a552..3f7f68b 100644
--- a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
index 540a552..3f7f68b 100644
--- a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.dxc.hlsl
index 9be824a..af6ed31 100644
--- a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.fxc.hlsl
index 9be824a..af6ed31 100644
--- a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.dxc.hlsl
index a21698e..bf88afb 100644
--- a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.fxc.hlsl
index a21698e..bf88afb 100644
--- a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.dxc.hlsl
index 6facd77..05cdb20 100644
--- a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.fxc.hlsl
index 6facd77..05cdb20 100644
--- a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.dxc.hlsl
index 91cd916..175636b 100644
--- a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.fxc.hlsl
index 91cd916..175636b 100644
--- a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.dxc.hlsl
index 306c254..3e76e18 100644
--- a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.fxc.hlsl
index 306c254..3e76e18 100644
--- a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.dxc.hlsl
index e3875a4..654930d 100644
--- a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.fxc.hlsl
index e3875a4..654930d 100644
--- a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
index d8a2613..8829fb6 100644
--- a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
index d8a2613..8829fb6 100644
--- a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
index b187376..3bdb790 100644
--- a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
index b187376..3bdb790 100644
--- a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.dxc.hlsl
index dfdbda8..96e80d6 100644
--- a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.fxc.hlsl
index dfdbda8..96e80d6 100644
--- a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.dxc.hlsl
index ade6cd2..401102a 100644
--- a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.fxc.hlsl
index ade6cd2..401102a 100644
--- a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.dxc.hlsl
index 5e4803f..6f855b2f 100644
--- a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.fxc.hlsl
index 5e4803f..6f855b2f 100644
--- a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.dxc.hlsl
index 5904c17..ef9e28a 100644
--- a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.fxc.hlsl
index 5904c17..ef9e28a 100644
--- a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.dxc.hlsl
index 61de862..63bd9eb 100644
--- a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.fxc.hlsl
index 61de862..63bd9eb 100644
--- a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.dxc.hlsl
index 9119e4a..b445fb2 100644
--- a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.fxc.hlsl
index 9119e4a..b445fb2 100644
--- a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.dxc.hlsl
index 980ad86..4b3cf99 100644
--- a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.fxc.hlsl
index 980ad86..4b3cf99 100644
--- a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.dxc.hlsl
index 105c863..c12601d 100644
--- a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.fxc.hlsl
index 105c863..c12601d 100644
--- a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.dxc.hlsl
index 94b58a3..0da38e2 100644
--- a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.fxc.hlsl
index 94b58a3..0da38e2 100644
--- a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.dxc.hlsl
index 392499e..afe3ac1 100644
--- a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.fxc.hlsl
index 392499e..afe3ac1 100644
--- a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
index 0225f3a..aef5c1d 100644
--- a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
index 0225f3a..aef5c1d 100644
--- a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.dxc.hlsl
index a574647..97ea2d9 100644
--- a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.fxc.hlsl
index a574647..97ea2d9 100644
--- a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
index 424c1d5..5dcff65 100644
--- a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
index 424c1d5..5dcff65 100644
--- a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.dxc.hlsl
index 90c6c11..bbf1196 100644
--- a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.fxc.hlsl
index 90c6c11..bbf1196 100644
--- a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.dxc.hlsl
index db4f8af..66d06be 100644
--- a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.fxc.hlsl
index db4f8af..66d06be 100644
--- a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.dxc.hlsl
index 20c597c..dcc25a6 100644
--- a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.fxc.hlsl
index 20c597c..dcc25a6 100644
--- a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
index 4451b9d..b4e2733 100644
--- a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
index 4451b9d..b4e2733 100644
--- a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
index 22ca488..18531fc 100644
--- a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
index 22ca488..18531fc 100644
--- a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.dxc.hlsl
index db1e551..42b1086 100644
--- a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.fxc.hlsl
index db1e551..42b1086 100644
--- a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.dxc.hlsl
index c06bbdf..342f4c0 100644
--- a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.fxc.hlsl
index c06bbdf..342f4c0 100644
--- a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.dxc.hlsl
index bc1d444..00bb5f8 100644
--- a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.fxc.hlsl
index bc1d444..00bb5f8 100644
--- a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.dxc.hlsl
index 24a137e..960f037 100644
--- a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.fxc.hlsl
index 24a137e..960f037 100644
--- a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.dxc.hlsl
index c9ae03c..93cfc70 100644
--- a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.fxc.hlsl
index c9ae03c..93cfc70 100644
--- a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.dxc.hlsl
index e0692fb..0c2765b 100644
--- a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.fxc.hlsl
index e0692fb..0c2765b 100644
--- a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.dxc.hlsl
index b7e84ee..15f102f 100644
--- a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.fxc.hlsl
index b7e84ee..15f102f 100644
--- a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.dxc.hlsl
index ceef392..7da6b4c 100644
--- a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.fxc.hlsl
index ceef392..7da6b4c 100644
--- a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.dxc.hlsl
index 2b435f4..20797bc 100644
--- a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.fxc.hlsl
index 2b435f4..20797bc 100644
--- a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.dxc.hlsl
index 6f5fbf1..a2b9d72 100644
--- a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.fxc.hlsl
index 6f5fbf1..a2b9d72 100644
--- a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.dxc.hlsl
index 93d963a..e33ced8 100644
--- a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.fxc.hlsl
index 93d963a..e33ced8 100644
--- a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.dxc.hlsl
index fff820c..1027a03 100644
--- a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.fxc.hlsl
index fff820c..1027a03 100644
--- a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.dxc.hlsl
index 1a1241a..d5c2247 100644
--- a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.fxc.hlsl
index 1a1241a..d5c2247 100644
--- a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.dxc.hlsl
index eb6ac85..49598ef 100644
--- a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.fxc.hlsl
index eb6ac85..49598ef 100644
--- a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.dxc.hlsl
index 5102816..2f80fcd 100644
--- a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.fxc.hlsl
index 5102816..2f80fcd 100644
--- a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.dxc.hlsl
index 0314856..7627d5b 100644
--- a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.fxc.hlsl
index 0314856..7627d5b 100644
--- a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.dxc.hlsl
index fda1e99..f92bfad 100644
--- a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.fxc.hlsl
index fda1e99..f92bfad 100644
--- a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.dxc.hlsl
index 935357a..f778273 100644
--- a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.fxc.hlsl
index 935357a..f778273 100644
--- a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.dxc.hlsl
index 7e1d847..edd7a0e 100644
--- a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.fxc.hlsl
index 7e1d847..edd7a0e 100644
--- a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.dxc.hlsl
index ead5ac3..df0434a 100644
--- a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.fxc.hlsl
index ead5ac3..df0434a 100644
--- a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.dxc.hlsl
index 6dedb0d..49e308e 100644
--- a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.fxc.hlsl
index 6dedb0d..49e308e 100644
--- a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.dxc.hlsl
index cdc52fd..05994bf 100644
--- a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.fxc.hlsl
index cdc52fd..05994bf 100644
--- a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.dxc.hlsl
index 765f4c2..e334aa6 100644
--- a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.fxc.hlsl
index 765f4c2..e334aa6 100644
--- a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.dxc.hlsl
index 4ff2367..af80f4a 100644
--- a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.fxc.hlsl
index 4ff2367..af80f4a 100644
--- a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.dxc.hlsl
index 63340ad..6045352 100644
--- a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.fxc.hlsl
index 63340ad..6045352 100644
--- a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.dxc.hlsl
index 079d5ba..1e82b03 100644
--- a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.fxc.hlsl
index 079d5ba..1e82b03 100644
--- a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.dxc.hlsl
index 1db5295..b1643fb 100644
--- a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.fxc.hlsl
index 1db5295..b1643fb 100644
--- a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.dxc.hlsl
index 95e205e..8e2b44b 100644
--- a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.fxc.hlsl
index 95e205e..8e2b44b 100644
--- a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.dxc.hlsl
index 9f3bf4d..ddaf51b 100644
--- a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.fxc.hlsl
index 9f3bf4d..ddaf51b 100644
--- a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.dxc.hlsl
index a6cb47a..38edc41 100644
--- a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.fxc.hlsl
index a6cb47a..38edc41 100644
--- a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.dxc.hlsl
index 090e625..abbcee0 100644
--- a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.fxc.hlsl
index 090e625..abbcee0 100644
--- a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.dxc.hlsl
index bc4e46f..1bf96c6 100644
--- a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.fxc.hlsl
index bc4e46f..1bf96c6 100644
--- a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.dxc.hlsl
index 522ce4e..35b8e6e 100644
--- a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.fxc.hlsl
index 522ce4e..35b8e6e 100644
--- a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.dxc.hlsl
index 94fb782..ed994ff 100644
--- a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.fxc.hlsl
index 94fb782..ed994ff 100644
--- a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.dxc.hlsl
index f72686f..0584338 100644
--- a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.fxc.hlsl
index f72686f..0584338 100644
--- a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.dxc.hlsl
index 520d0cf..f95c998 100644
--- a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.fxc.hlsl
index 520d0cf..f95c998 100644
--- a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.dxc.hlsl
index db1ca7e..cb88ecb 100644
--- a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.fxc.hlsl
index db1ca7e..cb88ecb 100644
--- a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.dxc.hlsl
index 2958a44..2a694c7 100644
--- a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.fxc.hlsl
index 2958a44..2a694c7 100644
--- a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.dxc.hlsl
index d20528d..b51cb9e 100644
--- a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.fxc.hlsl
index d20528d..b51cb9e 100644
--- a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.dxc.hlsl
index b0d9f99..87ac031 100644
--- a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.fxc.hlsl
index b0d9f99..87ac031 100644
--- a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
index edf7f91..300000b 100644
--- a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
index edf7f91..300000b 100644
--- a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.dxc.hlsl
index f4ff76f..fa20a63 100644
--- a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.fxc.hlsl
index f4ff76f..fa20a63 100644
--- a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.dxc.hlsl
index 9cdb765..a8a5b99 100644
--- a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.fxc.hlsl
index 9cdb765..a8a5b99 100644
--- a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.dxc.hlsl
index d2a3709..c995aa1 100644
--- a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.fxc.hlsl
index d2a3709..c995aa1 100644
--- a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.dxc.hlsl
index 743fdfd..3a9b238 100644
--- a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.fxc.hlsl
index 743fdfd..3a9b238 100644
--- a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.dxc.hlsl
index 8e7b46a..17ebcdc 100644
--- a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.fxc.hlsl
index 8e7b46a..17ebcdc 100644
--- a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.dxc.hlsl
index f4a3b24..12118a4 100644
--- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.fxc.hlsl
index f4a3b24..12118a4 100644
--- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.dxc.hlsl
index f41d60b..0605111 100644
--- a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.fxc.hlsl
index f41d60b..0605111 100644
--- a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.dxc.hlsl
index 11a10e6..a1ce247 100644
--- a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.fxc.hlsl
index 11a10e6..a1ce247 100644
--- a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.dxc.hlsl
index aa5385d..6cca994 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.fxc.hlsl
index aa5385d..6cca994 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.dxc.hlsl
index f336ef6..dae4dc6 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.fxc.hlsl
index f336ef6..dae4dc6 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.dxc.hlsl
index de55098..898b219 100644
--- a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.fxc.hlsl
index de55098..898b219 100644
--- a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.dxc.hlsl
index 060ff84..35d1967 100644
--- a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.fxc.hlsl
index 060ff84..35d1967 100644
--- a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.dxc.hlsl
index 8e0e436..c354199 100644
--- a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.fxc.hlsl
index 8e0e436..c354199 100644
--- a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.dxc.hlsl
index e589bb1..423f26d 100644
--- a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.fxc.hlsl
index e589bb1..423f26d 100644
--- a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.dxc.hlsl
index f92b8f6..329988e 100644
--- a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.fxc.hlsl
index f92b8f6..329988e 100644
--- a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.dxc.hlsl
index 579bbae..f3d5006 100644
--- a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.fxc.hlsl
index 579bbae..f3d5006 100644
--- a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.dxc.hlsl
index d5c9d29..671eaf1 100644
--- a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.fxc.hlsl
index d5c9d29..671eaf1 100644
--- a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.dxc.hlsl
index d755997..6224f3b 100644
--- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.fxc.hlsl
index d755997..6224f3b 100644
--- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.dxc.hlsl
index ed1c67a..7ab0243 100644
--- a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.fxc.hlsl
index ed1c67a..7ab0243 100644
--- a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
index 158f60c..e2493fa 100644
--- a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
index 158f60c..e2493fa 100644
--- a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.dxc.hlsl
index 8cd914e..da18930 100644
--- a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.fxc.hlsl
index 8cd914e..da18930 100644
--- a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.dxc.hlsl
index d61380b..1c7b029 100644
--- a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.fxc.hlsl
index d61380b..1c7b029 100644
--- a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.dxc.hlsl
index 92c8aff..5860434 100644
--- a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.fxc.hlsl
index 92c8aff..5860434 100644
--- a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.dxc.hlsl
index f4dcbf1..47d6b96 100644
--- a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.fxc.hlsl
index f4dcbf1..47d6b96 100644
--- a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.dxc.hlsl
index 9bd9d55..a668cb8 100644
--- a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.fxc.hlsl
index 9bd9d55..a668cb8 100644
--- a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.dxc.hlsl
index 50dd75e..763c258 100644
--- a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.fxc.hlsl
index 50dd75e..763c258 100644
--- a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.dxc.hlsl
index 085f7c6..4be2be1 100644
--- a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.fxc.hlsl
index 085f7c6..4be2be1 100644
--- a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.dxc.hlsl
index 35e987a..4feec02 100644
--- a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.fxc.hlsl
index 35e987a..4feec02 100644
--- a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.dxc.hlsl
index cbac699..5b73c2c 100644
--- a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.fxc.hlsl
index cbac699..5b73c2c 100644
--- a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.dxc.hlsl
index 30f8d29..843e589 100644
--- a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.fxc.hlsl
index 30f8d29..843e589 100644
--- a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.dxc.hlsl
index 9749be0..7c81cfd 100644
--- a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.fxc.hlsl
index 9749be0..7c81cfd 100644
--- a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.dxc.hlsl
index 3804b29..79c63fa 100644
--- a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.fxc.hlsl
index 3804b29..79c63fa 100644
--- a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.dxc.hlsl
index f0a3ecc..9401fe2 100644
--- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.fxc.hlsl
index f0a3ecc..9401fe2 100644
--- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.dxc.hlsl
index ea9cc97..5561848 100644
--- a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.fxc.hlsl
index ea9cc97..5561848 100644
--- a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.dxc.hlsl
index de0f706..f7cd141 100644
--- a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.fxc.hlsl
index de0f706..f7cd141 100644
--- a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.dxc.hlsl
index d51e3c0..d53aadb 100644
--- a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.fxc.hlsl
index d51e3c0..d53aadb 100644
--- a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.dxc.hlsl
index 31e5a0d..47d0570 100644
--- a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.fxc.hlsl
index 31e5a0d..47d0570 100644
--- a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.dxc.hlsl
index 992e579..ea3013e 100644
--- a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.fxc.hlsl
index 992e579..ea3013e 100644
--- a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.dxc.hlsl
index 6bdf204..c68b33a 100644
--- a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.fxc.hlsl
index 6bdf204..c68b33a 100644
--- a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.dxc.hlsl
index c632f94..2cf4935 100644
--- a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.fxc.hlsl
index c632f94..2cf4935 100644
--- a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.dxc.hlsl
index 5ec4845..24fd80a 100644
--- a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.fxc.hlsl
index 5ec4845..24fd80a 100644
--- a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.dxc.hlsl
index c51681f..e3f9a57 100644
--- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.fxc.hlsl
index c51681f..e3f9a57 100644
--- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.dxc.hlsl
index c9ec364..c78c196 100644
--- a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.fxc.hlsl
index c9ec364..c78c196 100644
--- a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.dxc.hlsl
index 66c4a17..0ddc239 100644
--- a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.fxc.hlsl
index 66c4a17..0ddc239 100644
--- a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.dxc.hlsl
index 98d932c..42b62fc 100644
--- a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.fxc.hlsl
index 98d932c..42b62fc 100644
--- a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.dxc.hlsl
index 1dfaf0f..db34903 100644
--- a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.fxc.hlsl
index 1dfaf0f..db34903 100644
--- a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
index fef042f..3a5da0d 100644
--- a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
index fef042f..3a5da0d 100644
--- a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.dxc.hlsl
index ff6b8f4..0e36805 100644
--- a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.fxc.hlsl
index ff6b8f4..0e36805 100644
--- a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.dxc.hlsl
index e393a61..e517ee5 100644
--- a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.fxc.hlsl
index e393a61..e517ee5 100644
--- a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.dxc.hlsl
index 1fc59f6..c61ddae 100644
--- a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.fxc.hlsl
index 1fc59f6..c61ddae 100644
--- a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.dxc.hlsl
index 97abebc..8824528 100644
--- a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.fxc.hlsl
index 97abebc..8824528 100644
--- a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.dxc.hlsl
index 01438e3..aa9baa9 100644
--- a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.fxc.hlsl
index 01438e3..aa9baa9 100644
--- a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.dxc.hlsl
index d27bb25..e33f6f1 100644
--- a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.fxc.hlsl
index d27bb25..e33f6f1 100644
--- a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.dxc.hlsl
index fbeebda..65b7ac9 100644
--- a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.fxc.hlsl
index fbeebda..65b7ac9 100644
--- a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
index c41266d..038a6e3 100644
--- a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
index c41266d..038a6e3 100644
--- a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.dxc.hlsl
index 7578b2c..9c620e4 100644
--- a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.fxc.hlsl
index 7578b2c..9c620e4 100644
--- a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.dxc.hlsl
index 0cb3ecc..753f07f 100644
--- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.fxc.hlsl
index 0cb3ecc..753f07f 100644
--- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
index 165e0bc..07d2498 100644
--- a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
index 165e0bc..07d2498 100644
--- a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.dxc.hlsl
index 0ed5bc4..19bef20 100644
--- a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.fxc.hlsl
index 0ed5bc4..19bef20 100644
--- a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.dxc.hlsl
index ddfc382..5cc4ab3 100644
--- a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.fxc.hlsl
index ddfc382..5cc4ab3 100644
--- a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.dxc.hlsl
index 626d4a8..799a9b3 100644
--- a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.fxc.hlsl
index 626d4a8..799a9b3 100644
--- a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.dxc.hlsl
index bfaac79..a2e967f 100644
--- a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.fxc.hlsl
index bfaac79..a2e967f 100644
--- a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
index be459f0..48c8fb4 100644
--- a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
index be459f0..48c8fb4 100644
--- a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.dxc.hlsl
index 8ee6970..3f6070a 100644
--- a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.fxc.hlsl
index 8ee6970..3f6070a 100644
--- a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
index 0563325..7b5901b 100644
--- a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
index 0563325..7b5901b 100644
--- a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.dxc.hlsl
index 4dfd07c..b5dde0d 100644
--- a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.fxc.hlsl
index 4dfd07c..b5dde0d 100644
--- a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.dxc.hlsl
index 48d6061..55dd9d2 100644
--- a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.fxc.hlsl
index 48d6061..55dd9d2 100644
--- a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
index 60275cd..728908c 100644
--- a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
index 60275cd..728908c 100644
--- a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.dxc.hlsl
index 5ada5ff..8c11204 100644
--- a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.fxc.hlsl
index 5ada5ff..8c11204 100644
--- a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.dxc.hlsl
index 7ac5c46..e8c6fe5 100644
--- a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.fxc.hlsl
index 7ac5c46..e8c6fe5 100644
--- a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.dxc.hlsl
index 4b36d74..d9626ad 100644
--- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.fxc.hlsl
index 4b36d74..d9626ad 100644
--- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
index 2809d9d..27c80eb 100644
--- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
index 2809d9d..27c80eb 100644
--- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.dxc.hlsl
index b90466e..dcd9598 100644
--- a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.fxc.hlsl
index b90466e..dcd9598 100644
--- a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.dxc.hlsl
index 0c54123..859e77f 100644
--- a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.fxc.hlsl
index 0c54123..859e77f 100644
--- a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.dxc.hlsl
index ed3218d..d24a073 100644
--- a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.fxc.hlsl
index ed3218d..d24a073 100644
--- a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.dxc.hlsl
index fb441fd..0b9bd41 100644
--- a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.dxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.fxc.hlsl
index fb441fd..0b9bd41 100644
--- a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.fxc.hlsl
@@ -17,7 +17,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.dxc.hlsl
index 15065a5..61bfb6c 100644
--- a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.fxc.hlsl
index 15065a5..61bfb6c 100644
--- a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.fxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.dxc.hlsl
index 2e46982..0ac8e9f 100644
--- a/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.dxc.hlsl
index 7e4b305..803e630 100644
--- a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.fxc.hlsl
index 7e4b305..803e630 100644
--- a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.dxc.hlsl
index 5eb471d..21a9629 100644
--- a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.fxc.hlsl
index 5eb471d..21a9629 100644
--- a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.dxc.hlsl
index 17e74c8..ff7b680 100644
--- a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.fxc.hlsl
index 17e74c8..ff7b680 100644
--- a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.dxc.hlsl
index eb895be..830ebf1 100644
--- a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.fxc.hlsl
index eb895be..830ebf1 100644
--- a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.dxc.hlsl
index 49376e2..659301c 100644
--- a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.fxc.hlsl
index 49376e2..659301c 100644
--- a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.dxc.hlsl
index 24bed3e..1cc9096 100644
--- a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.fxc.hlsl
index 24bed3e..1cc9096 100644
--- a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.dxc.hlsl
index eb7293b..b7c89e8 100644
--- a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.fxc.hlsl
index eb7293b..b7c89e8 100644
--- a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.dxc.hlsl
index 9db91a8..22e0eb9 100644
--- a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.fxc.hlsl
index 9db91a8..22e0eb9 100644
--- a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.dxc.hlsl
index 76a218e..dac59ee 100644
--- a/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.dxc.hlsl
index 62a897b..d3fa1b4 100644
--- a/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.dxc.hlsl
index 604b6c5..84f7159 100644
--- a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.fxc.hlsl
index 604b6c5..84f7159 100644
--- a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.dxc.hlsl
index ce7b788..2f2d257 100644
--- a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.fxc.hlsl
index ce7b788..2f2d257 100644
--- a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.dxc.hlsl
index 8e96da1..35dbedd 100644
--- a/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.dxc.hlsl
index f44fa67..e15d630 100644
--- a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.fxc.hlsl
index f44fa67..e15d630 100644
--- a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.dxc.hlsl
index bd86fb2..0f074a1 100644
--- a/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.dxc.hlsl
index 600c218..6dd3094 100644
--- a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.fxc.hlsl
index 600c218..6dd3094 100644
--- a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.dxc.hlsl
index 049155b..678edec 100644
--- a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.fxc.hlsl
index 049155b..678edec 100644
--- a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.dxc.hlsl
index 75417b1..7c36f36 100644
--- a/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.dxc.hlsl
index 5672d62..945527a 100644
--- a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.fxc.hlsl
index 5672d62..945527a 100644
--- a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.dxc.hlsl
index d2ba4b6..4b9590e 100644
--- a/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.dxc.hlsl
index 8cd97fc..3ae8c00 100644
--- a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.fxc.hlsl
index 8cd97fc..3ae8c00 100644
--- a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.dxc.hlsl
index 3678f77..5a62ce0 100644
--- a/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.dxc.hlsl
index fb2ee0a..2993a26 100644
--- a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.fxc.hlsl
index fb2ee0a..2993a26 100644
--- a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.fxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.dxc.hlsl
index 0d7ff26..d7f7546 100644
--- a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.fxc.hlsl
index 0d7ff26..d7f7546 100644
--- a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.dxc.hlsl
index 50e1306..0903e0f 100644
--- a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.fxc.hlsl
index 50e1306..0903e0f 100644
--- a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.dxc.hlsl
index a79f38c..fc9c21d 100644
--- a/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.dxc.hlsl
@@ -23,7 +23,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.dxc.hlsl
index 297fe1e..e75f2e8 100644
--- a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.dxc.hlsl
index d3f4162..3292822 100644
--- a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.fxc.hlsl
index d3f4162..3292822 100644
--- a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.dxc.hlsl
index 6da9949..aab648f 100644
--- a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.fxc.hlsl
index 6da9949..aab648f 100644
--- a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.dxc.hlsl
index faba2f8..ac4635a 100644
--- a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.fxc.hlsl
index faba2f8..ac4635a 100644
--- a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.dxc.hlsl
index cf4c0d9..f99cd06 100644
--- a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.dxc.hlsl
index bb9d35f..702292a 100644
--- a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.fxc.hlsl
index bb9d35f..702292a 100644
--- a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.dxc.hlsl
index 8731bf2..f54943a 100644
--- a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.dxc.hlsl
index 4e8cb2b..c365615 100644
--- a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.dxc.hlsl
index 5d762df..38b0521 100644
--- a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.fxc.hlsl
index 5d762df..38b0521 100644
--- a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.dxc.hlsl
index 7cf7811..dbe03ea 100644
--- a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.fxc.hlsl
index 7cf7811..dbe03ea 100644
--- a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.dxc.hlsl
index 0db7616..3b114e4 100644
--- a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.fxc.hlsl
index 0db7616..3b114e4 100644
--- a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.dxc.hlsl
index 715c2d6..f6622f3 100644
--- a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.fxc.hlsl
index 715c2d6..f6622f3 100644
--- a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
index 7c73c66..d4a3488 100644
--- a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.dxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
index 7c73c66..d4a3488 100644
--- a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.fxc.hlsl
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
index 0a5aaa4..4687fdb 100644
--- a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
index 0a5aaa4..4687fdb 100644
--- a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
index 4bbc3f6..fb6e89e 100644
--- a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
index 4bbc3f6..fb6e89e 100644
--- a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
index 5606bc4..a2d8273 100644
--- a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
index 5606bc4..a2d8273 100644
--- a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
index ecdea37..f0d9a52 100644
--- a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.dxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
index ecdea37..f0d9a52 100644
--- a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.fxc.hlsl
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.dxc.hlsl
index 555e6e5..330d791 100644
--- a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.fxc.hlsl
index c171d45..5f2da9d 100644
--- a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int4 tint_unpack_4xi8(uint a) {
-  const uint4 a_vec4u = uint4((a).xxxx);
-  const int4 a_vec4i = asint((a_vec4u << uint4(24u, 16u, 8u, 0u)));
+  uint4 a_vec4u = uint4((a).xxxx);
+  int4 a_vec4i = asint((a_vec4u << uint4(24u, 16u, 8u, 0u)));
   return (a_vec4i >> (24u).xxxx);
 }
 
@@ -22,7 +22,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
index 6ec2ba5..01bf2e9 100644
--- a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.dxc.hlsl
@@ -16,7 +16,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
index 8c55d34..9f3e1dc 100644
--- a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint4 tint_unpack_4xu8(uint a) {
-  const uint4 a_vec4u = (uint4((a).xxxx) >> uint4(0u, 8u, 16u, 24u));
+  uint4 a_vec4u = (uint4((a).xxxx) >> uint4(0u, 8u, 16u, 24u));
   return (a_vec4u & (255u).xxxx);
 }
 
@@ -21,7 +21,7 @@
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
index 33ea9c0..e5380ae 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = arg_0;
+  uint result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
index 33ea9c0..e5380ae 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 uint tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const uint result = arg_0;
+  uint result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
index 05e4c85..d1d62a5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 float tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float result = arg_0;
+  float result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
index 05e4c85..d1d62a5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 float tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float result = arg_0;
+  float result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
index 6d8b261..9fb3e37 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 int tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = arg_0;
+  int result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
index 6d8b261..9fb3e37 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 int tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = arg_0;
+  int result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl b/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
index c8e40ee..39fe531 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 float16_t tint_workgroupUniformLoad_arg_0() {
   GroupMemoryBarrierWithGroupSync();
-  const float16_t result = arg_0;
+  float16_t result = arg_0;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.dxc.hlsl
index f6f789c..eaaf43c 100644
--- a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int tint_insert_bits(int v, int n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0) & int(mask)) | (v & int(~(mask))));
 }
 
@@ -9,7 +9,7 @@
   int n = 0;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int x_15 = tint_insert_bits(v, n, offset_1, count);
+  int x_15 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.fxc.hlsl
index f6f789c..eaaf43c 100644
--- a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int tint_insert_bits(int v, int n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0) & int(mask)) | (v & int(~(mask))));
 }
 
@@ -9,7 +9,7 @@
   int n = 0;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int x_15 = tint_insert_bits(v, n, offset_1, count);
+  int x_15 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.dxc.hlsl
index 2860662..638e0fb 100644
--- a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_insert_bits(uint v, uint n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0u) & mask) | (v & ~(mask)));
 }
 
@@ -9,7 +9,7 @@
   uint n = 0u;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint x_12 = tint_insert_bits(v, n, offset_1, count);
+  uint x_12 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.fxc.hlsl
index 2860662..638e0fb 100644
--- a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint tint_insert_bits(uint v, uint n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << offset) : 0u) & mask) | (v & ~(mask)));
 }
 
@@ -9,7 +9,7 @@
   uint n = 0u;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint x_12 = tint_insert_bits(v, n, offset_1, count);
+  uint x_12 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.dxc.hlsl b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.dxc.hlsl
index ef7fb4f..9ed5b7d 100644
--- a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_insert_bits(int3 v, int3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0).xxx) & int3((int(mask)).xxx)) | (v & int3((int(~(mask))).xxx)));
 }
 
@@ -9,7 +9,7 @@
   int3 n = (0).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int3 x_16 = tint_insert_bits(v, n, offset_1, count);
+  int3 x_16 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.fxc.hlsl b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.fxc.hlsl
index ef7fb4f..9ed5b7d 100644
--- a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_insert_bits(int3 v, int3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0).xxx) & int3((int(mask)).xxx)) | (v & int3((int(~(mask))).xxx)));
 }
 
@@ -9,7 +9,7 @@
   int3 n = (0).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const int3 x_16 = tint_insert_bits(v, n, offset_1, count);
+  int3 x_16 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.dxc.hlsl b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.dxc.hlsl
index a4931f2..e5b479c 100644
--- a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 uint3 tint_insert_bits(uint3 v, uint3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0u).xxx) & uint3((mask).xxx)) | (v & uint3((~(mask)).xxx)));
 }
 
@@ -9,7 +9,7 @@
   uint3 n = (0u).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint3 x_15 = tint_insert_bits(v, n, offset_1, count);
+  uint3 x_15 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.fxc.hlsl b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.fxc.hlsl
index a4931f2..e5b479c 100644
--- a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 uint3 tint_insert_bits(uint3 v, uint3 n, uint offset, uint count) {
-  const uint e = (offset + count);
-  const uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
+  uint e = (offset + count);
+  uint mask = ((((offset < 32u) ? (1u << offset) : 0u) - 1u) ^ (((e < 32u) ? (1u << e) : 0u) - 1u));
   return ((((offset < 32u) ? (n << uint3((offset).xxx)) : (0u).xxx) & uint3((mask).xxx)) | (v & uint3((~(mask)).xxx)));
 }
 
@@ -9,7 +9,7 @@
   uint3 n = (0u).xxx;
   uint offset_1 = 0u;
   uint count = 0u;
-  const uint3 x_15 = tint_insert_bits(v, n, offset_1, count);
+  uint3 x_15 = tint_insert_bits(v, n, offset_1, count);
   return;
 }
 
diff --git a/test/tint/builtins/modf/scalar/const.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/scalar/const.wgsl.expected.dxc.hlsl
index c21b729..4a50022 100644
--- a/test/tint/builtins/modf/scalar/const.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/scalar/const.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const modf_result_f32 res = {0.25f, 1.0f};
-  const float fract = res.fract;
-  const float whole = res.whole;
+  modf_result_f32 res = {0.25f, 1.0f};
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/const.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/scalar/const.wgsl.expected.fxc.hlsl
index c21b729..4a50022 100644
--- a/test/tint/builtins/modf/scalar/const.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/scalar/const.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const modf_result_f32 res = {0.25f, 1.0f};
-  const float fract = res.fract;
-  const float whole = res.whole;
+  modf_result_f32 res = {0.25f, 1.0f};
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/const_members.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/scalar/const_members.wgsl.expected.dxc.hlsl
index b9f7ea3..b4c002c 100644
--- a/test/tint/builtins/modf/scalar/const_members.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/scalar/const_members.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float fract = 0.25f;
-  const float whole = 1.0f;
+  float fract = 0.25f;
+  float whole = 1.0f;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/const_members.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/scalar/const_members.wgsl.expected.fxc.hlsl
index b9f7ea3..b4c002c 100644
--- a/test/tint/builtins/modf/scalar/const_members.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/scalar/const_members.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float fract = 0.25f;
-  const float whole = 1.0f;
+  float fract = 0.25f;
+  float whole = 1.0f;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.dxc.hlsl
index 0cbff50..9364ad5 100644
--- a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.dxc.hlsl
@@ -11,11 +11,11 @@
 static const modf_result_f32 c = {0.25f, 1.0f};
 [numthreads(1, 1, 1)]
 void main() {
-  const float runtime_in = 1.25f;
+  float runtime_in = 1.25f;
   modf_result_f32 res = {0.25f, 1.0f};
   res = tint_modf(runtime_in);
   res = c;
-  const float fract = res.fract;
-  const float whole = res.whole;
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.fxc.hlsl
index 0cbff50..9364ad5 100644
--- a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.fxc.hlsl
@@ -11,11 +11,11 @@
 static const modf_result_f32 c = {0.25f, 1.0f};
 [numthreads(1, 1, 1)]
 void main() {
-  const float runtime_in = 1.25f;
+  float runtime_in = 1.25f;
   modf_result_f32 res = {0.25f, 1.0f};
   res = tint_modf(runtime_in);
   res = c;
-  const float fract = res.fract;
-  const float whole = res.whole;
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.dxc.hlsl
index 73a61ef..35ee81a 100644
--- a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.dxc.hlsl
@@ -10,9 +10,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float tint_symbol = 1.25f;
-  const modf_result_f32 res = tint_modf(tint_symbol);
-  const float fract = res.fract;
-  const float whole = res.whole;
+  float tint_symbol = 1.25f;
+  modf_result_f32 res = tint_modf(tint_symbol);
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.fxc.hlsl
index 73a61ef..35ee81a 100644
--- a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.fxc.hlsl
@@ -10,9 +10,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float tint_symbol = 1.25f;
-  const modf_result_f32 res = tint_modf(tint_symbol);
-  const float fract = res.fract;
-  const float whole = res.whole;
+  float tint_symbol = 1.25f;
+  modf_result_f32 res = tint_modf(tint_symbol);
+  float fract = res.fract;
+  float whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/const.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/vector/const.wgsl.expected.dxc.hlsl
index 4802ed2..5bf9160 100644
--- a/test/tint/builtins/modf/vector/const.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/vector/const.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/const.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/vector/const.wgsl.expected.fxc.hlsl
index 4802ed2..5bf9160 100644
--- a/test/tint/builtins/modf/vector/const.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/vector/const.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 };
 [numthreads(1, 1, 1)]
 void main() {
-  const modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/const_members.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/vector/const_members.wgsl.expected.dxc.hlsl
index 0096aa4..dd6ee9a 100644
--- a/test/tint/builtins/modf/vector/const_members.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/vector/const_members.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 fract = float2(0.25f, 0.75f);
-  const float2 whole = float2(1.0f, 3.0f);
+  float2 fract = float2(0.25f, 0.75f);
+  float2 whole = float2(1.0f, 3.0f);
   return;
 }
diff --git a/test/tint/builtins/modf/vector/const_members.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/vector/const_members.wgsl.expected.fxc.hlsl
index 0096aa4..dd6ee9a 100644
--- a/test/tint/builtins/modf/vector/const_members.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/vector/const_members.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 fract = float2(0.25f, 0.75f);
-  const float2 whole = float2(1.0f, 3.0f);
+  float2 fract = float2(0.25f, 0.75f);
+  float2 whole = float2(1.0f, 3.0f);
   return;
 }
diff --git a/test/tint/builtins/modf/vector/mixed.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/vector/mixed.wgsl.expected.dxc.hlsl
index cd83834..b49f926 100644
--- a/test/tint/builtins/modf/vector/mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/vector/mixed.wgsl.expected.dxc.hlsl
@@ -11,11 +11,11 @@
 static const modf_result_vec2_f32 c = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 runtime_in = float2(1.25f, 3.75f);
+  float2 runtime_in = float2(1.25f, 3.75f);
   modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
   res = tint_modf(runtime_in);
   res = c;
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/mixed.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/vector/mixed.wgsl.expected.fxc.hlsl
index cd83834..b49f926 100644
--- a/test/tint/builtins/modf/vector/mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/vector/mixed.wgsl.expected.fxc.hlsl
@@ -11,11 +11,11 @@
 static const modf_result_vec2_f32 c = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 runtime_in = float2(1.25f, 3.75f);
+  float2 runtime_in = float2(1.25f, 3.75f);
   modf_result_vec2_f32 res = {float2(0.25f, 0.75f), float2(1.0f, 3.0f)};
   res = tint_modf(runtime_in);
   res = c;
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/runtime.wgsl.expected.dxc.hlsl b/test/tint/builtins/modf/vector/runtime.wgsl.expected.dxc.hlsl
index 5c43ab3..125041c 100644
--- a/test/tint/builtins/modf/vector/runtime.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/modf/vector/runtime.wgsl.expected.dxc.hlsl
@@ -10,9 +10,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 tint_symbol = float2(1.25f, 3.75f);
-  const modf_result_vec2_f32 res = tint_modf(tint_symbol);
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  float2 tint_symbol = float2(1.25f, 3.75f);
+  modf_result_vec2_f32 res = tint_modf(tint_symbol);
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/modf/vector/runtime.wgsl.expected.fxc.hlsl b/test/tint/builtins/modf/vector/runtime.wgsl.expected.fxc.hlsl
index 5c43ab3..125041c 100644
--- a/test/tint/builtins/modf/vector/runtime.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/modf/vector/runtime.wgsl.expected.fxc.hlsl
@@ -10,9 +10,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 tint_symbol = float2(1.25f, 3.75f);
-  const modf_result_vec2_f32 res = tint_modf(tint_symbol);
-  const float2 fract = res.fract;
-  const float2 whole = res.whole;
+  float2 tint_symbol = float2(1.25f, 3.75f);
+  modf_result_vec2_f32 res = tint_modf(tint_symbol);
+  float2 fract = res.fract;
+  float2 whole = res.whole;
   return;
 }
diff --git a/test/tint/builtins/repeated_use.wgsl.expected.dxc.hlsl b/test/tint/builtins/repeated_use.wgsl.expected.dxc.hlsl
index 241b7e1..7342837 100644
--- a/test/tint/builtins/repeated_use.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/repeated_use.wgsl.expected.dxc.hlsl
@@ -16,29 +16,29 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 va = (0.0f).xxxx;
-  const float4 a = tint_degrees(va);
-  const float4 vb = (1.0f).xxxx;
-  const float4 b = tint_degrees(vb);
-  const float4 vc = float4(1.0f, 2.0f, 3.0f, 4.0f);
-  const float4 c = tint_degrees(vc);
-  const float3 vd = (0.0f).xxx;
-  const float3 d = tint_degrees_1(vd);
-  const float3 ve = (1.0f).xxx;
-  const float3 e = tint_degrees_1(ve);
-  const float3 vf = float3(1.0f, 2.0f, 3.0f);
-  const float3 f = tint_degrees_1(vf);
-  const float2 vg = (0.0f).xx;
-  const float2 g = tint_degrees_2(vg);
-  const float2 vh = (1.0f).xx;
-  const float2 h = tint_degrees_2(vh);
-  const float2 vi = float2(1.0f, 2.0f);
-  const float2 i = tint_degrees_2(vi);
-  const float vj = 1.0f;
-  const float j = tint_degrees_3(vj);
-  const float vk = 2.0f;
-  const float k = tint_degrees_3(vk);
-  const float vl = 3.0f;
-  const float l = tint_degrees_3(vl);
+  float4 va = (0.0f).xxxx;
+  float4 a = tint_degrees(va);
+  float4 vb = (1.0f).xxxx;
+  float4 b = tint_degrees(vb);
+  float4 vc = float4(1.0f, 2.0f, 3.0f, 4.0f);
+  float4 c = tint_degrees(vc);
+  float3 vd = (0.0f).xxx;
+  float3 d = tint_degrees_1(vd);
+  float3 ve = (1.0f).xxx;
+  float3 e = tint_degrees_1(ve);
+  float3 vf = float3(1.0f, 2.0f, 3.0f);
+  float3 f = tint_degrees_1(vf);
+  float2 vg = (0.0f).xx;
+  float2 g = tint_degrees_2(vg);
+  float2 vh = (1.0f).xx;
+  float2 h = tint_degrees_2(vh);
+  float2 vi = float2(1.0f, 2.0f);
+  float2 i = tint_degrees_2(vi);
+  float vj = 1.0f;
+  float j = tint_degrees_3(vj);
+  float vk = 2.0f;
+  float k = tint_degrees_3(vk);
+  float vl = 3.0f;
+  float l = tint_degrees_3(vl);
   return;
 }
diff --git a/test/tint/builtins/repeated_use.wgsl.expected.fxc.hlsl b/test/tint/builtins/repeated_use.wgsl.expected.fxc.hlsl
index 241b7e1..7342837 100644
--- a/test/tint/builtins/repeated_use.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/repeated_use.wgsl.expected.fxc.hlsl
@@ -16,29 +16,29 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 va = (0.0f).xxxx;
-  const float4 a = tint_degrees(va);
-  const float4 vb = (1.0f).xxxx;
-  const float4 b = tint_degrees(vb);
-  const float4 vc = float4(1.0f, 2.0f, 3.0f, 4.0f);
-  const float4 c = tint_degrees(vc);
-  const float3 vd = (0.0f).xxx;
-  const float3 d = tint_degrees_1(vd);
-  const float3 ve = (1.0f).xxx;
-  const float3 e = tint_degrees_1(ve);
-  const float3 vf = float3(1.0f, 2.0f, 3.0f);
-  const float3 f = tint_degrees_1(vf);
-  const float2 vg = (0.0f).xx;
-  const float2 g = tint_degrees_2(vg);
-  const float2 vh = (1.0f).xx;
-  const float2 h = tint_degrees_2(vh);
-  const float2 vi = float2(1.0f, 2.0f);
-  const float2 i = tint_degrees_2(vi);
-  const float vj = 1.0f;
-  const float j = tint_degrees_3(vj);
-  const float vk = 2.0f;
-  const float k = tint_degrees_3(vk);
-  const float vl = 3.0f;
-  const float l = tint_degrees_3(vl);
+  float4 va = (0.0f).xxxx;
+  float4 a = tint_degrees(va);
+  float4 vb = (1.0f).xxxx;
+  float4 b = tint_degrees(vb);
+  float4 vc = float4(1.0f, 2.0f, 3.0f, 4.0f);
+  float4 c = tint_degrees(vc);
+  float3 vd = (0.0f).xxx;
+  float3 d = tint_degrees_1(vd);
+  float3 ve = (1.0f).xxx;
+  float3 e = tint_degrees_1(ve);
+  float3 vf = float3(1.0f, 2.0f, 3.0f);
+  float3 f = tint_degrees_1(vf);
+  float2 vg = (0.0f).xx;
+  float2 g = tint_degrees_2(vg);
+  float2 vh = (1.0f).xx;
+  float2 h = tint_degrees_2(vh);
+  float2 vi = float2(1.0f, 2.0f);
+  float2 i = tint_degrees_2(vi);
+  float vj = 1.0f;
+  float j = tint_degrees_3(vj);
+  float vk = 2.0f;
+  float k = tint_degrees_3(vk);
+  float vl = 3.0f;
+  float l = tint_degrees_3(vl);
   return;
 }
diff --git a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.dxc.hlsl b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.dxc.hlsl
index 5de6a41..5ebc33d 100644
--- a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.dxc.hlsl
@@ -29,12 +29,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.fxc.hlsl b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.fxc.hlsl
index 5de6a41..5ebc33d 100644
--- a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.fxc.hlsl
@@ -29,12 +29,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.dxc.hlsl b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.dxc.hlsl
index 8a38f36..91e02d0 100644
--- a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.dxc.hlsl
@@ -27,12 +27,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.fxc.hlsl b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.fxc.hlsl
index 8a38f36..91e02d0 100644
--- a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.fxc.hlsl
@@ -27,12 +27,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.dxc.hlsl b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.dxc.hlsl
index 2ebfd49..dc16e9f 100644
--- a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.dxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -67,7 +67,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_2 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_2 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_2;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol_1 vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.fxc.hlsl b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.fxc.hlsl
index 2ebfd49..dc16e9f 100644
--- a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.fxc.hlsl
@@ -25,14 +25,14 @@
 Texture2D<float4> arg_0 : register(t0, space1);
 
 float3 gammaCorrection(float3 v, GammaTransferParams params) {
-  const bool3 cond = (abs(v) < float3((params.D).xxx));
-  const float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
-  const float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
+  bool3 cond = (abs(v) < float3((params.D).xxx));
+  float3 t = (float3(sign(v)) * ((params.C * abs(v)) + params.F));
+  float3 f = (float3(sign(v)) * (pow(((params.A * abs(v)) + params.B), float3((params.G).xxx)) + params.E));
   return (cond ? t : f);
 }
 
 float4 textureLoadExternal(Texture2D<float4> plane0, Texture2D<float4> plane1, int2 coord, ExternalTextureParams params) {
-  const int2 coord1 = (coord >> (1u).xx);
+  int2 coord1 = (coord >> (1u).xx);
   float4 color = float4(0.0f, 0.0f, 0.0f, 0.0f);
   if ((params.numPlanes == 1u)) {
     color = plane0.Load(int3(coord, 0)).rgba;
@@ -67,7 +67,7 @@
   const uint scalar_offset_8 = ((offset + 20u)) / 4;
   const uint scalar_offset_9 = ((offset + 24u)) / 4;
   const uint scalar_offset_10 = ((offset + 28u)) / 4;
-  const GammaTransferParams tint_symbol_2 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
+  GammaTransferParams tint_symbol_2 = {asfloat(ext_tex_params[scalar_offset_3 / 4][scalar_offset_3 % 4]), asfloat(ext_tex_params[scalar_offset_4 / 4][scalar_offset_4 % 4]), asfloat(ext_tex_params[scalar_offset_5 / 4][scalar_offset_5 % 4]), asfloat(ext_tex_params[scalar_offset_6 / 4][scalar_offset_6 % 4]), asfloat(ext_tex_params[scalar_offset_7 / 4][scalar_offset_7 % 4]), asfloat(ext_tex_params[scalar_offset_8 / 4][scalar_offset_8 % 4]), asfloat(ext_tex_params[scalar_offset_9 / 4][scalar_offset_9 % 4]), ext_tex_params[scalar_offset_10 / 4][scalar_offset_10 % 4]};
   return tint_symbol_2;
 }
 
@@ -109,7 +109,7 @@
 }
 
 tint_symbol_1 vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.dxc.hlsl b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.dxc.hlsl
index e4f441e..f7075be 100644
--- a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol_1 vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.fxc.hlsl b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.fxc.hlsl
index e4f441e..f7075be 100644
--- a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 tint_symbol_1 vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol_1 wrapper_result = (tint_symbol_1)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.dxc.hlsl b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.dxc.hlsl
index 83d2be0..a9643d4 100644
--- a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.dxc.hlsl
+++ b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.dxc.hlsl
@@ -29,12 +29,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.fxc.hlsl b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.fxc.hlsl
index 83d2be0..a9643d4 100644
--- a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.fxc.hlsl
+++ b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.fxc.hlsl
@@ -29,12 +29,12 @@
 
 vertex_main_out vertex_main_inner() {
   vertex_main_1();
-  const vertex_main_out tint_symbol_4 = {tint_symbol_1};
+  vertex_main_out tint_symbol_4 = {tint_symbol_1};
   return tint_symbol_4;
 }
 
 tint_symbol_3 vertex_main() {
-  const vertex_main_out inner_result = vertex_main_inner();
+  vertex_main_out inner_result = vertex_main_inner();
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.tint_symbol_1_1 = inner_result.tint_symbol_1_1;
   return wrapper_result;
diff --git a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.dxc.hlsl b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.dxc.hlsl
index 00c80cf..f543cc2 100644
--- a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.dxc.hlsl
@@ -5,13 +5,13 @@
 };
 
 float4 vertex_main_inner() {
-  const float4 value = float4(1.0f, 2.0f, 3.0f, 4.0f);
+  float4 value = float4(1.0f, 2.0f, 3.0f, 4.0f);
   tex[int2(9, 8)] = value;
   return (0.0f).xxxx;
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.fxc.hlsl b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.fxc.hlsl
index 00c80cf..f543cc2 100644
--- a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.fxc.hlsl
@@ -5,13 +5,13 @@
 };
 
 float4 vertex_main_inner() {
-  const float4 value = float4(1.0f, 2.0f, 3.0f, 4.0f);
+  float4 value = float4(1.0f, 2.0f, 3.0f, 4.0f);
   tex[int2(9, 8)] = value;
   return (0.0f).xxxx;
 }
 
 tint_symbol vertex_main() {
-  const float4 inner_result = vertex_main_inner();
+  float4 inner_result = vertex_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.dxc.hlsl
index a9b6ea5..c7da3c4 100644
--- a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.dxc.hlsl
@@ -8,7 +8,7 @@
 typedef int tint_workgroupUniformLoad_v_ret[4];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[4] = v;
+  int result[4] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.fxc.hlsl
index a9b6ea5..c7da3c4 100644
--- a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.fxc.hlsl
@@ -8,7 +8,7 @@
 typedef int tint_workgroupUniformLoad_v_ret[4];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[4] = v;
+  int result[4] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.dxc.hlsl
index a42cbe5..9a2d96f 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.dxc.hlsl
@@ -8,12 +8,12 @@
 typedef int tint_workgroupUniformLoad_v_ret[128];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[128] = v;
+  int result[128] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo() {
-  const int tint_symbol[128] = tint_workgroupUniformLoad_v();
+  int tint_symbol[128] = tint_workgroupUniformLoad_v();
   return tint_symbol[0];
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.fxc.hlsl
index a42cbe5..9a2d96f 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.fxc.hlsl
@@ -8,12 +8,12 @@
 typedef int tint_workgroupUniformLoad_v_ret[128];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[128] = v;
+  int result[128] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo() {
-  const int tint_symbol[128] = tint_workgroupUniformLoad_v();
+  int tint_symbol[128] = tint_workgroupUniformLoad_v();
   return tint_symbol[0];
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.dxc.hlsl
index a42cbe5..9a2d96f 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.dxc.hlsl
@@ -8,12 +8,12 @@
 typedef int tint_workgroupUniformLoad_v_ret[128];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[128] = v;
+  int result[128] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo() {
-  const int tint_symbol[128] = tint_workgroupUniformLoad_v();
+  int tint_symbol[128] = tint_workgroupUniformLoad_v();
   return tint_symbol[0];
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.fxc.hlsl
index a42cbe5..9a2d96f 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.fxc.hlsl
@@ -8,12 +8,12 @@
 typedef int tint_workgroupUniformLoad_v_ret[128];
 tint_workgroupUniformLoad_v_ret tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const int result[128] = v;
+  int result[128] = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo() {
-  const int tint_symbol[128] = tint_workgroupUniformLoad_v();
+  int tint_symbol[128] = tint_workgroupUniformLoad_v();
   return tint_symbol[0];
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.dxc.hlsl
index afb3e79..51a98c8 100644
--- a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 bool tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const bool result = v;
+  bool result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.fxc.hlsl
index afb3e79..51a98c8 100644
--- a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 
 bool tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const bool result = v;
+  bool result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.dxc.hlsl
index ec23355..3119ae7 100644
--- a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 int tint_workgroupUniformLoad_a() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = a;
+  int result = a;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -16,7 +16,7 @@
 
 int tint_workgroupUniformLoad_b() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = b;
+  int result = b;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -25,16 +25,16 @@
   {
     int i = 0;
     while (true) {
-      const int tint_symbol = i;
-      const int tint_symbol_1 = tint_workgroupUniformLoad_a();
+      int tint_symbol = i;
+      int tint_symbol_1 = tint_workgroupUniformLoad_a();
       if (!((tint_symbol < tint_symbol_1))) {
         break;
       }
       {
       }
       {
-        const int tint_symbol_2 = i;
-        const int tint_symbol_3 = tint_workgroupUniformLoad_b();
+        int tint_symbol_2 = i;
+        int tint_symbol_3 = tint_workgroupUniformLoad_b();
         i = (tint_symbol_2 + tint_symbol_3);
       }
     }
diff --git a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.fxc.hlsl
index ec23355..3119ae7 100644
--- a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 
 int tint_workgroupUniformLoad_a() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = a;
+  int result = a;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -16,7 +16,7 @@
 
 int tint_workgroupUniformLoad_b() {
   GroupMemoryBarrierWithGroupSync();
-  const int result = b;
+  int result = b;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
@@ -25,16 +25,16 @@
   {
     int i = 0;
     while (true) {
-      const int tint_symbol = i;
-      const int tint_symbol_1 = tint_workgroupUniformLoad_a();
+      int tint_symbol = i;
+      int tint_symbol_1 = tint_workgroupUniformLoad_a();
       if (!((tint_symbol < tint_symbol_1))) {
         break;
       }
       {
       }
       {
-        const int tint_symbol_2 = i;
-        const int tint_symbol_3 = tint_workgroupUniformLoad_b();
+        int tint_symbol_2 = i;
+        int tint_symbol_3 = tint_workgroupUniformLoad_b();
         i = (tint_symbol_2 + tint_symbol_3);
       }
     }
diff --git a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.dxc.hlsl
index 48a589f..7f6ace2 100644
--- a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 bool tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const bool result = v;
+  bool result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.fxc.hlsl
index 48a589f..7f6ace2 100644
--- a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 
 bool tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const bool result = v;
+  bool result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.dxc.hlsl
index 1b22b46..aa6ddd3 100644
--- a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 float3x3 tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const float3x3 result = v;
+  float3x3 result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.fxc.hlsl
index 1b22b46..aa6ddd3 100644
--- a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 
 float3x3 tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const float3x3 result = v;
+  float3x3 result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.dxc.hlsl
index 80cd6df..00125b4 100644
--- a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 float4 tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const float4 result = v;
+  float4 result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.fxc.hlsl
index 80cd6df..00125b4 100644
--- a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 
 float4 tint_workgroupUniformLoad_v() {
   GroupMemoryBarrierWithGroupSync();
-  const float4 result = v;
+  float4 result = v;
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.dxc.hlsl b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.dxc.hlsl
index de20d9c..dc105a49d 100644
--- a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.dxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.dxc.hlsl
@@ -7,17 +7,17 @@
 
 int tint_workgroupUniformLoad_v_X(uint p[1]) {
   GroupMemoryBarrierWithGroupSync();
-  const int result = v[p[0]];
+  int result = v[p[0]];
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo_v_X(uint p[1]) {
-  const uint tint_symbol[1] = {p[0u]};
+  uint tint_symbol[1] = {p[0u]};
   return tint_workgroupUniformLoad_v_X(tint_symbol);
 }
 
 int bar() {
-  const uint tint_symbol_1[1] = (uint[1])0;
+  uint tint_symbol_1[1] = (uint[1])0;
   return foo_v_X(tint_symbol_1);
 }
diff --git a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.fxc.hlsl b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.fxc.hlsl
index de20d9c..dc105a49d 100644
--- a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.fxc.hlsl
+++ b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.fxc.hlsl
@@ -7,17 +7,17 @@
 
 int tint_workgroupUniformLoad_v_X(uint p[1]) {
   GroupMemoryBarrierWithGroupSync();
-  const int result = v[p[0]];
+  int result = v[p[0]];
   GroupMemoryBarrierWithGroupSync();
   return result;
 }
 
 int foo_v_X(uint p[1]) {
-  const uint tint_symbol[1] = {p[0u]};
+  uint tint_symbol[1] = {p[0u]};
   return tint_workgroupUniformLoad_v_X(tint_symbol);
 }
 
 int bar() {
-  const uint tint_symbol_1[1] = (uint[1])0;
+  uint tint_symbol_1[1] = (uint[1])0;
   return foo_v_X(tint_symbol_1);
 }
diff --git a/test/tint/const/global/global.wgsl.expected.dxc.hlsl b/test/tint/const/global/global.wgsl.expected.dxc.hlsl
index cc2c4c6..8114926 100644
--- a/test/tint/const/global/global.wgsl.expected.dxc.hlsl
+++ b/test/tint/const/global/global.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/const/global/global.wgsl.expected.fxc.hlsl b/test/tint/const/global/global.wgsl.expected.fxc.hlsl
index cc2c4c6..8114926 100644
--- a/test/tint/const/global/global.wgsl.expected.fxc.hlsl
+++ b/test/tint/const/global/global.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/const/inferred/function.wgsl.expected.dxc.hlsl b/test/tint/const/inferred/function.wgsl.expected.dxc.hlsl
index f60a041..1e400b0 100644
--- a/test/tint/const/inferred/function.wgsl.expected.dxc.hlsl
+++ b/test/tint/const/inferred/function.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/const/inferred/function.wgsl.expected.fxc.hlsl b/test/tint/const/inferred/function.wgsl.expected.fxc.hlsl
index f60a041..1e400b0 100644
--- a/test/tint/const/inferred/function.wgsl.expected.fxc.hlsl
+++ b/test/tint/const/inferred/function.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/expressions/binary/add/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
index 0ea5b30..b877701 100644
--- a/test/tint/expressions/binary/add/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
-  const matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
-  const matrix<float16_t, 3, 3> r = (a + b);
+  matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
+  matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
+  matrix<float16_t, 3, 3> r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
index e20dd07..e3f3728 100644
--- a/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = (a + b);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
index e20dd07..e3f3728 100644
--- a/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = (a + b);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index c767515..8734623 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(2.0h);
-  const float16_t r = (a + b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(2.0h);
+  float16_t r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index 616cf37..0bba71e 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a + b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index 616cf37..0bba71e 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a + b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 2fbde52..9f4ae0e 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a + b);
+  int a = 1;
+  int b = 2;
+  int r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 2fbde52..9f4ae0e 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a + b);
+  int a = 1;
+  int b = 2;
+  int r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index ae5fbd3..3ef9883 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a + b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index ae5fbd3..3ef9883 100644
--- a/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a + b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index 2f3064f..bb56f8b 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> r = (a + b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index bab272b..982860e 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a + b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index bab272b..982860e 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a + b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 1b2562e..85ca69b 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a + b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 1b2562e..85ca69b 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a + b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 5b43e9e..1798311 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a + b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 5b43e9e..1798311 100644
--- a/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a + b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index d473658..6b5999f 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(4.0h);
-  const vector<float16_t, 3> r = (a + b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(4.0h);
+  vector<float16_t, 3> r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index d7fa2f6..89d6489 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a + b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index d7fa2f6..89d6489 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a + b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index c878711..ce47e33 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a + b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index c878711..ce47e33 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a + b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 3bb2b6a..fd886b1 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a + b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 3bb2b6a..fd886b1 100644
--- a/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a + b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index ac2c946..d6a6d63 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
-  const vector<float16_t, 3> r = (a + b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
+  vector<float16_t, 3> r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 2fa34ec..5b50c07 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a + b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 2fa34ec..5b50c07 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a + b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 3ff77a0..623f479 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a + b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 3ff77a0..623f479 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a + b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 5bf8554..c3ace39 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a + b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 5bf8554..c3ace39 100644
--- a/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/add/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a + b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a + b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.dxc.hlsl
index 8999047..60fc1bf 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const bool a = true;
-  const bool b = false;
-  const bool r = (a & b);
+  bool a = true;
+  bool b = false;
+  bool r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.fxc.hlsl
index 8999047..60fc1bf 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const bool a = true;
-  const bool b = false;
-  const bool r = (a & b);
+  bool a = true;
+  bool b = false;
+  bool r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 8987967..ab85e2f 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a & b);
+  int a = 1;
+  int b = 2;
+  int r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 8987967..ab85e2f 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a & b);
+  int a = 1;
+  int b = 2;
+  int r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index f95c605..2c78cec 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a & b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index f95c605..2c78cec 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a & b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.dxc.hlsl
index 0975dc9..63c35d8 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const bool3 a = bool3(true, true, false);
-  const bool3 b = bool3(true, false, true);
-  const bool3 r = (a & b);
+  bool3 a = bool3(true, true, false);
+  bool3 b = bool3(true, false, true);
+  bool3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.fxc.hlsl
index 0975dc9..63c35d8 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const bool3 a = bool3(true, true, false);
-  const bool3 b = bool3(true, false, true);
-  const bool3 r = (a & b);
+  bool3 a = bool3(true, true, false);
+  bool3 b = bool3(true, false, true);
+  bool3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 34f8f47..2a339fb 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a & b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 34f8f47..2a339fb 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a & b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 8e74758..20b0819 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a & b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 8e74758..20b0819 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a & b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a & b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 84018dc..5a59767 100644
--- a/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a | b);
+  int a = 1;
+  int b = 2;
+  int r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 84018dc..5a59767 100644
--- a/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a | b);
+  int a = 1;
+  int b = 2;
+  int r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index b054689..1ad51df 100644
--- a/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a | b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index b054689..1ad51df 100644
--- a/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a | b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 6d95413..6fa2a73 100644
--- a/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a | b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 6d95413..6fa2a73 100644
--- a/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a | b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 4e2c7a5..203aab2 100644
--- a/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a | b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 4e2c7a5..203aab2 100644
--- a/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-or/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a | b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a | b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index ab8989a..66200c0 100644
--- a/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a ^ b);
+  int a = 1;
+  int b = 2;
+  int r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index ab8989a..66200c0 100644
--- a/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a ^ b);
+  int a = 1;
+  int b = 2;
+  int r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index fdcdb9c..4e77ea9 100644
--- a/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a ^ b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index fdcdb9c..4e77ea9 100644
--- a/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a ^ b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index db0a3c1..31a491f 100644
--- a/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a ^ b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index db0a3c1..31a491f 100644
--- a/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a ^ b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index e29687a..ae713e3 100644
--- a/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a ^ b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index e29687a..ae713e3 100644
--- a/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/bit-xor/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a ^ b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a ^ b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 7481ca5..12de225 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(2.0h);
-  const float16_t r = (a / b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(2.0h);
+  float16_t r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index bcc6e3b..de1b80b 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a / b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index bcc6e3b..de1b80b 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a / b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 9a4fe9b..b71cfc8 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = tint_div(a, b);
+  int a = 1;
+  int b = 2;
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 9a4fe9b..b71cfc8 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = tint_div(a, b);
+  int a = 1;
+  int b = 2;
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 3aabfa6..d74ffc1 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = tint_div(a, b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 3aabfa6..d74ffc1 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = tint_div(a, b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index be3d642..fb20522 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> r = (a / b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index 3eabba0..2676d33 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a / b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index 3eabba0..2676d33 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a / b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 21ccbde..0adf5f9 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = tint_div(a, b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 21ccbde..0adf5f9 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = tint_div(a, b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index fc09d79..654c996 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = tint_div(a, b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index fc09d79..654c996 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = tint_div(a, b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 257d05a..ad77fb7 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(4.0h);
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(4.0h);
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index cd0d2ee..95a348a 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index cd0d2ee..95a348a 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 9c7f386..861ca42 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 9c7f386..861ca42 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 16a364b..94e1387 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 16a364b..94e1387 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 99e2413..c8ff9b0 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 7ae0123..6c001c0 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 7ae0123..6c001c0 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index fe73055..48e9d5f 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index fe73055..48e9d5f 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 7e4d88c..a90424f 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 7e4d88c..a90424f 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index eb1346c..0602fb8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(0.0h);
-  const float16_t r = (a / b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(0.0h);
+  float16_t r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index facb5ed..52aa894 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 0.0f;
-  const float r = (a / b);
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index facb5ed..52aa894 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 0.0f;
-  const float r = (a / b);
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 57589da..c5e3c7d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int r = tint_div(a, b);
+  int a = 1;
+  int b = 0;
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 57589da..c5e3c7d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int r = tint_div(a, b);
+  int a = 1;
+  int b = 0;
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 92efb50..f9b3bc8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 0u;
-  const uint r = tint_div(a, b);
+  uint a = 1u;
+  uint b = 0u;
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 92efb50..f9b3bc8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 0u;
-  const uint r = tint_div(a, b);
+  uint a = 1u;
+  uint b = 0u;
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index 1d718d2..e2b919f 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(2.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(2.0h), float16_t(0.0h));
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index 85db3bf..74bdf5d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / b);
+  float a = 4.0f;
+  float3 b = float3(0.0f, 2.0f, 0.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index 85db3bf..74bdf5d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / b);
+  float a = 4.0f;
+  float3 b = float3(0.0f, 2.0f, 0.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 69aec32..9418aa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, b);
+  int a = 4;
+  int3 b = int3(0, 2, 0);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 69aec32..9418aa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, b);
+  int a = 4;
+  int3 b = int3(0, 2, 0);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index e4319c1..9d825d5 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint a = 4u;
+  uint3 b = uint3(0u, 2u, 0u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index e4319c1..9d825d5 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint a = 4u;
+  uint3 b = uint3(0u, 2u, 0u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 4a755ea..ddbc463 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(0.0h);
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(0.0h);
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index 8e1e300..1e2feb9 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 0.0f;
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 0.0f;
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index 8e1e300..1e2feb9 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 0.0f;
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 0.0f;
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index e24fb82..1040945 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 0;
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 0;
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index e24fb82..1040945 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 0;
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 0;
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 267d104..8decbf8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 0u;
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 0u;
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 267d104..8decbf8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 0u;
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 0u;
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 82953a7..bdb3228 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 94b990b..296212d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(0.0f, 5.0f, 0.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 94b990b..296212d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(0.0f, 5.0f, 0.0f);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index f6889c1..124cb7e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(0, 5, 0);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index f6889c1..124cb7e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(0, 5, 0);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 46dca5a..4692041 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(0u, 5u, 0u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 46dca5a..4692041 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(0u, 5u, 0u);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 45ec9fd..6fae0b1 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float16_t a = float16_t(1.0h);
   float16_t b = float16_t(0.0h);
-  const float16_t r = (a / (b + b));
+  float16_t r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index bf3a16e..4fc31a6 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = (a / (b + b));
+  float r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index bf3a16e..4fc31a6 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = (a / (b + b));
+  float r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index e6a1488..8612cd2 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_div(a, (b + b));
+  int r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index e6a1488..8612cd2 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_div(a, (b + b));
+  int r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index e7b89f2..6d1444e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_div(a, (b + b));
+  uint r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index e7b89f2..6d1444e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_div(a, (b + b));
+  uint r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index c5a6fe3..f4453cf 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float16_t a = float16_t(4.0h);
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(2.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / (b + b));
+  vector<float16_t, 3> r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index 399b2b9..687761e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 4.0f;
   float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index 399b2b9..687761e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 4.0f;
   float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 52f716f..2c0daa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 52f716f..2c0daa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 9ad34b2..b9166b1 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 9ad34b2..b9166b1 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 0ecccc0..6f7c639 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   float16_t b = float16_t(0.0h);
-  const vector<float16_t, 3> r = (a / (b + b));
+  vector<float16_t, 3> r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index 85f1063..1b1178b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float b = 0.0f;
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index 85f1063..1b1178b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float b = 0.0f;
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 6bdd31e..299b67b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 6bdd31e..299b67b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 9ef2147..e97001b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 9ef2147..e97001b 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 59d720c..64b8119 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / (b + b));
+  vector<float16_t, 3> r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 4135478..2e6f5c2 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 4135478..2e6f5c2 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / (b + b));
+  float3 r = (a / (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index dd810ea..32cc2a1 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index dd810ea..32cc2a1 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, (b + b));
+  int3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index d8a010e..658d6ea 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index d8a010e..658d6ea 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, (b + b));
+  uint3 r = tint_div(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 638a721..0602fb8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float16_t a = float16_t(1.0h);
   float16_t b = float16_t(0.0h);
-  const float16_t r = (a / b);
+  float16_t r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index 47c924e..52aa894 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = (a / b);
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index 47c924e..52aa894 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = (a / b);
+  float r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index dcf5a24..c5e3c7d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_div(a, b);
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index dcf5a24..c5e3c7d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_div(a, b);
+  int r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index ffaaaba..f9b3bc8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_div(a, b);
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index ffaaaba..f9b3bc8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_div(a, b);
+  uint r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index 08a1bee..e2b919f 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float16_t a = float16_t(4.0h);
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(2.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index 6f9cc20..74bdf5d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 4.0f;
   float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index 6f9cc20..74bdf5d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float a = 4.0f;
   float3 b = float3(0.0f, 2.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index afaf8fa..9418aa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index afaf8fa..9418aa7 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
+  int3 l = int3((lhs).xxx);
   return (l / (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 930f742..9d825d5 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 930f742..9d825d5 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l / ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 69e70dc..ddbc463 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   float16_t b = float16_t(0.0h);
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index 8d90669..1e2feb9 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float b = 0.0f;
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index 8d90669..1e2feb9 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float b = 0.0f;
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 5418cb1..1040945 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 5418cb1..1040945 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_div(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
+  int3 r = int3((rhs).xxx);
   return (lhs / (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 6be2d0a..8decbf8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 6be2d0a..8decbf8 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_div(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs / ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 15f5b15..bdb3228 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = (a / b);
+  vector<float16_t, 3> r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 5ed2f85..296212d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 5ed2f85..296212d 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = (a / b);
+  float3 r = (a / b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index c7a531b..124cb7e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index c7a531b..124cb7e 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_div(a, b);
+  int3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index ccdc79c..4692041 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index ccdc79c..4692041 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_div(a, b);
+  uint3 r = tint_div(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 0b8fc7b..8cfdadb 100644
--- a/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const uint b = 2u;
-  const int r = (a << (b & 31u));
+  int a = 1;
+  uint b = 2u;
+  int r = (a << (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 0b8fc7b..8cfdadb 100644
--- a/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const uint b = 2u;
-  const int r = (a << (b & 31u));
+  int a = 1;
+  uint b = 2u;
+  int r = (a << (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 4db204f..c942e29 100644
--- a/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a << (b & 31u));
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a << (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 4db204f..c942e29 100644
--- a/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a << (b & 31u));
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a << (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
index 1cd18f9..01dec9c 100644
--- a/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const int3 r = (a << (b & (31u).xxx));
+  int3 a = int3(1, 2, 3);
+  uint3 b = uint3(4u, 5u, 6u);
+  int3 r = (a << (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
index 1cd18f9..01dec9c 100644
--- a/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const int3 r = (a << (b & (31u).xxx));
+  int3 a = int3(1, 2, 3);
+  uint3 b = uint3(4u, 5u, 6u);
+  int3 r = (a << (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
index 5be626e..e645c8a 100644
--- a/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a << (b & (31u).xxx));
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a << (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
index 5be626e..e645c8a 100644
--- a/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a << (b & (31u).xxx));
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a << (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index ca63e83..f1d28d9 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(2.0h);
-  const float16_t r = tint_float_mod(a, b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(2.0h);
+  float16_t r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index d877f62..cdd9666 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = tint_float_mod(a, b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index d877f62..cdd9666 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = tint_float_mod(a, b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 68305a9..a8236c6 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = tint_mod(a, b);
+  int a = 1;
+  int b = 2;
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 68305a9..a8236c6 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = tint_mod(a, b);
+  int a = 1;
+  int b = 2;
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index b2cc513..21b10a2 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = tint_mod(a, b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index b2cc513..21b10a2 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = tint_mod(a, b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index ac7ecfa..2c0b486 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 vector<float16_t, 3> tint_float_mod(float16_t lhs, vector<float16_t, 3> rhs) {
-  const vector<float16_t, 3> l = vector<float16_t, 3>((lhs).xxx);
+  vector<float16_t, 3> l = vector<float16_t, 3>((lhs).xxx);
   return (l - (tint_trunc((l / rhs)) * rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> r = tint_float_mod(a, b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index e157fd9..513789f 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 float3 tint_float_mod(float lhs, float3 rhs) {
-  const float3 l = float3((lhs).xxx);
+  float3 l = float3((lhs).xxx);
   return (l - (tint_trunc((l / rhs)) * rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = tint_float_mod(a, b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index e157fd9..513789f 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 float3 tint_float_mod(float lhs, float3 rhs) {
-  const float3 l = float3((lhs).xxx);
+  float3 l = float3((lhs).xxx);
   return (l - (tint_trunc((l / rhs)) * rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = tint_float_mod(a, b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 831298d..3160d62 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = tint_mod(a, b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 831298d..3160d62 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = tint_mod(a, b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 2cbda43..66a6302 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = tint_mod(a, b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 2cbda43..66a6302 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = tint_mod(a, b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 674f37a..b88c807 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 vector<float16_t, 3> tint_float_mod(vector<float16_t, 3> lhs, float16_t rhs) {
-  const vector<float16_t, 3> r = vector<float16_t, 3>((rhs).xxx);
+  vector<float16_t, 3> r = vector<float16_t, 3>((rhs).xxx);
   return (lhs - (tint_trunc((lhs / r)) * r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(4.0h);
-  const vector<float16_t, 3> r = tint_float_mod(a, b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(4.0h);
+  vector<float16_t, 3> r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index 9b1c9e8..7268a4c 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 float3 tint_float_mod(float3 lhs, float rhs) {
-  const float3 r = float3((rhs).xxx);
+  float3 r = float3((rhs).xxx);
   return (lhs - (tint_trunc((lhs / r)) * r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index 9b1c9e8..7268a4c 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -3,14 +3,14 @@
 }
 
 float3 tint_float_mod(float3 lhs, float rhs) {
-  const float3 r = float3((rhs).xxx);
+  float3 r = float3((rhs).xxx);
   return (lhs - (tint_trunc((lhs / r)) * r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 3604e81..67d8bd2 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 3604e81..67d8bd2 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index b547711..30b3660 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index b547711..30b3660 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index f155a84..e718aa6 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
-  const vector<float16_t, 3> r = tint_float_mod(a, b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
+  vector<float16_t, 3> r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 494f4ce..ff1edb8 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 494f4ce..ff1edb8 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 2050f5b..ddc788c 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 2050f5b..ddc788c 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index d543c85..bc500a1 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index d543c85..bc500a1 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 97fecd1..19b5050 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(0.0h);
-  const float16_t r = tint_float_mod(a, b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(0.0h);
+  float16_t r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index ae4c471..e8e2ad4 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 0.0f;
-  const float r = tint_float_mod(a, b);
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index ae4c471..e8e2ad4 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 0.0f;
-  const float r = tint_float_mod(a, b);
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 1ea277f..4ea0c5c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int r = tint_mod(a, b);
+  int a = 1;
+  int b = 0;
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 1ea277f..4ea0c5c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 0;
-  const int r = tint_mod(a, b);
+  int a = 1;
+  int b = 0;
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index cf35054..f52c070 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 0u;
-  const uint r = tint_mod(a, b);
+  uint a = 1u;
+  uint b = 0u;
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index cf35054..f52c070 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 0u;
-  const uint r = tint_mod(a, b);
+  uint a = 1u;
+  uint b = 0u;
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 285985a..8171255 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, b);
+  int a = 4;
+  int3 b = int3(0, 2, 0);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 285985a..8171255 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, b);
+  int a = 4;
+  int3 b = int3(0, 2, 0);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 1866409..76c5fae 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint a = 4u;
+  uint3 b = uint3(0u, 2u, 0u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 1866409..76c5fae 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint a = 4u;
+  uint3 b = uint3(0u, 2u, 0u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index d5938f9..4af2b6e 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 0;
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 0;
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index d5938f9..4af2b6e 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -10,8 +10,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 0;
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int b = 0;
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 3274f28..6135314 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 0u;
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 0u;
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 3274f28..6135314 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,12 +1,12 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 0u;
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 0u;
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index b0c681a..e117ddd 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = tint_float_mod(a, b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
+  vector<float16_t, 3> r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 286cf50..2e9ca20 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(0.0f, 5.0f, 0.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 286cf50..2e9ca20 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -8,8 +8,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(0.0f, 5.0f, 0.0f);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 61a695f..d06d1af 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(0, 5, 0);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 61a695f..d06d1af 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -9,8 +9,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(0, 5, 0);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 31e3caa..f27ff3a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(0u, 5u, 0u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 31e3caa..f27ff3a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -4,8 +4,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(0u, 5u, 0u);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 375c800..8bfbd20 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float16_t a = float16_t(1.0h);
   float16_t b = float16_t(0.0h);
-  const float16_t r = tint_float_mod(a, (b + b));
+  float16_t r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index acdbe86..098b19b 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = tint_float_mod(a, (b + b));
+  float r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index acdbe86..098b19b 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = tint_float_mod(a, (b + b));
+  float r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index ed1bd8a..19d4c13 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_mod(a, (b + b));
+  int r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index ed1bd8a..19d4c13 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_mod(a, (b + b));
+  int r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 2373dcf9..3ffec85 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_mod(a, (b + b));
+  uint r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 2373dcf9..3ffec85 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_mod(a, (b + b));
+  uint r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 9c23d5f..33a21f3 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 9c23d5f..33a21f3 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 046ce3a..572d7b9 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 046ce3a..572d7b9 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 91f50c2a..1236e92 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 91f50c2a..1236e92 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index b3a498d..6a46c78 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index b3a498d..6a46c78 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index eeaad40..f8f271e 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = tint_float_mod(a, (b + b));
+  vector<float16_t, 3> r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index c020660..a6815a6 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, (b + b));
+  float3 r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index c020660..a6815a6 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, (b + b));
+  float3 r = tint_float_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index d68cef6..1567987 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index d68cef6..1567987 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, (b + b));
+  int3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 1cb142e..9f522a7 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 1cb142e..9f522a7 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, (b + b));
+  uint3 r = tint_mod(a, (b + b));
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 00842ca..19b5050 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float16_t a = float16_t(1.0h);
   float16_t b = float16_t(0.0h);
-  const float16_t r = tint_float_mod(a, b);
+  float16_t r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index 022984c..e8e2ad4 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = tint_float_mod(a, b);
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index 022984c..e8e2ad4 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float a = 1.0f;
   float b = 0.0f;
-  const float r = tint_float_mod(a, b);
+  float r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index 3972cff..4ea0c5c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_mod(a, b);
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index 3972cff..4ea0c5c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int a = 1;
   int b = 0;
-  const int r = tint_mod(a, b);
+  int r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index d2cfc63..f52c070 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_mod(a, b);
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index d2cfc63..f52c070 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint a = 1u;
   uint b = 0u;
-  const uint r = tint_mod(a, b);
+  uint r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 73eb99a..8171255 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 73eb99a..8171255 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int lhs, int3 rhs) {
-  const int3 l = int3((lhs).xxx);
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 l = int3((lhs).xxx);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((l == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((l | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (l - ((l / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int a = 4;
   int3 b = int3(0, 2, 0);
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index bc7a07e..76c5fae 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index bc7a07e..76c5fae 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint lhs, uint3 rhs) {
-  const uint3 l = uint3((lhs).xxx);
+  uint3 l = uint3((lhs).xxx);
   return (l % ((rhs == (0u).xxx) ? (1u).xxx : rhs));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint a = 4u;
   uint3 b = uint3(0u, 2u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index 7985138..4af2b6e 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index 7985138..4af2b6e 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 int3 tint_mod(int3 lhs, int rhs) {
-  const int3 r = int3((rhs).xxx);
-  const int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
+  int3 r = int3((rhs).xxx);
+  int3 rhs_or_one = (((r == (0).xxx) | ((lhs == (-2147483648).xxx) & (r == (-1).xxx))) ? (1).xxx : r);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -12,6 +12,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int b = 0;
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index b9e649a..6135314 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index b9e649a..6135314 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 uint3 tint_mod(uint3 lhs, uint rhs) {
-  const uint3 r = uint3((rhs).xxx);
+  uint3 r = uint3((rhs).xxx);
   return (lhs % ((r == (0u).xxx) ? (1u).xxx : r));
 }
 
@@ -7,6 +7,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint b = 0u;
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 51ad062..e117ddd 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(0.0h), float16_t(5.0h), float16_t(0.0h));
-  const vector<float16_t, 3> r = tint_float_mod(a, b);
+  vector<float16_t, 3> r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 65bfe56..2e9ca20 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 65bfe56..2e9ca20 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 void f() {
   float3 a = float3(1.0f, 2.0f, 3.0f);
   float3 b = float3(0.0f, 5.0f, 0.0f);
-  const float3 r = tint_float_mod(a, b);
+  float3 r = tint_float_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index 669e78c..d06d1af 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index 669e78c..d06d1af 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 int3 tint_mod(int3 lhs, int3 rhs) {
-  const int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
+  int3 rhs_or_one = (((rhs == (0).xxx) | ((lhs == (-2147483648).xxx) & (rhs == (-1).xxx))) ? (1).xxx : rhs);
   if (any(((uint3((lhs | rhs_or_one)) & (2147483648u).xxx) != (0u).xxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
@@ -11,6 +11,6 @@
 void f() {
   int3 a = int3(1, 2, 3);
   int3 b = int3(0, 5, 0);
-  const int3 r = tint_mod(a, b);
+  int3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 1411197..f27ff3a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 1411197..f27ff3a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 void f() {
   uint3 a = uint3(1u, 2u, 3u);
   uint3 b = uint3(0u, 5u, 0u);
-  const uint3 r = tint_mod(a, b);
+  uint3 r = tint_mod(a, b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f16.wgsl.expected.dxc.hlsl
index ff6d4ae..dfc94b9 100644
--- a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 2, 4> a = matrix<float16_t, 2, 4>(vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h)), vector<float16_t, 4>(float16_t(5.0h), float16_t(6.0h), float16_t(7.0h), float16_t(8.0h)));
-  const matrix<float16_t, 4, 2> b = matrix<float16_t, 4, 2>(vector<float16_t, 2>(float16_t(-1.0h), float16_t(-2.0h)), vector<float16_t, 2>(float16_t(-3.0h), float16_t(-4.0h)), vector<float16_t, 2>(float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 2>(float16_t(-7.0h), float16_t(-8.0h)));
-  const matrix<float16_t, 4, 4> r = mul(b, a);
+  matrix<float16_t, 2, 4> a = matrix<float16_t, 2, 4>(vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h)), vector<float16_t, 4>(float16_t(5.0h), float16_t(6.0h), float16_t(7.0h), float16_t(8.0h)));
+  matrix<float16_t, 4, 2> b = matrix<float16_t, 4, 2>(vector<float16_t, 2>(float16_t(-1.0h), float16_t(-2.0h)), vector<float16_t, 2>(float16_t(-3.0h), float16_t(-4.0h)), vector<float16_t, 2>(float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 2>(float16_t(-7.0h), float16_t(-8.0h)));
+  matrix<float16_t, 4, 4> r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.dxc.hlsl
index c502b09..eae5752 100644
--- a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 a = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
-  const float4x2 b = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
-  const float4x4 r = mul(b, a);
+  float2x4 a = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
+  float4x2 b = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
+  float4x4 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.fxc.hlsl
index c502b09..eae5752 100644
--- a/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x4 a = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
-  const float4x2 b = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
-  const float4x4 r = mul(b, a);
+  float2x4 a = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
+  float4x2 b = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
+  float4x4 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.dxc.hlsl
index e54dcfb..7c1281c 100644
--- a/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f16.wgsl.expected.dxc.hlsl
@@ -16,6 +16,6 @@
   uint2 ubo_load_3 = data[1].xy;
   vector<float16_t, 2> ubo_load_3_xz = vector<float16_t, 2>(f16tof32(ubo_load_3 & 0xFFFF));
   float16_t ubo_load_3_y = f16tof32(ubo_load_3[0] >> 16);
-  const vector<float16_t, 2> x = mul(vector<float16_t, 3>(ubo_load_3_xz[0], ubo_load_3_y, ubo_load_3_xz[1]), data_load(0u));
+  vector<float16_t, 2> x = mul(vector<float16_t, 3>(ubo_load_3_xz[0], ubo_load_3_y, ubo_load_3_xz[1]), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.dxc.hlsl
index 9012db2..a1053a3 100644
--- a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.dxc.hlsl
@@ -13,6 +13,6 @@
 }
 
 void main() {
-  const float2 x = mul(asfloat(data[2].xyz), data_load(0u));
+  float2 x = mul(asfloat(data[2].xyz), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.fxc.hlsl
index 9012db2..a1053a3 100644
--- a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.fxc.hlsl
@@ -13,6 +13,6 @@
 }
 
 void main() {
-  const float2 x = mul(asfloat(data[2].xyz), data_load(0u));
+  float2 x = mul(asfloat(data[2].xyz), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
index e4a2007..bae075a 100644
--- a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
-  const matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
-  const matrix<float16_t, 3, 3> r = mul(b, a);
+  matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
+  matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
+  matrix<float16_t, 3, 3> r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
index 22af87e..7fe1344 100644
--- a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = mul(b, a);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
index 22af87e..7fe1344 100644
--- a/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = mul(b, a);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.dxc.hlsl
index 87bd2f7..3d9b38e 100644
--- a/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -25,6 +25,6 @@
   uint2 ubo_load_6 = data[1].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> x = mul(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]), data_load(0u));
+  vector<float16_t, 3> x = mul(vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.dxc.hlsl
index 071906d..3ef9fa5 100644
--- a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 }
 
 void main() {
-  const float3 x = mul(asfloat(data[3].xyz), data_load(0u));
+  float3 x = mul(asfloat(data[3].xyz), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.fxc.hlsl
index 071906d..3ef9fa5 100644
--- a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 }
 
 void main() {
-  const float3 x = mul(asfloat(data[3].xyz), data_load(0u));
+  float3 x = mul(asfloat(data[3].xyz), data_load(0u));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f16.wgsl.expected.dxc.hlsl
index 20a2c66..88a8952 100644
--- a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 4, 2> a = matrix<float16_t, 4, 2>(vector<float16_t, 2>(float16_t(-1.0h), float16_t(-2.0h)), vector<float16_t, 2>(float16_t(-3.0h), float16_t(-4.0h)), vector<float16_t, 2>(float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 2>(float16_t(-7.0h), float16_t(-8.0h)));
-  const matrix<float16_t, 2, 4> b = matrix<float16_t, 2, 4>(vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h)), vector<float16_t, 4>(float16_t(5.0h), float16_t(6.0h), float16_t(7.0h), float16_t(8.0h)));
-  const matrix<float16_t, 2, 2> r = mul(b, a);
+  matrix<float16_t, 4, 2> a = matrix<float16_t, 4, 2>(vector<float16_t, 2>(float16_t(-1.0h), float16_t(-2.0h)), vector<float16_t, 2>(float16_t(-3.0h), float16_t(-4.0h)), vector<float16_t, 2>(float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 2>(float16_t(-7.0h), float16_t(-8.0h)));
+  matrix<float16_t, 2, 4> b = matrix<float16_t, 2, 4>(vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(4.0h)), vector<float16_t, 4>(float16_t(5.0h), float16_t(6.0h), float16_t(7.0h), float16_t(8.0h)));
+  matrix<float16_t, 2, 2> r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.dxc.hlsl
index 9f4028a..32c4b33 100644
--- a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 a = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
-  const float2x4 b = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
-  const float2x2 r = mul(b, a);
+  float4x2 a = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
+  float2x4 b = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
+  float2x2 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.fxc.hlsl
index 9f4028a..32c4b33 100644
--- a/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4x2 a = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
-  const float2x4 b = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
-  const float2x2 r = mul(b, a);
+  float4x2 a = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
+  float2x4 b = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
+  float2x2 r = mul(b, a);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index af1c812..1deb3e4 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(2.0h);
-  const float16_t r = (a * b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(2.0h);
+  float16_t r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index 733835b..8baff18 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a * b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index 733835b..8baff18 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a * b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index f5d7618..8bc6564 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a * b);
+  int a = 1;
+  int b = 2;
+  int r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index f5d7618..8bc6564 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a * b);
+  int a = 1;
+  int b = 2;
+  int r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 11c3fed..a4b989a 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a * b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 11c3fed..a4b989a 100644
--- a/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a * b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index fbd4580..08fe189 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> r = (a * b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index ab39cdc..1bfed3c 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a * b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index ab39cdc..1bfed3c 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a * b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 6d7c62a..b6204e2 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a * b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 6d7c62a..b6204e2 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a * b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 73ec042..c050c10 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a * b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 73ec042..c050c10 100644
--- a/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a * b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.dxc.hlsl
index e7825e2..eb9cba1 100644
--- a/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f16.wgsl.expected.dxc.hlsl
@@ -25,6 +25,6 @@
   uint2 ubo_load_6 = data[1].zw;
   vector<float16_t, 2> ubo_load_6_xz = vector<float16_t, 2>(f16tof32(ubo_load_6 & 0xFFFF));
   float16_t ubo_load_6_y = f16tof32(ubo_load_6[0] >> 16);
-  const vector<float16_t, 3> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
+  vector<float16_t, 3> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_6_xz[0], ubo_load_6_y, ubo_load_6_xz[1]));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.dxc.hlsl
index ea7c501..09980d6 100644
--- a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 }
 
 void main() {
-  const float3 x = mul(data_load_1(0u), asfloat(data[3].xyz));
+  float3 x = mul(data_load_1(0u), asfloat(data[3].xyz));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.fxc.hlsl
index ea7c501..09980d6 100644
--- a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 }
 
 void main() {
-  const float3 x = mul(data_load_1(0u), asfloat(data[3].xyz));
+  float3 x = mul(data_load_1(0u), asfloat(data[3].xyz));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.dxc.hlsl
index 57e15c4..394629b 100644
--- a/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f16.wgsl.expected.dxc.hlsl
@@ -30,6 +30,6 @@
   uint2 ubo_load_8 = data[2].xy;
   vector<float16_t, 2> ubo_load_8_xz = vector<float16_t, 2>(f16tof32(ubo_load_8 & 0xFFFF));
   float16_t ubo_load_8_y = f16tof32(ubo_load_8[0] >> 16);
-  const vector<float16_t, 4> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]));
+  vector<float16_t, 4> x = mul(data_load_1(0u), vector<float16_t, 3>(ubo_load_8_xz[0], ubo_load_8_y, ubo_load_8_xz[1]));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.dxc.hlsl
index 1368876..0bd4803 100644
--- a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void main() {
-  const float4 x = mul(data_load_1(0u), asfloat(data[4].xyz));
+  float4 x = mul(data_load_1(0u), asfloat(data[4].xyz));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.fxc.hlsl
index 1368876..0bd4803 100644
--- a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void main() {
-  const float4 x = mul(data_load_1(0u), asfloat(data[4].xyz));
+  float4 x = mul(data_load_1(0u), asfloat(data[4].xyz));
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index 7a87bd8..8ddf937 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(4.0h);
-  const vector<float16_t, 3> r = (a * b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(4.0h);
+  vector<float16_t, 3> r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index b465c95..a69c3e4 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a * b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index b465c95..a69c3e4 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a * b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index c100909..63f4edae 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a * b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index c100909..63f4edae 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a * b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index ab2bd78..9a7f095 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a * b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index ab2bd78..9a7f095 100644
--- a/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a * b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 7e75e28..22851f8 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
-  const vector<float16_t, 3> r = (a * b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
+  vector<float16_t, 3> r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index 8a51b14..38ad86f 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a * b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index 8a51b14..38ad86f 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a * b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index d532aaf..5220221 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a * b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index d532aaf..5220221 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a * b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 5db3034..4d70340 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a * b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 5db3034..4d70340 100644
--- a/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/mul/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a * b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a * b);
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index c408e62..24d752a 100644
--- a/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const uint b = 2u;
-  const int r = (a >> (b & 31u));
+  int a = 1;
+  uint b = 2u;
+  int r = (a >> (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index c408e62..24d752a 100644
--- a/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const uint b = 2u;
-  const int r = (a >> (b & 31u));
+  int a = 1;
+  uint b = 2u;
+  int r = (a >> (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 1cdc247..e5a50ab 100644
--- a/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a >> (b & 31u));
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a >> (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 1cdc247..e5a50ab 100644
--- a/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a >> (b & 31u));
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a >> (b & 31u));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
index 0421b5f..c29a6a4 100644
--- a/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const int3 r = (a >> (b & (31u).xxx));
+  int3 a = int3(1, 2, 3);
+  uint3 b = uint3(4u, 5u, 6u);
+  int3 r = (a >> (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
index 0421b5f..c29a6a4 100644
--- a/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/vector-vector/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const int3 r = (a >> (b & (31u).xxx));
+  int3 a = int3(1, 2, 3);
+  uint3 b = uint3(4u, 5u, 6u);
+  int3 r = (a >> (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
index 8a9e6df..0abd0e8 100644
--- a/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a >> (b & (31u).xxx));
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a >> (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
index 8a9e6df..0abd0e8 100644
--- a/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/right-shift/vector-vector/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a >> (b & (31u).xxx));
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a >> (b & (31u).xxx));
   return;
 }
diff --git a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
index 94f9755..af4b3cb 100644
--- a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
-  const matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
-  const matrix<float16_t, 3, 3> r = (a - b);
+  matrix<float16_t, 3, 3> a = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h)), vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h)), vector<float16_t, 3>(float16_t(7.0h), float16_t(8.0h), float16_t(9.0h)));
+  matrix<float16_t, 3, 3> b = matrix<float16_t, 3, 3>(vector<float16_t, 3>(float16_t(-1.0h), float16_t(-2.0h), float16_t(-3.0h)), vector<float16_t, 3>(float16_t(-4.0h), float16_t(-5.0h), float16_t(-6.0h)), vector<float16_t, 3>(float16_t(-7.0h), float16_t(-8.0h), float16_t(-9.0h)));
+  matrix<float16_t, 3, 3> r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
index 9d1b2b3..f1a2c92 100644
--- a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = (a - b);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
index 9d1b2b3..f1a2c92 100644
--- a/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
-  const float3x3 r = (a - b);
+  float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
+  float3x3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/f16.wgsl.expected.dxc.hlsl
index 692f1ad..4daadfd 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = float16_t(2.0h);
-  const float16_t r = (a - b);
+  float16_t a = float16_t(1.0h);
+  float16_t b = float16_t(2.0h);
+  float16_t r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.dxc.hlsl
index 3da8f71..4ef6d14 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a - b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.fxc.hlsl
index 3da8f71..4ef6d14 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 1.0f;
-  const float b = 2.0f;
-  const float r = (a - b);
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.dxc.hlsl
index d31ae60..0f6831a 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a - b);
+  int a = 1;
+  int b = 2;
+  int r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.fxc.hlsl
index d31ae60..0f6831a 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int b = 2;
-  const int r = (a - b);
+  int a = 1;
+  int b = 2;
+  int r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.dxc.hlsl
index 52af93e..95911c2 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a - b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.fxc.hlsl
index 52af93e..95911c2 100644
--- a/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1u;
-  const uint b = 2u;
-  const uint r = (a - b);
+  uint a = 1u;
+  uint b = 2u;
+  uint r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/f16.wgsl.expected.dxc.hlsl
index f59e9c3..92fee4b 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(4.0h);
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> r = (a - b);
+  float16_t a = float16_t(4.0h);
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.dxc.hlsl
index d714c62..9afc2c8 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a - b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.fxc.hlsl
index d714c62..9afc2c8 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 4.0f;
-  const float3 b = float3(1.0f, 2.0f, 3.0f);
-  const float3 r = (a - b);
+  float a = 4.0f;
+  float3 b = float3(1.0f, 2.0f, 3.0f);
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.dxc.hlsl
index 1e67f13..679edd7 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a - b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.fxc.hlsl
index 1e67f13..679edd7 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 4;
-  const int3 b = int3(1, 2, 3);
-  const int3 r = (a - b);
+  int a = 4;
+  int3 b = int3(1, 2, 3);
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.dxc.hlsl
index 90f540d..1f4e8bc 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a - b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.fxc.hlsl
index 90f540d..1f4e8bc 100644
--- a/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/scalar-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 4u;
-  const uint3 b = uint3(1u, 2u, 3u);
-  const uint3 r = (a - b);
+  uint a = 4u;
+  uint3 b = uint3(1u, 2u, 3u);
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/f16.wgsl.expected.dxc.hlsl
index ac64c79..1b190ab 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const float16_t b = float16_t(4.0h);
-  const vector<float16_t, 3> r = (a - b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  float16_t b = float16_t(4.0h);
+  vector<float16_t, 3> r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.dxc.hlsl
index d3deb7b..faa4970 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a - b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.fxc.hlsl
index d3deb7b..faa4970 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float b = 4.0f;
-  const float3 r = (a - b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.dxc.hlsl
index defd761..9b60341 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a - b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.fxc.hlsl
index defd761..9b60341 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int b = 4;
-  const int3 r = (a - b);
+  int3 a = int3(1, 2, 3);
+  int b = 4;
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.dxc.hlsl
index 794336d..91bc875 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a - b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.fxc.hlsl
index 794336d..91bc875 100644
--- a/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-scalar/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint b = 4u;
-  const uint3 r = (a - b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint b = 4u;
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/f16.wgsl.expected.dxc.hlsl
index 6e1ed25..b764358 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/f16.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
-  const vector<float16_t, 3> r = (a - b);
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(4.0h), float16_t(5.0h), float16_t(6.0h));
+  vector<float16_t, 3> r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.dxc.hlsl
index f4a568e..593b6ae 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a - b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.fxc.hlsl
index f4a568e..593b6ae 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/f32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(1.0f, 2.0f, 3.0f);
-  const float3 b = float3(4.0f, 5.0f, 6.0f);
-  const float3 r = (a - b);
+  float3 a = float3(1.0f, 2.0f, 3.0f);
+  float3 b = float3(4.0f, 5.0f, 6.0f);
+  float3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.dxc.hlsl
index e8a2622..013708e 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a - b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.fxc.hlsl
index e8a2622..013708e 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/i32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1, 2, 3);
-  const int3 b = int3(4, 5, 6);
-  const int3 r = (a - b);
+  int3 a = int3(1, 2, 3);
+  int3 b = int3(4, 5, 6);
+  int3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.dxc.hlsl
index 1a8d03f..c4f5eb5 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a - b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.fxc.hlsl
index 1a8d03f..c4f5eb5 100644
--- a/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/binary/sub/vec3-vec3/u32.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1u, 2u, 3u);
-  const uint3 b = uint3(4u, 5u, 6u);
-  const uint3 r = (a - b);
+  uint3 a = uint3(1u, 2u, 3u);
+  uint3 b = uint3(4u, 5u, 6u);
+  uint3 r = (a - b);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
index 4f39a01..ed253cf 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
index 815932a..c78ba84 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = int4(1073757184, -1006616064, -998242304, 987654321);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
index bddf4d8..d5a5db8 100644
--- a/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/16bit/f16-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/16bit/f16-f16.wgsl.expected.dxc.hlsl
index 957f3b1..cbb7fa6 100644
--- a/test/tint/expressions/bitcast/const/16bit/f16-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/16bit/f16-f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t b = float16_t(1.0h);
+  float16_t b = float16_t(1.0h);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.dxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.fxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.dxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.fxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.dxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.fxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
index 3c1e8f5..6fb388c 100644
--- a/test/tint/expressions/bitcast/const/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.dxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.fxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.dxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.fxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.dxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.fxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
index 3c1e8f5..6fb388c 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.dxc.hlsl
index 0a9ddab..4c9801d 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 2147483648u;
+  uint b = 2147483648u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.fxc.hlsl
index 0a9ddab..4c9801d 100644
--- a/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/i32min-u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 2147483648u;
+  uint b = 2147483648u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.dxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.fxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.dxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.fxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.dxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.fxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
index 3c1e8f5..6fb388c 100644
--- a/test/tint/expressions/bitcast/const/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.fxc.hlsl
index 74d690b..691a062 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float b = 2.003662109375f;
+  float b = 2.003662109375f;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.fxc.hlsl
index 619dbfe..c9c4bf5 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int b = 1073757184;
+  int b = 1073757184;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.fxc.hlsl
index e14dc06..6163aa4 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint b = 1073757184u;
+  uint b = 1073757184u;
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
index 3c1e8f5..6fb388c 100644
--- a/test/tint/expressions/bitcast/const/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  vector<float16_t, 2> b = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
index 75f08e6..9950684 100644
--- a/test/tint/expressions/bitcast/const/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
index ebb0eae..86b7197 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
index ebb0eae..86b7197 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
index ebb0eae..86b7197 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.fxc.hlsl
index cda5ceb..48adfec 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 b = float2(2.003662109375f, -513.03125f);
+  float2 b = float2(2.003662109375f, -513.03125f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.fxc.hlsl
index 60ca20a..e3afa64 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 b = int2(1073757184, -1006616064);
+  int2 b = int2(1073757184, -1006616064);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.fxc.hlsl
index 88bf5cd..c82e1c9 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 b = uint2(1073757184u, 3288351232u);
+  uint2 b = uint2(1073757184u, 3288351232u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
index ebb0eae..86b7197 100644
--- a/test/tint/expressions/bitcast/const/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  vector<float16_t, 4> b = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
index d631018..b7590b4 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = float3(2.003662109375f, -513.03125f, -1024.25f);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
index 3e835c7..81f8586 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 b = int3(1073757184, -1006616064, -998242304);
+  int3 b = int3(1073757184, -1006616064, -998242304);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
index 9b93c9c..f5cb75d 100644
--- a/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/const/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,5 +1,5 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = uint3(1073757184u, 3288351232u, 3296724992u);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
index 6c690ac..d5288f1 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const float4 b = a;
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
index 6c690ac..d5288f1 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const float4 b = a;
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  float4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
index 3b1c1c7..57e9e29 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const int4 b = asint(a);
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  int4 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
index 3b1c1c7..57e9e29 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const int4 b = asint(a);
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  int4 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
index 6b90b66..dbcd202 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const uint4 b = asuint(a);
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  uint4 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
index 6b90b66..dbcd202 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
-  const uint4 b = asuint(a);
+  float4 a = float4(2.003662109375f, -513.03125f, -1024.25f, 0.00169684563297778368f);
+  uint4 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
index 1f18d8c..261fabe 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const float4 b = asfloat(a);
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  float4 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
index 1f18d8c..261fabe 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const float4 b = asfloat(a);
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  float4 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
index 4242dba..d72d3ac 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const int4 b = a;
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
index 4242dba..d72d3ac 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const int4 b = a;
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  int4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
index 78f7d7e..0e14e93 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const uint4 b = asuint(a);
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  uint4 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
index 78f7d7e..0e14e93 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
-  const uint4 b = asuint(a);
+  int4 a = int4(1073757184, -1006616064, -998242304, 987654321);
+  uint4 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
index aba92aa..867e6ff 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const float4 b = asfloat(a);
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  float4 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
index aba92aa..867e6ff 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const float4 b = asfloat(a);
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  float4 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
index c5e9233..ab3da6e 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const int4 b = asint(a);
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  int4 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
index c5e9233..ab3da6e 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const int4 b = asint(a);
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  int4 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
index cd67798..387aa18 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const uint4 b = a;
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
index cd67798..387aa18 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
-  const uint4 b = a;
+  uint4 a = uint4(1073757184u, 3288351232u, 3296724992u, 987654321u);
+  uint4 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.dxc.hlsl
index f627589..1409039 100644
--- a/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float16_t a = float16_t(1.0h);
-  const float16_t b = a;
+  float16_t a = float16_t(1.0h);
+  float16_t b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.dxc.hlsl
index 29c8009..9b1292d 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const float b = a;
+  float a = 2.003662109375f;
+  float b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.fxc.hlsl
index 29c8009..9b1292d 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const float b = a;
+  float a = 2.003662109375f;
+  float b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.dxc.hlsl
index af3719c..45a1796 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const int b = asint(a);
+  float a = 2.003662109375f;
+  int b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.fxc.hlsl
index af3719c..45a1796 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const int b = asint(a);
+  float a = 2.003662109375f;
+  int b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.dxc.hlsl
index 98f802d..8052e3e 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const uint b = asuint(a);
+  float a = 2.003662109375f;
+  uint b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.fxc.hlsl
index 98f802d..8052e3e 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const uint b = asuint(a);
+  float a = 2.003662109375f;
+  uint b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
index d859d97..7730244 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float a = 2.003662109375f;
-  const vector<float16_t, 2> b = tint_bitcast_to_f16(a);
+  float a = 2.003662109375f;
+  vector<float16_t, 2> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.dxc.hlsl
index 123510b..7365e1a 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const float b = asfloat(a);
+  int a = 1073757184;
+  float b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.fxc.hlsl
index 123510b..7365e1a 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const float b = asfloat(a);
+  int a = 1073757184;
+  float b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.dxc.hlsl
index 6cf8029..c2e63c2 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const int b = a;
+  int a = 1073757184;
+  int b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.fxc.hlsl
index 6cf8029..c2e63c2 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const int b = a;
+  int a = 1073757184;
+  int b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.dxc.hlsl
index b1c1381..1edbab1 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const uint b = asuint(a);
+  int a = 1073757184;
+  uint b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.fxc.hlsl
index b1c1381..1edbab1 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const uint b = asuint(a);
+  int a = 1073757184;
+  uint b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
index 1b76cc5..6d7e76b 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1073757184;
-  const vector<float16_t, 2> b = tint_bitcast_to_f16(a);
+  int a = 1073757184;
+  vector<float16_t, 2> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.dxc.hlsl
index 3054f48..2a09c3e 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const float b = asfloat(a);
+  uint a = 1073757184u;
+  float b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.fxc.hlsl
index 3054f48..2a09c3e 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const float b = asfloat(a);
+  uint a = 1073757184u;
+  float b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.dxc.hlsl
index cf37bd5..97fca29 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const int b = asint(a);
+  uint a = 1073757184u;
+  int b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.fxc.hlsl
index cf37bd5..97fca29 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const int b = asint(a);
+  uint a = 1073757184u;
+  int b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.dxc.hlsl
index 6309306..886be0ae 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const uint b = a;
+  uint a = 1073757184u;
+  uint b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.fxc.hlsl
index 6309306..886be0ae 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const uint b = a;
+  uint a = 1073757184u;
+  uint b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
index 2e7bcd9..f094775 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint a = 1073757184u;
-  const vector<float16_t, 2> b = tint_bitcast_to_f16(a);
+  uint a = 1073757184u;
+  vector<float16_t, 2> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
index 480ada0..7e04230 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
-  const float b = tint_bitcast_from_f16(a);
+  vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  float b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
index 8ad784d..b97ab29 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
-  const int b = tint_bitcast_from_f16(a);
+  vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  int b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
index 48e040e..6241dfb 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
-  const uint b = tint_bitcast_from_f16(a);
+  vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  uint b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
index eef9d47..2d9bff6 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
-  const vector<float16_t, 2> b = a;
+  vector<float16_t, 2> a = vector<float16_t, 2>(float16_t(1.0h), float16_t(2.0h));
+  vector<float16_t, 2> b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
index 0dee574..df2abd4 100644
--- a/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
-  const vector<float16_t, 3> b = a;
+  vector<float16_t, 3> a = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
+  vector<float16_t, 3> b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
index 65e80d4..781646d 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const float2 b = a;
+  float2 a = float2(2.003662109375f, -513.03125f);
+  float2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
index 65e80d4..781646d 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const float2 b = a;
+  float2 a = float2(2.003662109375f, -513.03125f);
+  float2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
index 1897e4e..e6a757d 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const int2 b = asint(a);
+  float2 a = float2(2.003662109375f, -513.03125f);
+  int2 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
index 1897e4e..e6a757d 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const int2 b = asint(a);
+  float2 a = float2(2.003662109375f, -513.03125f);
+  int2 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
index 686d91c..c0d5273 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const uint2 b = asuint(a);
+  float2 a = float2(2.003662109375f, -513.03125f);
+  uint2 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
index 686d91c..c0d5273 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const uint2 b = asuint(a);
+  float2 a = float2(2.003662109375f, -513.03125f);
+  uint2 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
index 8066be5..6506052 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2 a = float2(2.003662109375f, -513.03125f);
-  const vector<float16_t, 4> b = tint_bitcast_to_f16(a);
+  float2 a = float2(2.003662109375f, -513.03125f);
+  vector<float16_t, 4> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
index 87d52ff..8f6123c 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const float2 b = asfloat(a);
+  int2 a = int2(1073757184, -1006616064);
+  float2 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
index 87d52ff..8f6123c 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const float2 b = asfloat(a);
+  int2 a = int2(1073757184, -1006616064);
+  float2 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
index 4ffcee8..887a3ea 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const int2 b = a;
+  int2 a = int2(1073757184, -1006616064);
+  int2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
index 4ffcee8..887a3ea 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const int2 b = a;
+  int2 a = int2(1073757184, -1006616064);
+  int2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
index b4d2cad..6f67c32 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const uint2 b = asuint(a);
+  int2 a = int2(1073757184, -1006616064);
+  uint2 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
index b4d2cad..6f67c32 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const uint2 b = asuint(a);
+  int2 a = int2(1073757184, -1006616064);
+  uint2 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
index 08e5038..b21b086 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int2 a = int2(1073757184, -1006616064);
-  const vector<float16_t, 4> b = tint_bitcast_to_f16(a);
+  int2 a = int2(1073757184, -1006616064);
+  vector<float16_t, 4> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
index 461d37f..f0095c5 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const float2 b = asfloat(a);
+  uint2 a = uint2(1073757184u, 3288351232u);
+  float2 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
index 461d37f..f0095c5 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const float2 b = asfloat(a);
+  uint2 a = uint2(1073757184u, 3288351232u);
+  float2 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
index 54f38c5..6af511b 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const int2 b = asint(a);
+  uint2 a = uint2(1073757184u, 3288351232u);
+  int2 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
index 54f38c5..6af511b 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const int2 b = asint(a);
+  uint2 a = uint2(1073757184u, 3288351232u);
+  int2 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
index 1c32887..707741a 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const uint2 b = a;
+  uint2 a = uint2(1073757184u, 3288351232u);
+  uint2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
index 1c32887..707741a 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const uint2 b = a;
+  uint2 a = uint2(1073757184u, 3288351232u);
+  uint2 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
index feb63ec..bf33541 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const uint2 a = uint2(1073757184u, 3288351232u);
-  const vector<float16_t, 4> b = tint_bitcast_to_f16(a);
+  uint2 a = uint2(1073757184u, 3288351232u);
+  vector<float16_t, 4> b = tint_bitcast_to_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
index 6766be1..d1d1fdc 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
-  const float2 b = tint_bitcast_from_f16(a);
+  vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  float2 b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
index 375b455..ee25e39 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
-  const int2 b = tint_bitcast_from_f16(a);
+  vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  int2 b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
index 714aefa..4d641ff 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
-  const uint2 b = tint_bitcast_from_f16(a);
+  vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  uint2 b = tint_bitcast_from_f16(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
index 428e4b1..0fc57a8 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
-  const vector<float16_t, 4> b = a;
+  vector<float16_t, 4> a = vector<float16_t, 4>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h), float16_t(-4.0h));
+  vector<float16_t, 4> b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
index 0995b1c..6c45dae 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const float3 b = a;
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
index 0995b1c..6c45dae 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const float3 b = a;
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  float3 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
index 4ed014e..a5f7158 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const int3 b = asint(a);
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  int3 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
index 4ed014e..a5f7158 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const int3 b = asint(a);
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  int3 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
index 64593f0..c49c7ad 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const uint3 b = asuint(a);
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  uint3 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
index 64593f0..c49c7ad 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
-  const uint3 b = asuint(a);
+  float3 a = float3(2.003662109375f, -513.03125f, -1024.25f);
+  uint3 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
index a720745..7a4152d 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const float3 b = asfloat(a);
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  float3 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
index a720745..7a4152d 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const float3 b = asfloat(a);
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  float3 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
index ac9d58a..3280d27 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const int3 b = a;
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  int3 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
index ac9d58a..3280d27 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const int3 b = a;
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  int3 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
index d57db76..ded0bac 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const uint3 b = asuint(a);
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  uint3 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
index d57db76..ded0bac 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const int3 a = int3(1073757184, -1006616064, -998242304);
-  const uint3 b = asuint(a);
+  int3 a = int3(1073757184, -1006616064, -998242304);
+  uint3 b = asuint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
index af59233..08a11fe 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const float3 b = asfloat(a);
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  float3 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
index af59233..08a11fe 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const float3 b = asfloat(a);
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  float3 b = asfloat(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
index 0447999..8f12674 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const int3 b = asint(a);
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  int3 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
index 0447999..8f12674 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const int3 b = asint(a);
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  int3 b = asint(a);
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
index 899328c..1216cd4 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const uint3 b = a;
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = a;
   return;
 }
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
index 899328c..1216cd4 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void f() {
-  const uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
-  const uint3 b = a;
+  uint3 a = uint3(1073757184u, 3288351232u, 3296724992u);
+  uint3 b = a;
   return;
 }
diff --git a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.dxc.hlsl
index b943cff..e7231ea 100644
--- a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a[2] = (S[2])0;
+  S a[2] = (S[2])0;
   return a[1].n[1];
 }
diff --git a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.fxc.hlsl
index b943cff..e7231ea 100644
--- a/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/array_nested_struct.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a[2] = (S[2])0;
+  S a[2] = (S[2])0;
   return a[1].n[1];
 }
diff --git a/test/tint/expressions/index/let/let/literal/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/literal/array.wgsl.expected.dxc.hlsl
index 2ed4f95..05fa120 100644
--- a/test/tint/expressions/index/let/let/literal/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/array.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = 1;
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/let/literal/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/literal/array.wgsl.expected.fxc.hlsl
index 2ed4f95..05fa120 100644
--- a/test/tint/expressions/index/let/let/literal/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/array.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = 1;
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.dxc.hlsl
index ebc3718..57214c7 100644
--- a/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = 1;
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.fxc.hlsl
index ebc3718..57214c7 100644
--- a/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/matrix.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = 1;
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.dxc.hlsl
index 0c1a30d..0f4070c 100644
--- a/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = 1;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.fxc.hlsl
index 0c1a30d..0f4070c 100644
--- a/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/literal/vector.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = 1;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/param/array.wgsl.expected.dxc.hlsl
index 94ea5f2..5c4041c 100644
--- a/test/tint/expressions/index/let/let/param/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/array.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f(int x) {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = x;
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int i = x;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/param/array.wgsl.expected.fxc.hlsl
index 94ea5f2..5c4041c 100644
--- a/test/tint/expressions/index/let/let/param/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/array.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f(int x) {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = x;
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int i = x;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.dxc.hlsl
index 8fa2ccd..6296b13 100644
--- a/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f(int x) {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = x;
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  int i = x;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.fxc.hlsl
index 8fa2ccd..6296b13 100644
--- a/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/matrix.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f(int x) {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = x;
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  int i = x;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/let/param/vector.wgsl.expected.dxc.hlsl
index 07ed90e..a0099e2 100644
--- a/test/tint/expressions/index/let/let/param/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/vector.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f(int x) {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = x;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  int i = x;
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/let/param/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/let/param/vector.wgsl.expected.fxc.hlsl
index 07ed90e..a0099e2 100644
--- a/test/tint/expressions/index/let/let/param/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/let/param/vector.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f(int x) {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = x;
+  float3 v = float3(1.0f, 2.0f, 3.0f);
+  int i = x;
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/literal/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/literal/array.wgsl.expected.dxc.hlsl
index 7174cfa..4338718 100644
--- a/test/tint/expressions/index/let/literal/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/literal/array.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   return a[1];
 }
diff --git a/test/tint/expressions/index/let/literal/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/literal/array.wgsl.expected.fxc.hlsl
index 7174cfa..4338718 100644
--- a/test/tint/expressions/index/let/literal/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/literal/array.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   return a[1];
 }
diff --git a/test/tint/expressions/index/let/literal/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/literal/matrix.wgsl.expected.dxc.hlsl
index ad2d36b..7b1ea5a 100644
--- a/test/tint/expressions/index/let/literal/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/literal/matrix.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   return m[1];
 }
diff --git a/test/tint/expressions/index/let/literal/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/literal/matrix.wgsl.expected.fxc.hlsl
index ad2d36b..7b1ea5a 100644
--- a/test/tint/expressions/index/let/literal/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/literal/matrix.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   return m[1];
 }
diff --git a/test/tint/expressions/index/let/literal/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/literal/vector.wgsl.expected.dxc.hlsl
index ede6118..7297f63 100644
--- a/test/tint/expressions/index/let/literal/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/literal/vector.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   return v[1];
 }
diff --git a/test/tint/expressions/index/let/literal/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/literal/vector.wgsl.expected.fxc.hlsl
index ede6118..7297f63 100644
--- a/test/tint/expressions/index/let/literal/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/literal/vector.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   return v[1];
 }
diff --git a/test/tint/expressions/index/let/param/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/param/array.wgsl.expected.dxc.hlsl
index 28830b2..f0e32a0 100644
--- a/test/tint/expressions/index/let/param/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/param/array.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 int f(int i) {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/param/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/param/array.wgsl.expected.fxc.hlsl
index 28830b2..f0e32a0 100644
--- a/test/tint/expressions/index/let/param/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/param/array.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 int f(int i) {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/param/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/param/matrix.wgsl.expected.dxc.hlsl
index 3714c1c..724ad88 100644
--- a/test/tint/expressions/index/let/param/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/param/matrix.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float3 f(int i) {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/param/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/param/matrix.wgsl.expected.fxc.hlsl
index 3714c1c..724ad88 100644
--- a/test/tint/expressions/index/let/param/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/param/matrix.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float3 f(int i) {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/param/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/param/vector.wgsl.expected.dxc.hlsl
index 16cccbf..d046c84 100644
--- a/test/tint/expressions/index/let/param/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/param/vector.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float f(int i) {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/param/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/param/vector.wgsl.expected.fxc.hlsl
index 16cccbf..d046c84 100644
--- a/test/tint/expressions/index/let/param/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/param/vector.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 }
 
 float f(int i) {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/struct.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/struct.wgsl.expected.dxc.hlsl
index a3565e6..17aaf4b 100644
--- a/test/tint/expressions/index/let/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/struct.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n;
 }
diff --git a/test/tint/expressions/index/let/struct.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/struct.wgsl.expected.fxc.hlsl
index a3565e6..17aaf4b 100644
--- a/test/tint/expressions/index/let/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/struct.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n;
 }
diff --git a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.dxc.hlsl
index cc19f64..f13545c 100644
--- a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2];
 }
diff --git a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.fxc.hlsl
index cc19f64..f13545c 100644
--- a/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_array.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2];
 }
diff --git a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.dxc.hlsl
index e772346..a5b59af 100644
--- a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.dxc.hlsl
@@ -12,6 +12,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2].k[1];
 }
diff --git a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.fxc.hlsl
index e772346..a5b59af 100644
--- a/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_multiple.wgsl.expected.fxc.hlsl
@@ -12,6 +12,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2].k[1];
 }
diff --git a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.dxc.hlsl
index aec3d39..780a691 100644
--- a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.dxc.hlsl
@@ -13,6 +13,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n.p;
 }
diff --git a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.fxc.hlsl
index aec3d39..780a691 100644
--- a/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/struct_nested_struct.wgsl.expected.fxc.hlsl
@@ -13,6 +13,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n.p;
 }
diff --git a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.dxc.hlsl
index 86d74ba..003bbc6 100644
--- a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2];
 }
diff --git a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.fxc.hlsl
index 86d74ba..003bbc6 100644
--- a/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/struct_with_vector.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 };
 
 uint f() {
-  const S a = (S)0;
+  S a = (S)0;
   return a.n[2];
 }
diff --git a/test/tint/expressions/index/let/var/literal/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/var/literal/array.wgsl.expected.dxc.hlsl
index 4c04477..05fa120 100644
--- a/test/tint/expressions/index/let/var/literal/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/array.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/var/literal/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/var/literal/array.wgsl.expected.fxc.hlsl
index 4c04477..05fa120 100644
--- a/test/tint/expressions/index/let/var/literal/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/array.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 int f() {
-  const int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
+  int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
   int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.dxc.hlsl
index 8428d9f..57214c7 100644
--- a/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.fxc.hlsl
index 8428d9f..57214c7 100644
--- a/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/matrix.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float3 f() {
-  const float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
+  float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
   int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.dxc.hlsl
index 19313aa..0f4070c 100644
--- a/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.fxc.hlsl
index 19313aa..0f4070c 100644
--- a/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/let/var/literal/vector.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 }
 
 float f() {
-  const float3 v = float3(1.0f, 2.0f, 3.0f);
+  float3 v = float3(1.0f, 2.0f, 3.0f);
   int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/literal/array.wgsl.expected.dxc.hlsl
index 4c1df88..05fa120 100644
--- a/test/tint/expressions/index/var/let/literal/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/array.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 int f() {
   int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = 1;
+  int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/literal/array.wgsl.expected.fxc.hlsl
index 4c1df88..05fa120 100644
--- a/test/tint/expressions/index/var/let/literal/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/array.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 int f() {
   int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = 1;
+  int i = 1;
   return a[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.dxc.hlsl
index fac0dab..57214c7 100644
--- a/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 float3 f() {
   float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = 1;
+  int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.fxc.hlsl
index fac0dab..57214c7 100644
--- a/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/matrix.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 float3 f() {
   float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = 1;
+  int i = 1;
   return m[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.dxc.hlsl
index 90a7801..0f4070c 100644
--- a/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 float f() {
   float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = 1;
+  int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.fxc.hlsl
index 90a7801..0f4070c 100644
--- a/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/literal/vector.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 float f() {
   float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = 1;
+  int i = 1;
   return v[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/array.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/param/array.wgsl.expected.dxc.hlsl
index fc6628b..5c4041c 100644
--- a/test/tint/expressions/index/var/let/param/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/array.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 int f(int x) {
   int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = x;
+  int i = x;
   return a[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/array.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/param/array.wgsl.expected.fxc.hlsl
index fc6628b..5c4041c 100644
--- a/test/tint/expressions/index/var/let/param/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/array.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 int f(int x) {
   int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
-  const int i = x;
+  int i = x;
   return a[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.dxc.hlsl
index bd00d9f..6296b13 100644
--- a/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 float3 f(int x) {
   float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = x;
+  int i = x;
   return m[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.fxc.hlsl
index bd00d9f..6296b13 100644
--- a/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/matrix.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 float3 f(int x) {
   float3x3 m = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
-  const int i = x;
+  int i = x;
   return m[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/vector.wgsl.expected.dxc.hlsl b/test/tint/expressions/index/var/let/param/vector.wgsl.expected.dxc.hlsl
index d003aa1..a0099e2 100644
--- a/test/tint/expressions/index/var/let/param/vector.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/vector.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 
 float f(int x) {
   float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = x;
+  int i = x;
   return v[i];
 }
diff --git a/test/tint/expressions/index/var/let/param/vector.wgsl.expected.fxc.hlsl b/test/tint/expressions/index/var/let/param/vector.wgsl.expected.fxc.hlsl
index d003aa1..a0099e2 100644
--- a/test/tint/expressions/index/var/let/param/vector.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/index/var/let/param/vector.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 
 float f(int x) {
   float3 v = float3(1.0f, 2.0f, 3.0f);
-  const int i = x;
+  int i = x;
   return v[i];
 }
diff --git a/test/tint/expressions/splat/call/bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/splat/call/bool.wgsl.expected.dxc.hlsl
index 5a0bf4e..f538f54 100644
--- a/test/tint/expressions/splat/call/bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/splat/call/bool.wgsl.expected.dxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const bool tint_symbol = get_bool();
+  bool tint_symbol = get_bool();
   bool2 v2 = bool2((tint_symbol).xx);
-  const bool tint_symbol_1 = get_bool();
+  bool tint_symbol_1 = get_bool();
   bool3 v3 = bool3((tint_symbol_1).xxx);
-  const bool tint_symbol_2 = get_bool();
+  bool tint_symbol_2 = get_bool();
   bool4 v4 = bool4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/splat/call/bool.wgsl.expected.fxc.hlsl
index 5a0bf4e..f538f54 100644
--- a/test/tint/expressions/splat/call/bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/splat/call/bool.wgsl.expected.fxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const bool tint_symbol = get_bool();
+  bool tint_symbol = get_bool();
   bool2 v2 = bool2((tint_symbol).xx);
-  const bool tint_symbol_1 = get_bool();
+  bool tint_symbol_1 = get_bool();
   bool3 v3 = bool3((tint_symbol_1).xxx);
-  const bool tint_symbol_2 = get_bool();
+  bool tint_symbol_2 = get_bool();
   bool4 v4 = bool4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/splat/call/f16.wgsl.expected.dxc.hlsl
index f8fcd25..cf221df 100644
--- a/test/tint/expressions/splat/call/f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/splat/call/f16.wgsl.expected.dxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const float16_t tint_symbol = get_f16();
+  float16_t tint_symbol = get_f16();
   vector<float16_t, 2> v2 = vector<float16_t, 2>((tint_symbol).xx);
-  const float16_t tint_symbol_1 = get_f16();
+  float16_t tint_symbol_1 = get_f16();
   vector<float16_t, 3> v3 = vector<float16_t, 3>((tint_symbol_1).xxx);
-  const float16_t tint_symbol_2 = get_f16();
+  float16_t tint_symbol_2 = get_f16();
   vector<float16_t, 4> v4 = vector<float16_t, 4>((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/splat/call/f32.wgsl.expected.dxc.hlsl
index 541bccf..f30474f 100644
--- a/test/tint/expressions/splat/call/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/splat/call/f32.wgsl.expected.dxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const float tint_symbol = get_f32();
+  float tint_symbol = get_f32();
   float2 v2 = float2((tint_symbol).xx);
-  const float tint_symbol_1 = get_f32();
+  float tint_symbol_1 = get_f32();
   float3 v3 = float3((tint_symbol_1).xxx);
-  const float tint_symbol_2 = get_f32();
+  float tint_symbol_2 = get_f32();
   float4 v4 = float4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/splat/call/f32.wgsl.expected.fxc.hlsl
index 541bccf..f30474f 100644
--- a/test/tint/expressions/splat/call/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/splat/call/f32.wgsl.expected.fxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const float tint_symbol = get_f32();
+  float tint_symbol = get_f32();
   float2 v2 = float2((tint_symbol).xx);
-  const float tint_symbol_1 = get_f32();
+  float tint_symbol_1 = get_f32();
   float3 v3 = float3((tint_symbol_1).xxx);
-  const float tint_symbol_2 = get_f32();
+  float tint_symbol_2 = get_f32();
   float4 v4 = float4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/splat/call/i32.wgsl.expected.dxc.hlsl
index b4334fe..3ae7ee0 100644
--- a/test/tint/expressions/splat/call/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/splat/call/i32.wgsl.expected.dxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const int tint_symbol = get_i32();
+  int tint_symbol = get_i32();
   int2 v2 = int2((tint_symbol).xx);
-  const int tint_symbol_1 = get_i32();
+  int tint_symbol_1 = get_i32();
   int3 v3 = int3((tint_symbol_1).xxx);
-  const int tint_symbol_2 = get_i32();
+  int tint_symbol_2 = get_i32();
   int4 v4 = int4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/splat/call/i32.wgsl.expected.fxc.hlsl
index b4334fe..3ae7ee0 100644
--- a/test/tint/expressions/splat/call/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/splat/call/i32.wgsl.expected.fxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const int tint_symbol = get_i32();
+  int tint_symbol = get_i32();
   int2 v2 = int2((tint_symbol).xx);
-  const int tint_symbol_1 = get_i32();
+  int tint_symbol_1 = get_i32();
   int3 v3 = int3((tint_symbol_1).xxx);
-  const int tint_symbol_2 = get_i32();
+  int tint_symbol_2 = get_i32();
   int4 v4 = int4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/splat/call/u32.wgsl.expected.dxc.hlsl
index 0e7dc61..6de2c8e 100644
--- a/test/tint/expressions/splat/call/u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/splat/call/u32.wgsl.expected.dxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const uint tint_symbol = get_u32();
+  uint tint_symbol = get_u32();
   uint2 v2 = uint2((tint_symbol).xx);
-  const uint tint_symbol_1 = get_u32();
+  uint tint_symbol_1 = get_u32();
   uint3 v3 = uint3((tint_symbol_1).xxx);
-  const uint tint_symbol_2 = get_u32();
+  uint tint_symbol_2 = get_u32();
   uint4 v4 = uint4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/splat/call/u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/splat/call/u32.wgsl.expected.fxc.hlsl
index 0e7dc61..6de2c8e 100644
--- a/test/tint/expressions/splat/call/u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/splat/call/u32.wgsl.expected.fxc.hlsl
@@ -8,10 +8,10 @@
 }
 
 void f() {
-  const uint tint_symbol = get_u32();
+  uint tint_symbol = get_u32();
   uint2 v2 = uint2((tint_symbol).xx);
-  const uint tint_symbol_1 = get_u32();
+  uint tint_symbol_1 = get_u32();
   uint3 v3 = uint3((tint_symbol_1).xxx);
-  const uint tint_symbol_2 = get_u32();
+  uint tint_symbol_2 = get_u32();
   uint4 v4 = uint4((tint_symbol_2).xxxx);
 }
diff --git a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.dxc.hlsl b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.dxc.hlsl
index a18d42a..7b9e794 100644
--- a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.dxc.hlsl
@@ -9,8 +9,8 @@
 
 void a() {
   int4 a_1 = (0).xxxx;
-  const int b = a_1.x;
-  const int4 c = a_1.zzyy;
+  int b = a_1.x;
+  int4 c = a_1.zzyy;
   S d = (S)0;
-  const float3 e = d.val[2].yzx;
+  float3 e = d.val[2].yzx;
 }
diff --git a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.fxc.hlsl b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.fxc.hlsl
index a18d42a..7b9e794 100644
--- a/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/swizzle/read/swizzle.wgsl.expected.fxc.hlsl
@@ -9,8 +9,8 @@
 
 void a() {
   int4 a_1 = (0).xxxx;
-  const int b = a_1.x;
-  const int4 c = a_1.zzyy;
+  int b = a_1.x;
+  int4 c = a_1.zzyy;
   S d = (S)0;
-  const float3 e = d.val[2].yzx;
+  float3 e = d.val[2].yzx;
 }
diff --git a/test/tint/expressions/type_conv/mat2x2/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x2/function/f16-f32.wgsl.expected.dxc.hlsl
index c0aba27..27df455 100644
--- a/test/tint/expressions/type_conv/mat2x2/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x2/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 2, 2> tint_symbol = m();
+  matrix<float16_t, 2, 2> tint_symbol = m();
   float2x2 v = float2x2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat2x2/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x2/function/f32-f16.wgsl.expected.dxc.hlsl
index 2e3822f..88a7e8d 100644
--- a/test/tint/expressions/type_conv/mat2x2/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x2/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2x2 tint_symbol = m();
+  float2x2 tint_symbol = m();
   matrix<float16_t, 2, 2> v = matrix<float16_t, 2, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat2x3/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x3/function/f16-f32.wgsl.expected.dxc.hlsl
index 452d825..2dfb425 100644
--- a/test/tint/expressions/type_conv/mat2x3/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x3/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 2, 3> tint_symbol = m();
+  matrix<float16_t, 2, 3> tint_symbol = m();
   float2x3 v = float2x3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat2x3/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x3/function/f32-f16.wgsl.expected.dxc.hlsl
index 2bfbb8d..6566e3b 100644
--- a/test/tint/expressions/type_conv/mat2x3/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x3/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2x3 tint_symbol = m();
+  float2x3 tint_symbol = m();
   matrix<float16_t, 2, 3> v = matrix<float16_t, 2, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat2x4/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x4/function/f16-f32.wgsl.expected.dxc.hlsl
index 9daf5a1..89e7632 100644
--- a/test/tint/expressions/type_conv/mat2x4/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x4/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 2, 4> tint_symbol = m();
+  matrix<float16_t, 2, 4> tint_symbol = m();
   float2x4 v = float2x4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat2x4/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat2x4/function/f32-f16.wgsl.expected.dxc.hlsl
index e5d0dd3..b25ce0d 100644
--- a/test/tint/expressions/type_conv/mat2x4/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat2x4/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2x4 tint_symbol = m();
+  float2x4 tint_symbol = m();
   matrix<float16_t, 2, 4> v = matrix<float16_t, 2, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x2/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x2/function/f16-f32.wgsl.expected.dxc.hlsl
index b97ba48..1a6e8c1 100644
--- a/test/tint/expressions/type_conv/mat3x2/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x2/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 3, 2> tint_symbol = m();
+  matrix<float16_t, 3, 2> tint_symbol = m();
   float3x2 v = float3x2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x2/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x2/function/f32-f16.wgsl.expected.dxc.hlsl
index 01364f2..c0f6852 100644
--- a/test/tint/expressions/type_conv/mat3x2/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x2/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3x2 tint_symbol = m();
+  float3x2 tint_symbol = m();
   matrix<float16_t, 3, 2> v = matrix<float16_t, 3, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x3/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x3/function/f16-f32.wgsl.expected.dxc.hlsl
index 5b10048..f39df4c 100644
--- a/test/tint/expressions/type_conv/mat3x3/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x3/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 3, 3> tint_symbol = m();
+  matrix<float16_t, 3, 3> tint_symbol = m();
   float3x3 v = float3x3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x3/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x3/function/f32-f16.wgsl.expected.dxc.hlsl
index d76a0ab..b585864 100644
--- a/test/tint/expressions/type_conv/mat3x3/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x3/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3x3 tint_symbol = m();
+  float3x3 tint_symbol = m();
   matrix<float16_t, 3, 3> v = matrix<float16_t, 3, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x4/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x4/function/f16-f32.wgsl.expected.dxc.hlsl
index 16a948f..95303eb 100644
--- a/test/tint/expressions/type_conv/mat3x4/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x4/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 3, 4> tint_symbol = m();
+  matrix<float16_t, 3, 4> tint_symbol = m();
   float3x4 v = float3x4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat3x4/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat3x4/function/f32-f16.wgsl.expected.dxc.hlsl
index 88b8183..95d7d53 100644
--- a/test/tint/expressions/type_conv/mat3x4/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat3x4/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3x4 tint_symbol = m();
+  float3x4 tint_symbol = m();
   matrix<float16_t, 3, 4> v = matrix<float16_t, 3, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x2/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x2/function/f16-f32.wgsl.expected.dxc.hlsl
index 3e38c5d..6441cbf 100644
--- a/test/tint/expressions/type_conv/mat4x2/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x2/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 4, 2> tint_symbol = m();
+  matrix<float16_t, 4, 2> tint_symbol = m();
   float4x2 v = float4x2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x2/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x2/function/f32-f16.wgsl.expected.dxc.hlsl
index 445f729..a3df918 100644
--- a/test/tint/expressions/type_conv/mat4x2/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x2/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4x2 tint_symbol = m();
+  float4x2 tint_symbol = m();
   matrix<float16_t, 4, 2> v = matrix<float16_t, 4, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x3/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x3/function/f16-f32.wgsl.expected.dxc.hlsl
index 5017f37..592deb8 100644
--- a/test/tint/expressions/type_conv/mat4x3/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x3/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 4, 3> tint_symbol = m();
+  matrix<float16_t, 4, 3> tint_symbol = m();
   float4x3 v = float4x3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x3/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x3/function/f32-f16.wgsl.expected.dxc.hlsl
index d481deb..662af34 100644
--- a/test/tint/expressions/type_conv/mat4x3/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x3/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4x3 tint_symbol = m();
+  float4x3 tint_symbol = m();
   matrix<float16_t, 4, 3> v = matrix<float16_t, 4, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x4/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x4/function/f16-f32.wgsl.expected.dxc.hlsl
index af73a5a..8ca6750 100644
--- a/test/tint/expressions/type_conv/mat4x4/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x4/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const matrix<float16_t, 4, 4> tint_symbol = m();
+  matrix<float16_t, 4, 4> tint_symbol = m();
   float4x4 v = float4x4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/mat4x4/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/mat4x4/function/f32-f16.wgsl.expected.dxc.hlsl
index 2fc0d6a..37b5c17 100644
--- a/test/tint/expressions/type_conv/mat4x4/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/mat4x4/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4x4 tint_symbol = m();
+  float4x4 tint_symbol = m();
   matrix<float16_t, 4, 4> v = matrix<float16_t, 4, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-f16.wgsl.expected.dxc.hlsl
index 442fe62..1592b52 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   float16_t v = float16_t(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.dxc.hlsl
index e0eacd5..d70a262 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.fxc.hlsl
index e0eacd5..d70a262 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.dxc.hlsl
index 50298c7..56da2f1 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   int v = int(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.fxc.hlsl
index 50298c7..56da2f1 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   int v = int(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.dxc.hlsl
index 0379cac..7e14c97 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   uint v = uint(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.fxc.hlsl
index 0379cac..7e14c97 100644
--- a/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/bool-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool tint_symbol = m();
+  bool tint_symbol = m();
   uint v = uint(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f16-bool.wgsl.expected.dxc.hlsl
index 318920f..48dd725 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float16_t tint_symbol = m();
+  float16_t tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f16-f32.wgsl.expected.dxc.hlsl
index d3c9687..e7870d5 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float16_t tint_symbol = m();
+  float16_t tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.dxc.hlsl
index c4a82c7..d87f361 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float16_t tint_symbol = m();
+  float16_t tint_symbol = m();
   int v = int(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.dxc.hlsl
index 79afb41..7297afb 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float16_t tint_symbol = m();
+  float16_t tint_symbol = m();
   uint v = uint(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.dxc.hlsl
index a714e0d..8e7477c 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.fxc.hlsl
index a714e0d..8e7477c 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-f16.wgsl.expected.dxc.hlsl
index 0b6428d..5ccc14e 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   float16_t v = float16_t(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.dxc.hlsl
index ca9dcb5..744033f 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   int v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.fxc.hlsl
index ca9dcb5..744033f 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   int v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.dxc.hlsl
index aafd2a3..41551c8 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   uint v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.fxc.hlsl
index aafd2a3..41551c8 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float tint_symbol = m();
+  float tint_symbol = m();
   uint v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.dxc.hlsl
index 425981a..15ec90d 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.fxc.hlsl
index 425981a..15ec90d 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-f16.wgsl.expected.dxc.hlsl
index 12e6786..740e86a 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   float16_t v = float16_t(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.dxc.hlsl
index bc98680..49f5c90 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.fxc.hlsl
index bc98680..49f5c90 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.dxc.hlsl
index ed9dc2c..bbf19bd 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   uint v = uint(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.fxc.hlsl
index ed9dc2c..bbf19bd 100644
--- a/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/i32-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int tint_symbol = m();
+  int tint_symbol = m();
   uint v = uint(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.dxc.hlsl
index cc307df..e23833b 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.fxc.hlsl
index cc307df..e23833b 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   bool v = bool(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-f16.wgsl.expected.dxc.hlsl
index 629132e..a6d01b8 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   float16_t v = float16_t(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.dxc.hlsl
index b826ab8..4fe988a 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.fxc.hlsl
index b826ab8..4fe988a 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   float v = float(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.dxc.hlsl
index 83b68d8..e64efc6 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   int v = int(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.fxc.hlsl
index 83b68d8..e64efc6 100644
--- a/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/function/u32-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint tint_symbol = m();
+  uint tint_symbol = m();
   int v = int(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-f16.wgsl.expected.dxc.hlsl
index 2577913..42f82a6 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const float16_t v = float16_t(u);
+  float16_t v = float16_t(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.dxc.hlsl
index 623c925..6af4605 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.fxc.hlsl
index 623c925..6af4605 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.dxc.hlsl
index 9b8110f..3a2bdf5 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const int v = int(u);
+  int v = int(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.fxc.hlsl
index 9b8110f..3a2bdf5 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const int v = int(u);
+  int v = int(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.dxc.hlsl
index 8c38227..50e9a99 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const uint v = uint(u);
+  uint v = uint(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.fxc.hlsl
index 8c38227..50e9a99 100644
--- a/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/bool-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool u = true;
 
 void f() {
-  const uint v = uint(u);
+  uint v = uint(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f16-bool.wgsl.expected.dxc.hlsl
index 5bd2ae2..94fbc45 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float16_t u = float16_t(1.0h);
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f16-f32.wgsl.expected.dxc.hlsl
index e33b771..dccad27 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float16_t u = float16_t(1.0h);
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.dxc.hlsl
index 532f097..f1f4ea3 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float16_t u = float16_t(1.0h);
 
 void f() {
-  const int v = int(u);
+  int v = int(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.dxc.hlsl
index dc49b5e..1df2af0 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float16_t u = float16_t(1.0h);
 
 void f() {
-  const uint v = uint(u);
+  uint v = uint(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.dxc.hlsl
index abfcd39..d58497b 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float u = 1.0f;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.fxc.hlsl
index abfcd39..d58497b 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static float u = 1.0f;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-f16.wgsl.expected.dxc.hlsl
index 15672f2..8071bf7 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float u = 1.0f;
 
 void f() {
-  const float16_t v = float16_t(u);
+  float16_t v = float16_t(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.dxc.hlsl
index 46bcf97..8b6ed20 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float u = 1.0f;
 
 void f() {
-  const int v = tint_ftoi(u);
+  int v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.fxc.hlsl
index 46bcf97..8b6ed20 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float u = 1.0f;
 
 void f() {
-  const int v = tint_ftoi(u);
+  int v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.dxc.hlsl
index 1ae604a..ecb4c1e 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float u = 1.0f;
 
 void f() {
-  const uint v = tint_ftou(u);
+  uint v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.fxc.hlsl
index 1ae604a..ecb4c1e 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float u = 1.0f;
 
 void f() {
-  const uint v = tint_ftou(u);
+  uint v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.dxc.hlsl
index 88fdc2b..47880bc 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.fxc.hlsl
index 88fdc2b..47880bc 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-f16.wgsl.expected.dxc.hlsl
index 377f00e..9fd8aae 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const float16_t v = float16_t(u);
+  float16_t v = float16_t(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.dxc.hlsl
index 6a351bd..ad0c1b8 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.fxc.hlsl
index 6a351bd..ad0c1b8 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.dxc.hlsl
index e0324f5..84239ab 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const uint v = uint(u);
+  uint v = uint(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.fxc.hlsl
index e0324f5..84239ab 100644
--- a/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/i32-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int u = 1;
 
 void f() {
-  const uint v = uint(u);
+  uint v = uint(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.dxc.hlsl
index d6bbf8a..25a4bf1 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.fxc.hlsl
index d6bbf8a..25a4bf1 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const bool v = bool(u);
+  bool v = bool(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-f16.wgsl.expected.dxc.hlsl
index 43c52a6..ae479e2 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const float16_t v = float16_t(u);
+  float16_t v = float16_t(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.dxc.hlsl
index 62b6ad1..ff2cf02 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.fxc.hlsl
index 62b6ad1..ff2cf02 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const float v = float(u);
+  float v = float(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.dxc.hlsl
index 4ab40a2..23f164c 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const int v = int(u);
+  int v = int(u);
 }
diff --git a/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.fxc.hlsl
index 4ab40a2..23f164c 100644
--- a/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/scalar/var/u32-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint u = 1u;
 
 void f() {
-  const int v = int(u);
+  int v = int(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-f16.wgsl.expected.dxc.hlsl
index 5b9f27d..23c7b7a 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   vector<float16_t, 2> v = vector<float16_t, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.dxc.hlsl
index 87dc4f2..bef55ba 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.fxc.hlsl
index 87dc4f2..bef55ba 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.dxc.hlsl
index e8660a2..e97434d 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   int2 v = int2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.fxc.hlsl
index e8660a2..e97434d 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   int2 v = int2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.dxc.hlsl
index b46086a..be02acb 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   uint2 v = uint2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.fxc.hlsl
index b46086a..be02acb 100644
--- a/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/bool-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool2 tint_symbol = m();
+  bool2 tint_symbol = m();
   uint2 v = uint2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f16-bool.wgsl.expected.dxc.hlsl
index daebce9..dc19b03 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 2> tint_symbol = m();
+  vector<float16_t, 2> tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f16-f32.wgsl.expected.dxc.hlsl
index 336ff1b..d2c8d94 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 2> tint_symbol = m();
+  vector<float16_t, 2> tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.dxc.hlsl
index 81e425f..6c934a8 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 2> tint_symbol = m();
+  vector<float16_t, 2> tint_symbol = m();
   int2 v = int2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.dxc.hlsl
index 4f5cc65..de22960 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 2> tint_symbol = m();
+  vector<float16_t, 2> tint_symbol = m();
   uint2 v = uint2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.dxc.hlsl
index 908c985..3998b8a 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.fxc.hlsl
index 908c985..3998b8a 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-f16.wgsl.expected.dxc.hlsl
index 9b12cfe..22f5a55 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   vector<float16_t, 2> v = vector<float16_t, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.dxc.hlsl
index 48c5438..c67e356 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   int2 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.fxc.hlsl
index 48c5438..c67e356 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   int2 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.dxc.hlsl
index 06586a2..649208a 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   uint2 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.fxc.hlsl
index 06586a2..649208a 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float2 tint_symbol = m();
+  float2 tint_symbol = m();
   uint2 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.dxc.hlsl
index a223158..cd3a7f1 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.fxc.hlsl
index a223158..cd3a7f1 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-f16.wgsl.expected.dxc.hlsl
index 409790e..13d60e6 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   vector<float16_t, 2> v = vector<float16_t, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.dxc.hlsl
index 326e902..24b0032 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.fxc.hlsl
index 326e902..24b0032 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.dxc.hlsl
index 665eda0..507ce8a 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   uint2 v = uint2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.fxc.hlsl
index 665eda0..507ce8a 100644
--- a/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/i32-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int2 tint_symbol = m();
+  int2 tint_symbol = m();
   uint2 v = uint2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.dxc.hlsl
index f0b2eed..aca47c8 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.fxc.hlsl
index f0b2eed..aca47c8 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   bool2 v = bool2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-f16.wgsl.expected.dxc.hlsl
index 8fab1d6..e7be83e 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   vector<float16_t, 2> v = vector<float16_t, 2>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.dxc.hlsl
index d960aa7..941a87f 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.fxc.hlsl
index d960aa7..941a87f 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   float2 v = float2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.dxc.hlsl
index 01c30f9..d082ef7 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   int2 v = int2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.fxc.hlsl
index 01c30f9..d082ef7 100644
--- a/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/function/u32-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint2 tint_symbol = m();
+  uint2 tint_symbol = m();
   int2 v = int2(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-f16.wgsl.expected.dxc.hlsl
index 061b88d..5c4eee7 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const vector<float16_t, 2> v = vector<float16_t, 2>(u);
+  vector<float16_t, 2> v = vector<float16_t, 2>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.dxc.hlsl
index 55d1671..e514920 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.fxc.hlsl
index 55d1671..e514920 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.dxc.hlsl
index a898074..8700874 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const int2 v = int2(u);
+  int2 v = int2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.fxc.hlsl
index a898074..8700874 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const int2 v = int2(u);
+  int2 v = int2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.dxc.hlsl
index 4b493ec..ac28336 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const uint2 v = uint2(u);
+  uint2 v = uint2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.fxc.hlsl
index 4b493ec..ac28336 100644
--- a/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/bool-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool2 u = (true).xx;
 
 void f() {
-  const uint2 v = uint2(u);
+  uint2 v = uint2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f16-bool.wgsl.expected.dxc.hlsl
index 6964814..a67fa98 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 2> u = (float16_t(1.0h)).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f16-f32.wgsl.expected.dxc.hlsl
index f47d890..0f0da2d 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 2> u = (float16_t(1.0h)).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.dxc.hlsl
index 25c1f9f..38d4ad7 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 2> u = (float16_t(1.0h)).xx;
 
 void f() {
-  const int2 v = int2(u);
+  int2 v = int2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.dxc.hlsl
index b9edad4..567d6be 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 2> u = (float16_t(1.0h)).xx;
 
 void f() {
-  const uint2 v = uint2(u);
+  uint2 v = uint2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.dxc.hlsl
index 2a2c523..dac2c6d 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.fxc.hlsl
index 2a2c523..dac2c6d 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-f16.wgsl.expected.dxc.hlsl
index 3d86416..ed2694b 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const vector<float16_t, 2> v = vector<float16_t, 2>(u);
+  vector<float16_t, 2> v = vector<float16_t, 2>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.dxc.hlsl
index 73428fc..e8a1678 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const int2 v = tint_ftoi(u);
+  int2 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.fxc.hlsl
index 73428fc..e8a1678 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const int2 v = tint_ftoi(u);
+  int2 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.dxc.hlsl
index e5b3129..c0b7a43 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const uint2 v = tint_ftou(u);
+  uint2 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.fxc.hlsl
index e5b3129..c0b7a43 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float2 u = (1.0f).xx;
 
 void f() {
-  const uint2 v = tint_ftou(u);
+  uint2 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.dxc.hlsl
index 92a1740..062c7cd 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.fxc.hlsl
index 92a1740..062c7cd 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-f16.wgsl.expected.dxc.hlsl
index 6a6df53..25c34de 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const vector<float16_t, 2> v = vector<float16_t, 2>(u);
+  vector<float16_t, 2> v = vector<float16_t, 2>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.dxc.hlsl
index cf1d0c8..c1f4d9e 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.fxc.hlsl
index cf1d0c8..c1f4d9e 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.dxc.hlsl
index 0fe326f..596f3eb 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const uint2 v = uint2(u);
+  uint2 v = uint2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.fxc.hlsl
index 0fe326f..596f3eb 100644
--- a/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/i32-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int2 u = (1).xx;
 
 void f() {
-  const uint2 v = uint2(u);
+  uint2 v = uint2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.dxc.hlsl
index e49dd4c..89cb53a 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.fxc.hlsl
index e49dd4c..89cb53a 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const bool2 v = bool2(u);
+  bool2 v = bool2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-f16.wgsl.expected.dxc.hlsl
index 33d845f..bca1057 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const vector<float16_t, 2> v = vector<float16_t, 2>(u);
+  vector<float16_t, 2> v = vector<float16_t, 2>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.dxc.hlsl
index 1a884f0..bdd19e5 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.fxc.hlsl
index 1a884f0..bdd19e5 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const float2 v = float2(u);
+  float2 v = float2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.dxc.hlsl
index 8a636da..41188fd 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const int2 v = int2(u);
+  int2 v = int2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.fxc.hlsl
index 8a636da..41188fd 100644
--- a/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec2/var/u32-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint2 u = (1u).xx;
 
 void f() {
-  const int2 v = int2(u);
+  int2 v = int2(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-f16.wgsl.expected.dxc.hlsl
index 03fbd21..edb5e56 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   vector<float16_t, 3> v = vector<float16_t, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.dxc.hlsl
index 70e33b5..e9f31f6 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.fxc.hlsl
index 70e33b5..e9f31f6 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.dxc.hlsl
index dd5d37c..5f694db 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   int3 v = int3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.fxc.hlsl
index dd5d37c..5f694db 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   int3 v = int3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.dxc.hlsl
index 3664c15..e2498c3 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   uint3 v = uint3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.fxc.hlsl
index 3664c15..e2498c3 100644
--- a/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/bool-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool3 tint_symbol = m();
+  bool3 tint_symbol = m();
   uint3 v = uint3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f16-bool.wgsl.expected.dxc.hlsl
index 6326660..e2b1abb 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 3> tint_symbol = m();
+  vector<float16_t, 3> tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f16-f32.wgsl.expected.dxc.hlsl
index f10ff1c..7bc44d0 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 3> tint_symbol = m();
+  vector<float16_t, 3> tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.dxc.hlsl
index 864409a..d530510 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 3> tint_symbol = m();
+  vector<float16_t, 3> tint_symbol = m();
   int3 v = int3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.dxc.hlsl
index 0910aca..05264eb 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 3> tint_symbol = m();
+  vector<float16_t, 3> tint_symbol = m();
   uint3 v = uint3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.dxc.hlsl
index dd7e1ad..00fee21 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.fxc.hlsl
index dd7e1ad..00fee21 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-f16.wgsl.expected.dxc.hlsl
index 157c23f..1195bec 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   vector<float16_t, 3> v = vector<float16_t, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.dxc.hlsl
index dc236d8..a2a7ea3 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   int3 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.fxc.hlsl
index dc236d8..a2a7ea3 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   int3 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.dxc.hlsl
index aef28a2..f8bb14a 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   uint3 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.fxc.hlsl
index aef28a2..f8bb14a 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float3 tint_symbol = m();
+  float3 tint_symbol = m();
   uint3 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.dxc.hlsl
index 8c965fe..4958723 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.fxc.hlsl
index 8c965fe..4958723 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-f16.wgsl.expected.dxc.hlsl
index 7683862..dd9a245 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   vector<float16_t, 3> v = vector<float16_t, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.dxc.hlsl
index e8980a0..4c50d43 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.fxc.hlsl
index e8980a0..4c50d43 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.dxc.hlsl
index 3551bfe..99a5799 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   uint3 v = uint3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.fxc.hlsl
index 3551bfe..99a5799 100644
--- a/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/i32-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int3 tint_symbol = m();
+  int3 tint_symbol = m();
   uint3 v = uint3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.dxc.hlsl
index a4c4b76..44dddd3 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.fxc.hlsl
index a4c4b76..44dddd3 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   bool3 v = bool3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-f16.wgsl.expected.dxc.hlsl
index 47f99a1..d72fe75 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   vector<float16_t, 3> v = vector<float16_t, 3>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.dxc.hlsl
index 6533c7c..370561b 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.fxc.hlsl
index 6533c7c..370561b 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   float3 v = float3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.dxc.hlsl
index eeec09b..8dbc1a8 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   int3 v = int3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.fxc.hlsl
index eeec09b..8dbc1a8 100644
--- a/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/function/u32-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint3 tint_symbol = m();
+  uint3 tint_symbol = m();
   int3 v = int3(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-f16.wgsl.expected.dxc.hlsl
index 89b9351..e76781c 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const vector<float16_t, 3> v = vector<float16_t, 3>(u);
+  vector<float16_t, 3> v = vector<float16_t, 3>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.dxc.hlsl
index c1b3d71..aa602bf 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.fxc.hlsl
index c1b3d71..aa602bf 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.dxc.hlsl
index c9e5189..25b4216 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const int3 v = int3(u);
+  int3 v = int3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.fxc.hlsl
index c9e5189..25b4216 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const int3 v = int3(u);
+  int3 v = int3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.dxc.hlsl
index 70c7435..b6c0b99 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const uint3 v = uint3(u);
+  uint3 v = uint3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.fxc.hlsl
index 70c7435..b6c0b99 100644
--- a/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/bool-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool3 u = (true).xxx;
 
 void f() {
-  const uint3 v = uint3(u);
+  uint3 v = uint3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f16-bool.wgsl.expected.dxc.hlsl
index 6b405ed..d6e3a2f 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 3> u = (float16_t(1.0h)).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f16-f32.wgsl.expected.dxc.hlsl
index ef6a7f0..34e65d3 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 3> u = (float16_t(1.0h)).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.dxc.hlsl
index 47cc85a..3b40d60 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 3> u = (float16_t(1.0h)).xxx;
 
 void f() {
-  const int3 v = int3(u);
+  int3 v = int3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.dxc.hlsl
index c87c012..44d874f 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 3> u = (float16_t(1.0h)).xxx;
 
 void f() {
-  const uint3 v = uint3(u);
+  uint3 v = uint3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.dxc.hlsl
index 38c8aa0..3aaacb2 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.fxc.hlsl
index 38c8aa0..3aaacb2 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-f16.wgsl.expected.dxc.hlsl
index f07fbf3..da2969b 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const vector<float16_t, 3> v = vector<float16_t, 3>(u);
+  vector<float16_t, 3> v = vector<float16_t, 3>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.dxc.hlsl
index bb8d289..e7ebba4 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const int3 v = tint_ftoi(u);
+  int3 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.fxc.hlsl
index bb8d289..e7ebba4 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const int3 v = tint_ftoi(u);
+  int3 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.dxc.hlsl
index 3cd24a6..555ac46 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const uint3 v = tint_ftou(u);
+  uint3 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.fxc.hlsl
index 3cd24a6..555ac46 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float3 u = (1.0f).xxx;
 
 void f() {
-  const uint3 v = tint_ftou(u);
+  uint3 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.dxc.hlsl
index 1b21a01..addde92 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.fxc.hlsl
index 1b21a01..addde92 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-f16.wgsl.expected.dxc.hlsl
index 98f0948..6f0bc54 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const vector<float16_t, 3> v = vector<float16_t, 3>(u);
+  vector<float16_t, 3> v = vector<float16_t, 3>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.dxc.hlsl
index 23b254f..d0ca457 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.fxc.hlsl
index 23b254f..d0ca457 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.dxc.hlsl
index ab79be0..b7fa399 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const uint3 v = uint3(u);
+  uint3 v = uint3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.fxc.hlsl
index ab79be0..b7fa399 100644
--- a/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/i32-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int3 u = (1).xxx;
 
 void f() {
-  const uint3 v = uint3(u);
+  uint3 v = uint3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.dxc.hlsl
index 105249c..b02ab2b 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.fxc.hlsl
index 105249c..b02ab2b 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const bool3 v = bool3(u);
+  bool3 v = bool3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-f16.wgsl.expected.dxc.hlsl
index 2e007d8..1af428c 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const vector<float16_t, 3> v = vector<float16_t, 3>(u);
+  vector<float16_t, 3> v = vector<float16_t, 3>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.dxc.hlsl
index a7bbe27..85ca160 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.fxc.hlsl
index a7bbe27..85ca160 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const float3 v = float3(u);
+  float3 v = float3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.dxc.hlsl
index e7b11ed..72e1abd 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const int3 v = int3(u);
+  int3 v = int3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.fxc.hlsl
index e7b11ed..72e1abd 100644
--- a/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec3/var/u32-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint3 u = (1u).xxx;
 
 void f() {
-  const int3 v = int3(u);
+  int3 v = int3(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-f16.wgsl.expected.dxc.hlsl
index 35b70ea..8f5a519 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   vector<float16_t, 4> v = vector<float16_t, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.dxc.hlsl
index 23c5ef6..3cfb681 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.fxc.hlsl
index 23c5ef6..3cfb681 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.dxc.hlsl
index f1b250c..16310d7 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   int4 v = int4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.fxc.hlsl
index f1b250c..16310d7 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   int4 v = int4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.dxc.hlsl
index b4fbab1..b3337f0 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   uint4 v = uint4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.fxc.hlsl
index b4fbab1..b3337f0 100644
--- a/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/bool-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const bool4 tint_symbol = m();
+  bool4 tint_symbol = m();
   uint4 v = uint4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f16-bool.wgsl.expected.dxc.hlsl
index c05b37f..266c709 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 4> tint_symbol = m();
+  vector<float16_t, 4> tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f16-f32.wgsl.expected.dxc.hlsl
index 53ff55e..a4c2703 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 4> tint_symbol = m();
+  vector<float16_t, 4> tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.dxc.hlsl
index b2842ce..2534b07 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 4> tint_symbol = m();
+  vector<float16_t, 4> tint_symbol = m();
   int4 v = int4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.dxc.hlsl
index e49b61d..12d8d26 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const vector<float16_t, 4> tint_symbol = m();
+  vector<float16_t, 4> tint_symbol = m();
   uint4 v = uint4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.dxc.hlsl
index 7a6344b..f704a76 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.fxc.hlsl
index 7a6344b..f704a76 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-f16.wgsl.expected.dxc.hlsl
index c66f887..e419e7d 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   vector<float16_t, 4> v = vector<float16_t, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.dxc.hlsl
index 60a89b8..c803fd8 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   int4 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.fxc.hlsl
index 60a89b8..c803fd8 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   int4 v = tint_ftoi(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.dxc.hlsl
index 4d6a26e..b70388a 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.dxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   uint4 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.fxc.hlsl
index 4d6a26e..b70388a 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.fxc.hlsl
@@ -15,6 +15,6 @@
 }
 
 void f() {
-  const float4 tint_symbol = m();
+  float4 tint_symbol = m();
   uint4 v = tint_ftou(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.dxc.hlsl
index 47de1b2..c4127d3 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.fxc.hlsl
index 47de1b2..c4127d3 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-f16.wgsl.expected.dxc.hlsl
index 8414922..7d999ae 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   vector<float16_t, 4> v = vector<float16_t, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.dxc.hlsl
index acca537..2ffe81c 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.fxc.hlsl
index acca537..2ffe81c 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.dxc.hlsl
index 540e655..5a24146 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   uint4 v = uint4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.fxc.hlsl
index 540e655..5a24146 100644
--- a/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/i32-u32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const int4 tint_symbol = m();
+  int4 tint_symbol = m();
   uint4 v = uint4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.dxc.hlsl
index 0200c33..dfbc40f 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.fxc.hlsl
index 0200c33..dfbc40f 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-bool.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   bool4 v = bool4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-f16.wgsl.expected.dxc.hlsl
index b06cf84..749be69 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-f16.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   vector<float16_t, 4> v = vector<float16_t, 4>(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.dxc.hlsl
index e7206fa..b8d6814 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.fxc.hlsl
index e7206fa..b8d6814 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-f32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   float4 v = float4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.dxc.hlsl
index de86c5e..1dfd183 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   int4 v = int4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.fxc.hlsl
index de86c5e..1dfd183 100644
--- a/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/function/u32-i32.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 }
 
 void f() {
-  const uint4 tint_symbol = m();
+  uint4 tint_symbol = m();
   int4 v = int4(tint_symbol);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-f16.wgsl.expected.dxc.hlsl
index 39be807..80a186c 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const vector<float16_t, 4> v = vector<float16_t, 4>(u);
+  vector<float16_t, 4> v = vector<float16_t, 4>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.dxc.hlsl
index a3bea34..369e629 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.fxc.hlsl
index a3bea34..369e629 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.dxc.hlsl
index bf0187f..f5a81ba 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const int4 v = int4(u);
+  int4 v = int4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.fxc.hlsl
index bf0187f..f5a81ba 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const int4 v = int4(u);
+  int4 v = int4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.dxc.hlsl
index f3191ce..e74b888 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const uint4 v = uint4(u);
+  uint4 v = uint4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.fxc.hlsl
index f3191ce..e74b888 100644
--- a/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/bool-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static bool4 u = (true).xxxx;
 
 void f() {
-  const uint4 v = uint4(u);
+  uint4 v = uint4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f16-bool.wgsl.expected.dxc.hlsl
index 2f5e25b..edc83dc 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 4> u = (float16_t(1.0h)).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f16-f32.wgsl.expected.dxc.hlsl
index 966a8bb..46abc00 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 4> u = (float16_t(1.0h)).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.dxc.hlsl
index 11254e7..d600eab 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 4> u = (float16_t(1.0h)).xxxx;
 
 void f() {
-  const int4 v = int4(u);
+  int4 v = int4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.dxc.hlsl
index cc76bfb..9fdd2b3 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static vector<float16_t, 4> u = (float16_t(1.0h)).xxxx;
 
 void f() {
-  const uint4 v = uint4(u);
+  uint4 v = uint4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.dxc.hlsl
index 55401a3..d331911 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.fxc.hlsl
index 55401a3..d331911 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-f16.wgsl.expected.dxc.hlsl
index 4373d4e..b83a297 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const vector<float16_t, 4> v = vector<float16_t, 4>(u);
+  vector<float16_t, 4> v = vector<float16_t, 4>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.dxc.hlsl
index 401b25f..95d1e53 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const int4 v = tint_ftoi(u);
+  int4 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.fxc.hlsl
index 401b25f..95d1e53 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const int4 v = tint_ftoi(u);
+  int4 v = tint_ftoi(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.dxc.hlsl
index 4fa5b72..9a75d5d 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.dxc.hlsl
@@ -10,5 +10,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const uint4 v = tint_ftou(u);
+  uint4 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.fxc.hlsl
index 4fa5b72..9a75d5d 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.fxc.hlsl
@@ -10,5 +10,5 @@
 static float4 u = (1.0f).xxxx;
 
 void f() {
-  const uint4 v = tint_ftou(u);
+  uint4 v = tint_ftou(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.dxc.hlsl
index 6755109..d0a9b9b 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.fxc.hlsl
index 6755109..d0a9b9b 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-f16.wgsl.expected.dxc.hlsl
index 2538b98..d989c4e 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const vector<float16_t, 4> v = vector<float16_t, 4>(u);
+  vector<float16_t, 4> v = vector<float16_t, 4>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.dxc.hlsl
index 3916fdd..1c367d4 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.fxc.hlsl
index 3916fdd..1c367d4 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.dxc.hlsl
index 098d20f..9e60df8 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const uint4 v = uint4(u);
+  uint4 v = uint4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.fxc.hlsl
index 098d20f..9e60df8 100644
--- a/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/i32-u32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static int4 u = (1).xxxx;
 
 void f() {
-  const uint4 v = uint4(u);
+  uint4 v = uint4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.dxc.hlsl
index 27e4939..236abd0 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.fxc.hlsl
index 27e4939..236abd0 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-bool.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const bool4 v = bool4(u);
+  bool4 v = bool4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-f16.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-f16.wgsl.expected.dxc.hlsl
index dcc56ac..975048f 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-f16.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const vector<float16_t, 4> v = vector<float16_t, 4>(u);
+  vector<float16_t, 4> v = vector<float16_t, 4>(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.dxc.hlsl
index f58fddb..fbb21db 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.fxc.hlsl
index f58fddb..fbb21db 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-f32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const float4 v = float4(u);
+  float4 v = float4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.dxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.dxc.hlsl
index ad29b7e..45ee1ad 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.dxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const int4 v = int4(u);
+  int4 v = int4(u);
 }
diff --git a/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.fxc.hlsl b/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.fxc.hlsl
index ad29b7e..45ee1ad 100644
--- a/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/type_conv/vec4/var/u32-i32.wgsl.expected.fxc.hlsl
@@ -6,5 +6,5 @@
 static uint4 u = (1u).xxxx;
 
 void f() {
-  const int4 v = int4(u);
+  int4 v = int4(u);
 }
diff --git a/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.dxc.hlsl b/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.dxc.hlsl
index 1379922..2c06ce1 100644
--- a/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.dxc.hlsl
@@ -12,6 +12,6 @@
 }
 
 void a() {
-  const int tint_symbol = c(2u);
+  int tint_symbol = c(2u);
   float a_1 = b(tint_symbol);
 }
diff --git a/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.fxc.hlsl b/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.fxc.hlsl
index 1379922..2c06ce1 100644
--- a/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/user_call/call_with_call_param.wgsl.expected.fxc.hlsl
@@ -12,6 +12,6 @@
 }
 
 void a() {
-  const int tint_symbol = c(2u);
+  int tint_symbol = c(2u);
   float a_1 = b(tint_symbol);
 }
diff --git a/test/tint/expressions/user_call/multi_param_return.wgsl.expected.dxc.hlsl b/test/tint/expressions/user_call/multi_param_return.wgsl.expected.dxc.hlsl
index 0fef91f..6dc8d3f 100644
--- a/test/tint/expressions/user_call/multi_param_return.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/user_call/multi_param_return.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c(2, 3, 4);
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c(3, 4, 5);
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c(3, 4, 5);
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/expressions/user_call/multi_param_return.wgsl.expected.fxc.hlsl b/test/tint/expressions/user_call/multi_param_return.wgsl.expected.fxc.hlsl
index 0fef91f..6dc8d3f 100644
--- a/test/tint/expressions/user_call/multi_param_return.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/user_call/multi_param_return.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c(2, 3, 4);
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c(3, 4, 5);
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c(3, 4, 5);
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/expressions/user_call/no_params_return.wgsl.expected.dxc.hlsl b/test/tint/expressions/user_call/no_params_return.wgsl.expected.dxc.hlsl
index 411c9f3..d70bce2 100644
--- a/test/tint/expressions/user_call/no_params_return.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/user_call/no_params_return.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c();
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c();
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c();
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/expressions/user_call/no_params_return.wgsl.expected.fxc.hlsl b/test/tint/expressions/user_call/no_params_return.wgsl.expected.fxc.hlsl
index 411c9f3..d70bce2 100644
--- a/test/tint/expressions/user_call/no_params_return.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/user_call/no_params_return.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c();
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c();
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c();
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/expressions/user_call/one_param_return.wgsl.expected.dxc.hlsl b/test/tint/expressions/user_call/one_param_return.wgsl.expected.dxc.hlsl
index d11dfc8..4646101 100644
--- a/test/tint/expressions/user_call/one_param_return.wgsl.expected.dxc.hlsl
+++ b/test/tint/expressions/user_call/one_param_return.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c(2);
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c(3);
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c(3);
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/expressions/user_call/one_param_return.wgsl.expected.fxc.hlsl b/test/tint/expressions/user_call/one_param_return.wgsl.expected.fxc.hlsl
index d11dfc8..4646101 100644
--- a/test/tint/expressions/user_call/one_param_return.wgsl.expected.fxc.hlsl
+++ b/test/tint/expressions/user_call/one_param_return.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 
 void b() {
   int b_1 = c(2);
-  const int tint_symbol = b_1;
-  const int tint_symbol_1 = c(3);
+  int tint_symbol = b_1;
+  int tint_symbol_1 = c(3);
   b_1 = (tint_symbol + tint_symbol_1);
 }
diff --git a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.dxc.hlsl b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.dxc.hlsl
index 027baf9..2789275 100644
--- a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.dxc.hlsl
@@ -23,8 +23,8 @@
 }
 
 tint_symbol_3 frag_main(tint_symbol_2 tint_symbol_1) {
-  const FragInput tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.b};
-  const FragOutput inner_result = frag_main_inner(tint_symbol_4);
+  FragInput tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.b};
+  FragOutput inner_result = frag_main_inner(tint_symbol_4);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.color = inner_result.color;
   wrapper_result.blend = inner_result.blend;
diff --git a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.fxc.hlsl b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.fxc.hlsl
index 027baf9..2789275 100644
--- a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.fxc.hlsl
@@ -23,8 +23,8 @@
 }
 
 tint_symbol_3 frag_main(tint_symbol_2 tint_symbol_1) {
-  const FragInput tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.b};
-  const FragOutput inner_result = frag_main_inner(tint_symbol_4);
+  FragInput tint_symbol_4 = {tint_symbol_1.a, tint_symbol_1.b};
+  FragOutput inner_result = frag_main_inner(tint_symbol_4);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.color = inner_result.color;
   wrapper_result.blend = inner_result.blend;
diff --git a/test/tint/extensions/dual_source_blending/output.wgsl.expected.dxc.hlsl b/test/tint/extensions/dual_source_blending/output.wgsl.expected.dxc.hlsl
index 87f19cb..aa604ea 100644
--- a/test/tint/extensions/dual_source_blending/output.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/dual_source_blending/output.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol frag_main() {
-  const FragOutput inner_result = frag_main_inner();
+  FragOutput inner_result = frag_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.color = inner_result.color;
   wrapper_result.blend = inner_result.blend;
diff --git a/test/tint/extensions/dual_source_blending/output.wgsl.expected.fxc.hlsl b/test/tint/extensions/dual_source_blending/output.wgsl.expected.fxc.hlsl
index 87f19cb..aa604ea 100644
--- a/test/tint/extensions/dual_source_blending/output.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/dual_source_blending/output.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 tint_symbol frag_main() {
-  const FragOutput inner_result = frag_main_inner();
+  FragOutput inner_result = frag_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.color = inner_result.color;
   wrapper_result.blend = inner_result.blend;
diff --git a/test/tint/extensions/parsing/basic.wgsl.expected.dxc.hlsl b/test/tint/extensions/parsing/basic.wgsl.expected.dxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/basic.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/parsing/basic.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/parsing/basic.wgsl.expected.fxc.hlsl b/test/tint/extensions/parsing/basic.wgsl.expected.fxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/basic.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/parsing/basic.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.dxc.hlsl b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.dxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.fxc.hlsl b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.fxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/parsing/multiple.wgsl.expected.dxc.hlsl b/test/tint/extensions/parsing/multiple.wgsl.expected.dxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/multiple.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/parsing/multiple.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/parsing/multiple.wgsl.expected.fxc.hlsl b/test/tint/extensions/parsing/multiple.wgsl.expected.fxc.hlsl
index 02332f3..3d81b50 100644
--- a/test/tint/extensions/parsing/multiple.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/parsing/multiple.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.dxc.hlsl
index 245e8fc..2ded420 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -37,7 +37,7 @@
 }
 
 void f_inner_1(float4 pos) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.fxc.hlsl
index 245e8fc..2ded420 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -37,7 +37,7 @@
 }
 
 void f_inner_1(float4 pos) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.dxc.hlsl
index 4bdabf7..b7a3e94 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -38,7 +38,7 @@
 }
 
 void f_inner_1(float4 pos, float4 uv) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos, uv);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.fxc.hlsl
index 4bdabf7..b7a3e94 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -38,7 +38,7 @@
 }
 
 void f_inner_1(float4 pos, float4 uv) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos, uv);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.dxc.hlsl
index f5e121c..f1ff84c 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -41,14 +41,14 @@
 }
 
 void f_inner_1(float4 pos, In tint_symbol) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos, tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.uv};
+  In tint_symbol_3 = {tint_symbol_1.uv};
   f_inner_1(float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.fxc.hlsl
index f5e121c..f1ff84c 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -41,14 +41,14 @@
 }
 
 void f_inner_1(float4 pos, In tint_symbol) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos, tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.uv};
+  In tint_symbol_3 = {tint_symbol_1.uv};
   f_inner_1(float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.dxc.hlsl
index f73fd4b..8a5c3f1 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,14 +40,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.fxc.hlsl
index f73fd4b..8a5c3f1 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,14 +40,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.dxc.hlsl
index 947fcae..37e74b5 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -41,14 +41,14 @@
 }
 
 void f_inner_1(In tint_symbol, float4 uv) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol, uv);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3, tint_symbol_1.uv);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.fxc.hlsl
index 947fcae..37e74b5 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -41,14 +41,14 @@
 }
 
 void f_inner_1(In tint_symbol, float4 uv) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol, uv);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3, tint_symbol_1.uv);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.dxc.hlsl
index 2e04023..d28b9c1 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -42,14 +42,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.uv};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.uv};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.fxc.hlsl
index 2e04023..d28b9c1 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -42,14 +42,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.uv};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w)), tint_symbol_1.uv};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.dxc.hlsl
index daed6ec..93fe157 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -37,7 +37,7 @@
 }
 
 void f_inner_1(float4 pos) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.fxc.hlsl
index daed6ec..93fe157 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -37,7 +37,7 @@
 }
 
 void f_inner_1(float4 pos) {
-  const float4 hlsl_sv_position = pos;
+  float4 hlsl_sv_position = pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(pos);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.dxc.hlsl
index efec0a5..37a46cc 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,14 +40,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.fxc.hlsl
index efec0a5..37a46cc 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,14 +40,14 @@
 }
 
 void f_inner_1(In tint_symbol) {
-  const float4 hlsl_sv_position = tint_symbol.pos;
+  float4 hlsl_sv_position = tint_symbol.pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  In tint_symbol_3 = {float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   f_inner_1(tint_symbol_3);
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.dxc.hlsl
index bfabb4b..f154fd5 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -39,7 +39,7 @@
 }
 
 void f_inner_1(float4 a, float4 b, float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(a, b);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.fxc.hlsl
index bfabb4b..f154fd5 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -39,7 +39,7 @@
 }
 
 void f_inner_1(float4 a, float4 b, float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(a, b);
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.dxc.hlsl
index 218c324..05873d6 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -43,14 +43,14 @@
 }
 
 void f_inner_1(In tint_symbol, float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.a, tint_symbol_1.b};
+  In tint_symbol_3 = {tint_symbol_1.a, tint_symbol_1.b};
   f_inner_1(tint_symbol_3, float4(tint_symbol_1.my_pos.xyz, (1.0f / tint_symbol_1.my_pos.w)));
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.fxc.hlsl
index 218c324..05873d6 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -43,14 +43,14 @@
 }
 
 void f_inner_1(In tint_symbol, float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner(tint_symbol);
   store_into_pixel_local_storage(hlsl_sv_position);
 }
 
 void f(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.a, tint_symbol_1.b};
+  In tint_symbol_3 = {tint_symbol_1.a, tint_symbol_1.b};
   f_inner_1(tint_symbol_3, float4(tint_symbol_1.my_pos.xyz, (1.0f / tint_symbol_1.my_pos.w)));
   return;
 }
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
index 92144f5..4289502 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -45,21 +45,21 @@
 
 Out f_inner() {
   P.a = (P.a + 42u);
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
index 92144f5..4289502 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -45,21 +45,21 @@
 
 Out f_inner() {
   P.a = (P.a + 42u);
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
index 6e84d23..5013398 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -37,21 +37,21 @@
 
 Out f_inner() {
   P.a = (P.a + 42u);
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
index 6e84d23..5013398 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -37,21 +37,21 @@
 
 Out f_inner() {
   P.a = (P.a + 42u);
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
index 34d8dea..bb3ac7b 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,16 +40,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
index 34d8dea..bb3ac7b 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -40,16 +40,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
index 68e173b..d4f6d71 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -32,16 +32,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
index 68e173b..d4f6d71 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -32,16 +32,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
index ad48f97..ea5839f 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -33,7 +33,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
index ad48f97..ea5839f 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -33,7 +33,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
index bb794b1..75996dd 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -25,7 +25,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
index bb794b1..75996dd 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -25,7 +25,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
index e8859da..323320f 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -59,21 +59,21 @@
 
 Out f_inner() {
   f2();
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
index e8859da..323320f 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -59,21 +59,21 @@
 
 Out f_inner() {
   f2();
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
index 757edf4..b6caf59 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -51,21 +51,21 @@
 
 Out f_inner() {
   f2();
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
index 757edf4..b6caf59 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -51,21 +51,21 @@
 
 Out f_inner() {
   f2();
-  const Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
+  Out tint_symbol_4 = {(10.0f).xxxx, (20.0f).xxxx, (30.0f).xxxx};
   return tint_symbol_4;
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const Out result = f_inner();
+  Out result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result.x, result.y, result.z};
+  f_res tint_symbol_3 = {result.x, result.y, result.z};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   wrapper_result.output_1 = inner_result.output_1;
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
index 423b084..f1a76be 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -54,16 +54,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
index 423b084..f1a76be 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -54,16 +54,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
index dd13915..747bc7c 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -46,16 +46,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
index dd13915..747bc7c 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -46,16 +46,16 @@
 }
 
 f_res f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
-  const float4 result = f_inner();
+  float4 result = f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
-  const f_res tint_symbol_3 = {result};
+  f_res tint_symbol_3 = {result};
   return tint_symbol_3;
 }
 
 tint_symbol_2 f(tint_symbol_1 tint_symbol) {
-  const f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
+  f_res inner_result = f_inner_1(float4(tint_symbol.my_pos.xyz, (1.0f / tint_symbol.my_pos.w)));
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.output_0 = inner_result.output_0;
   return wrapper_result;
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
index a8e51e0..54e065f 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.dxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -47,7 +47,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
index a8e51e0..54e065f 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.fxc.hlsl
@@ -11,14 +11,14 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
   P.b = pixel_local_b.Load(rov_texcoord).x;
   P.c = pixel_local_c.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
   pixel_local_b[rov_texcoord] = int4((P.b).xxxx);
   pixel_local_c[rov_texcoord] = float4((P.c).xxxx);
@@ -47,7 +47,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
index 2dc5ab2..9766714 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -39,7 +39,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
index 2dc5ab2..9766714 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/single_attachment.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal P = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   P.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((P.a).xxxx);
 }
 
@@ -39,7 +39,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.dxc.hlsl b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.dxc.hlsl
index fcac83b..201cff1 100644
--- a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.dxc.hlsl
+++ b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal V = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   V.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((V.a).xxxx);
 }
 
@@ -25,7 +25,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.fxc.hlsl b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.fxc.hlsl
index fcac83b..201cff1 100644
--- a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.fxc.hlsl
+++ b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 static PixelLocal V = (PixelLocal)0;
 
 void load_from_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   V.a = pixel_local_a.Load(rov_texcoord).x;
 }
 
 void store_into_pixel_local_storage(float4 my_input) {
-  const uint2 rov_texcoord = uint2(my_input.xy);
+  uint2 rov_texcoord = uint2(my_input.xy);
   pixel_local_a[rov_texcoord] = uint4((V.a).xxxx);
 }
 
@@ -25,7 +25,7 @@
 }
 
 void f_inner_1(float4 my_pos) {
-  const float4 hlsl_sv_position = my_pos;
+  float4 hlsl_sv_position = my_pos;
   load_from_pixel_local_storage(hlsl_sv_position);
   f_inner();
   store_into_pixel_local_storage(hlsl_sv_position);
diff --git a/test/tint/identifiers/underscore/double/let.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/double/let.wgsl.expected.dxc.hlsl
index a0c794a..44e9b4a 100644
--- a/test/tint/identifiers/underscore/double/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/double/let.wgsl.expected.dxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int a__ = a;
-  const int b = a;
-  const int b__ = a__;
+  int a = 1;
+  int a__ = a;
+  int b = a;
+  int b__ = a__;
   s.Store(0u, asuint((((a + a__) + b) + b__)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/double/let.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/double/let.wgsl.expected.fxc.hlsl
index a0c794a..44e9b4a 100644
--- a/test/tint/identifiers/underscore/double/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/double/let.wgsl.expected.fxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int a__ = a;
-  const int b = a;
-  const int b__ = a__;
+  int a = 1;
+  int a__ = a;
+  int b = a;
+  int b__ = a__;
   s.Store(0u, asuint((((a + a__) + b) + b__)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/double/parameter.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/double/parameter.wgsl.expected.dxc.hlsl
index 9e949f7..4d7df74 100644
--- a/test/tint/identifiers/underscore/double/parameter.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/double/parameter.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int a__) {
-  const int b = a__;
+  int b = a__;
   s.Store(0u, asuint(b));
 }
 
diff --git a/test/tint/identifiers/underscore/double/parameter.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/double/parameter.wgsl.expected.fxc.hlsl
index 9e949f7..4d7df74 100644
--- a/test/tint/identifiers/underscore/double/parameter.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/double/parameter.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int a__) {
-  const int b = a__;
+  int b = a__;
   s.Store(0u, asuint(b));
 }
 
diff --git a/test/tint/identifiers/underscore/double/struct.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/double/struct.wgsl.expected.dxc.hlsl
index d25622d..7a35f29 100644
--- a/test/tint/identifiers/underscore/double/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/double/struct.wgsl.expected.dxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const a__ c = (a__)0;
-  const int d = c.b__;
+  a__ c = (a__)0;
+  int d = c.b__;
   s.Store(0u, asuint((c.b__ + d)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/double/struct.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/double/struct.wgsl.expected.fxc.hlsl
index d25622d..7a35f29 100644
--- a/test/tint/identifiers/underscore/double/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/double/struct.wgsl.expected.fxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const a__ c = (a__)0;
-  const int d = c.b__;
+  a__ c = (a__)0;
+  int d = c.b__;
   s.Store(0u, asuint((c.b__ + d)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.dxc.hlsl
index e06330c..04882fb 100644
--- a/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.dxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int _a = a;
-  const int b = a;
-  const int _b = _a;
+  int a = 1;
+  int _a = a;
+  int b = a;
+  int _b = _a;
   s.Store(0u, asuint((((a + _a) + b) + _b)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.fxc.hlsl
index e06330c..04882fb 100644
--- a/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/let.wgsl.expected.fxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int a = 1;
-  const int _a = a;
-  const int b = a;
-  const int _b = _a;
+  int a = 1;
+  int _a = a;
+  int b = a;
+  int _b = _a;
   s.Store(0u, asuint((((a + _a) + b) + _b)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.dxc.hlsl
index 0f30ae8..b695b2f 100644
--- a/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int _a) {
-  const int b = _a;
+  int b = _a;
   s.Store(0u, asuint(b));
 }
 
diff --git a/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.fxc.hlsl
index 0f30ae8..b695b2f 100644
--- a/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/parameter.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int _a) {
-  const int b = _a;
+  int b = _a;
   s.Store(0u, asuint(b));
 }
 
diff --git a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.dxc.hlsl
index a1d6d8e..75e0238 100644
--- a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.dxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const _a c = (_a)0;
-  const int d = c._b;
+  _a c = (_a)0;
+  int d = c._b;
   s.Store(0u, asuint((c._b + d)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.fxc.hlsl
index a1d6d8e..75e0238 100644
--- a/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/lower/struct.wgsl.expected.fxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const _a c = (_a)0;
-  const int d = c._b;
+  _a c = (_a)0;
+  int d = c._b;
   s.Store(0u, asuint((c._b + d)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.dxc.hlsl
index c1c99e9..72ee58f 100644
--- a/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.dxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int A = 1;
-  const int _A = 2;
-  const int B = A;
-  const int _B = _A;
+  int A = 1;
+  int _A = 2;
+  int B = A;
+  int _B = _A;
   s.Store(0u, asuint((((A + _A) + B) + _B)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.fxc.hlsl
index c1c99e9..72ee58f 100644
--- a/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/let.wgsl.expected.fxc.hlsl
@@ -2,10 +2,10 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int A = 1;
-  const int _A = 2;
-  const int B = A;
-  const int _B = _A;
+  int A = 1;
+  int _A = 2;
+  int B = A;
+  int _B = _A;
   s.Store(0u, asuint((((A + _A) + B) + _B)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.dxc.hlsl
index 1463ee1..51f11c7 100644
--- a/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int _A) {
-  const int B = _A;
+  int B = _A;
   s.Store(0u, asuint(B));
 }
 
diff --git a/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.fxc.hlsl
index 1463ee1..51f11c7 100644
--- a/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/parameter.wgsl.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 RWByteAddressBuffer s : register(u0);
 
 void f(int _A) {
-  const int B = _A;
+  int B = _A;
   s.Store(0u, asuint(B));
 }
 
diff --git a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.dxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.dxc.hlsl
index 382fa48..7b02401 100644
--- a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.dxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const _A c = (_A)0;
-  const int d = c._B;
+  _A c = (_A)0;
+  int d = c._B;
   s.Store(0u, asuint((c._B + d)));
   return;
 }
diff --git a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.fxc.hlsl b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.fxc.hlsl
index 382fa48..7b02401 100644
--- a/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/identifiers/underscore/prefix/upper/struct.wgsl.expected.fxc.hlsl
@@ -6,8 +6,8 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const _A c = (_A)0;
-  const int d = c._B;
+  _A c = (_A)0;
+  int d = c._B;
   s.Store(0u, asuint((c._B + d)));
   return;
 }
diff --git a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.dxc.hlsl b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.dxc.hlsl
index fe3ba40..5485d28 100644
--- a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 v = ssbo_load(0u);
+  float2x2 v = ssbo_load(0u);
   ssbo_store(0u, v);
   return;
 }
diff --git a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.fxc.hlsl b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.fxc.hlsl
index fe3ba40..5485d28 100644
--- a/test/tint/layout/storage/mat2x2/f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/layout/storage/mat2x2/f32.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const float2x2 v = ssbo_load(0u);
+  float2x2 v = ssbo_load(0u);
   ssbo_store(0u, v);
   return;
 }
diff --git a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.dxc.hlsl b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.dxc.hlsl
index 609c571..c8fa638 100644
--- a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.dxc.hlsl
+++ b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.dxc.hlsl
@@ -6,9 +6,9 @@
 
 typedef strided_arr mat2x2_stride_16_to_arr_ret[2];
 mat2x2_stride_16_to_arr_ret mat2x2_stride_16_to_arr(float2x2 m) {
-  const strided_arr tint_symbol_1 = {m[0u]};
-  const strided_arr tint_symbol_2 = {m[1u]};
-  const strided_arr tint_symbol_3[2] = {tint_symbol_1, tint_symbol_2};
+  strided_arr tint_symbol_1 = {m[0u]};
+  strided_arr tint_symbol_2 = {m[1u]};
+  strided_arr tint_symbol_3[2] = {tint_symbol_1, tint_symbol_2};
   return tint_symbol_3;
 }
 
@@ -17,7 +17,7 @@
 }
 
 strided_arr ssbo_load_1(uint offset) {
-  const strided_arr tint_symbol_4 = {asfloat(ssbo.Load2((offset + 0u)))};
+  strided_arr tint_symbol_4 = {asfloat(ssbo.Load2((offset + 0u)))};
   return tint_symbol_4;
 }
 
@@ -46,7 +46,7 @@
 }
 
 void f_1() {
-  const float2x2 tint_symbol = arr_to_mat2x2_stride_16(ssbo_load(0u));
+  float2x2 tint_symbol = arr_to_mat2x2_stride_16(ssbo_load(0u));
   ssbo_store(0u, mat2x2_stride_16_to_arr(tint_symbol));
   return;
 }
diff --git a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.fxc.hlsl b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.fxc.hlsl
index 609c571..c8fa638 100644
--- a/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.fxc.hlsl
+++ b/test/tint/layout/storage/mat2x2/stride/16.spvasm.expected.fxc.hlsl
@@ -6,9 +6,9 @@
 
 typedef strided_arr mat2x2_stride_16_to_arr_ret[2];
 mat2x2_stride_16_to_arr_ret mat2x2_stride_16_to_arr(float2x2 m) {
-  const strided_arr tint_symbol_1 = {m[0u]};
-  const strided_arr tint_symbol_2 = {m[1u]};
-  const strided_arr tint_symbol_3[2] = {tint_symbol_1, tint_symbol_2};
+  strided_arr tint_symbol_1 = {m[0u]};
+  strided_arr tint_symbol_2 = {m[1u]};
+  strided_arr tint_symbol_3[2] = {tint_symbol_1, tint_symbol_2};
   return tint_symbol_3;
 }
 
@@ -17,7 +17,7 @@
 }
 
 strided_arr ssbo_load_1(uint offset) {
-  const strided_arr tint_symbol_4 = {asfloat(ssbo.Load2((offset + 0u)))};
+  strided_arr tint_symbol_4 = {asfloat(ssbo.Load2((offset + 0u)))};
   return tint_symbol_4;
 }
 
@@ -46,7 +46,7 @@
 }
 
 void f_1() {
-  const float2x2 tint_symbol = arr_to_mat2x2_stride_16(ssbo_load(0u));
+  float2x2 tint_symbol = arr_to_mat2x2_stride_16(ssbo_load(0u));
   ssbo_store(0u, mat2x2_stride_16_to_arr(tint_symbol));
   return;
 }
diff --git a/test/tint/let/inferred/function.wgsl.expected.dxc.hlsl b/test/tint/let/inferred/function.wgsl.expected.dxc.hlsl
index 152e8d1..055c996 100644
--- a/test/tint/let/inferred/function.wgsl.expected.dxc.hlsl
+++ b/test/tint/let/inferred/function.wgsl.expected.dxc.hlsl
@@ -15,32 +15,32 @@
 }
 
 MyStruct ret_MyStruct() {
-  const MyStruct tint_symbol_1 = (MyStruct)0;
+  MyStruct tint_symbol_1 = (MyStruct)0;
   return tint_symbol_1;
 }
 
 typedef float ret_MyArray_ret[10];
 ret_MyArray_ret ret_MyArray() {
-  const float tint_symbol_2[10] = (float[10])0;
+  float tint_symbol_2[10] = (float[10])0;
   return tint_symbol_2;
 }
 
 void let_decls() {
-  const int v1 = 1;
-  const uint v2 = 1u;
-  const float v3 = 1.0f;
-  const int3 v4 = (1).xxx;
-  const uint3 v5 = (1u).xxx;
-  const float3 v6 = (1.0f).xxx;
-  const float3x3 v7 = float3x3(v6, v6, v6);
-  const MyStruct v8 = {1.0f};
-  const float v9[10] = (float[10])0;
-  const int v10 = ret_i32();
-  const uint v11 = ret_u32();
-  const float v12 = ret_f32();
-  const MyStruct v13 = ret_MyStruct();
-  const MyStruct v14 = ret_MyStruct();
-  const float v15[10] = ret_MyArray();
+  int v1 = 1;
+  uint v2 = 1u;
+  float v3 = 1.0f;
+  int3 v4 = (1).xxx;
+  uint3 v5 = (1u).xxx;
+  float3 v6 = (1.0f).xxx;
+  float3x3 v7 = float3x3(v6, v6, v6);
+  MyStruct v8 = {1.0f};
+  float v9[10] = (float[10])0;
+  int v10 = ret_i32();
+  uint v11 = ret_u32();
+  float v12 = ret_f32();
+  MyStruct v13 = ret_MyStruct();
+  MyStruct v14 = ret_MyStruct();
+  float v15[10] = ret_MyArray();
 }
 
 struct tint_symbol {
@@ -52,7 +52,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/let/inferred/function.wgsl.expected.fxc.hlsl b/test/tint/let/inferred/function.wgsl.expected.fxc.hlsl
index 152e8d1..055c996 100644
--- a/test/tint/let/inferred/function.wgsl.expected.fxc.hlsl
+++ b/test/tint/let/inferred/function.wgsl.expected.fxc.hlsl
@@ -15,32 +15,32 @@
 }
 
 MyStruct ret_MyStruct() {
-  const MyStruct tint_symbol_1 = (MyStruct)0;
+  MyStruct tint_symbol_1 = (MyStruct)0;
   return tint_symbol_1;
 }
 
 typedef float ret_MyArray_ret[10];
 ret_MyArray_ret ret_MyArray() {
-  const float tint_symbol_2[10] = (float[10])0;
+  float tint_symbol_2[10] = (float[10])0;
   return tint_symbol_2;
 }
 
 void let_decls() {
-  const int v1 = 1;
-  const uint v2 = 1u;
-  const float v3 = 1.0f;
-  const int3 v4 = (1).xxx;
-  const uint3 v5 = (1u).xxx;
-  const float3 v6 = (1.0f).xxx;
-  const float3x3 v7 = float3x3(v6, v6, v6);
-  const MyStruct v8 = {1.0f};
-  const float v9[10] = (float[10])0;
-  const int v10 = ret_i32();
-  const uint v11 = ret_u32();
-  const float v12 = ret_f32();
-  const MyStruct v13 = ret_MyStruct();
-  const MyStruct v14 = ret_MyStruct();
-  const float v15[10] = ret_MyArray();
+  int v1 = 1;
+  uint v2 = 1u;
+  float v3 = 1.0f;
+  int3 v4 = (1).xxx;
+  uint3 v5 = (1u).xxx;
+  float3 v6 = (1.0f).xxx;
+  float3x3 v7 = float3x3(v6, v6, v6);
+  MyStruct v8 = {1.0f};
+  float v9[10] = (float[10])0;
+  int v10 = ret_i32();
+  uint v11 = ret_u32();
+  float v12 = ret_f32();
+  MyStruct v13 = ret_MyStruct();
+  MyStruct v14 = ret_MyStruct();
+  float v15[10] = ret_MyArray();
 }
 
 struct tint_symbol {
@@ -52,7 +52,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/out_of_order_decls/array/struct.wgsl.expected.dxc.hlsl b/test/tint/out_of_order_decls/array/struct.wgsl.expected.dxc.hlsl
index a708176..e61f287 100644
--- a/test/tint/out_of_order_decls/array/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/out_of_order_decls/array/struct.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 static S A[4] = (S[4])0;
 
 void f() {
-  const S tint_symbol = {1};
+  S tint_symbol = {1};
   A[0] = tint_symbol;
   return;
 }
diff --git a/test/tint/out_of_order_decls/array/struct.wgsl.expected.fxc.hlsl b/test/tint/out_of_order_decls/array/struct.wgsl.expected.fxc.hlsl
index a708176..e61f287 100644
--- a/test/tint/out_of_order_decls/array/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/out_of_order_decls/array/struct.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 static S A[4] = (S[4])0;
 
 void f() {
-  const S tint_symbol = {1};
+  S tint_symbol = {1};
   A[0] = tint_symbol;
   return;
 }
diff --git a/test/tint/out_of_order_decls/func/var.wgsl.expected.dxc.hlsl b/test/tint/out_of_order_decls/func/var.wgsl.expected.dxc.hlsl
index 813886a..76dcbdd 100644
--- a/test/tint/out_of_order_decls/func/var.wgsl.expected.dxc.hlsl
+++ b/test/tint/out_of_order_decls/func/var.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 static int a = 1;
 
 void f() {
-  const int b = a;
+  int b = a;
   return;
 }
diff --git a/test/tint/out_of_order_decls/func/var.wgsl.expected.fxc.hlsl b/test/tint/out_of_order_decls/func/var.wgsl.expected.fxc.hlsl
index 813886a..76dcbdd 100644
--- a/test/tint/out_of_order_decls/func/var.wgsl.expected.fxc.hlsl
+++ b/test/tint/out_of_order_decls/func/var.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 static int a = 1;
 
 void f() {
-  const int b = a;
+  int b = a;
   return;
 }
diff --git a/test/tint/ptr_ref/load/global/i32.spvasm.expected.dxc.hlsl b/test/tint/ptr_ref/load/global/i32.spvasm.expected.dxc.hlsl
index a75ddfa..ae7220c 100644
--- a/test/tint/ptr_ref/load/global/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/global/i32.spvasm.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 static int I = 0;
 
 void main_1() {
-  const int x_11 = (I + 1);
+  int x_11 = (I + 1);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/global/i32.spvasm.expected.fxc.hlsl b/test/tint/ptr_ref/load/global/i32.spvasm.expected.fxc.hlsl
index a75ddfa..ae7220c 100644
--- a/test/tint/ptr_ref/load/global/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/global/i32.spvasm.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 static int I = 0;
 
 void main_1() {
-  const int x_11 = (I + 1);
+  int x_11 = (I + 1);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/global/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/global/i32.wgsl.expected.dxc.hlsl
index 00e51eb..e61fee8 100644
--- a/test/tint/ptr_ref/load/global/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/global/i32.wgsl.expected.dxc.hlsl
@@ -2,7 +2,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int i = I;
-  const int u = (i + 1);
+  int i = I;
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/global/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/global/i32.wgsl.expected.fxc.hlsl
index 00e51eb..e61fee8 100644
--- a/test/tint/ptr_ref/load/global/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/global/i32.wgsl.expected.fxc.hlsl
@@ -2,7 +2,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int i = I;
-  const int u = (i + 1);
+  int i = I;
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.dxc.hlsl
index f40dad1..18014e1 100644
--- a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int i = V.i;
+  int i = V.i;
   return;
 }
diff --git a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.fxc.hlsl
index f40dad1..18014e1 100644
--- a/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/global/struct_field.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int i = V.i;
+  int i = V.i;
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/i32.spvasm.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/i32.spvasm.expected.dxc.hlsl
index 3f9ee13..ea7e4db 100644
--- a/test/tint/ptr_ref/load/local/i32.spvasm.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/i32.spvasm.expected.dxc.hlsl
@@ -1,7 +1,7 @@
 void main_1() {
   int i = 0;
   i = 123;
-  const int x_12 = (i + 1);
+  int x_12 = (i + 1);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/local/i32.spvasm.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/i32.spvasm.expected.fxc.hlsl
index 3f9ee13..ea7e4db 100644
--- a/test/tint/ptr_ref/load/local/i32.spvasm.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/i32.spvasm.expected.fxc.hlsl
@@ -1,7 +1,7 @@
 void main_1() {
   int i = 0;
   i = 123;
-  const int x_12 = (i + 1);
+  int x_12 = (i + 1);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/local/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/i32.wgsl.expected.dxc.hlsl
index a858426..b5840ef 100644
--- a/test/tint/ptr_ref/load/local/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/i32.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/i32.wgsl.expected.fxc.hlsl
index a858426..b5840ef 100644
--- a/test/tint/ptr_ref/load/local/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/i32.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.dxc.hlsl
index a858426..b5840ef 100644
--- a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.dxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.fxc.hlsl
index a858426..b5840ef 100644
--- a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.fxc.hlsl
@@ -1,6 +1,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.dxc.hlsl
index 2fd76b6..82d4cb5 100644
--- a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.fxc.hlsl
index 2fd76b6..82d4cb5 100644
--- a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (i + 1);
+  int u = (i + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.dxc.hlsl
index 8961dab..296f372 100644
--- a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.dxc.hlsl
@@ -2,6 +2,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (asint(v.Load(0u)) + 1);
+  int u = (asint(v.Load(0u)) + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.fxc.hlsl
index 8961dab..296f372 100644
--- a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.fxc.hlsl
@@ -2,6 +2,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (asint(v.Load(0u)) + 1);
+  int u = (asint(v.Load(0u)) + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.dxc.hlsl
index 257e0bc..920b4b0 100644
--- a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (asint(v[0].x) + 1);
+  int u = (asint(v[0].x) + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.fxc.hlsl
index 257e0bc..920b4b0 100644
--- a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int u = (asint(v[0].x) + 1);
+  int u = (asint(v[0].x) + 1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.dxc.hlsl
index 74acc44..6ff9495 100644
--- a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
   }
   GroupMemoryBarrierWithGroupSync();
   i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.fxc.hlsl
index 74acc44..6ff9495 100644
--- a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
   }
   GroupMemoryBarrierWithGroupSync();
   i = 123;
-  const int u = (i + 1);
+  int u = (i + 1);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.dxc.hlsl
index f5feba0..38a53be 100644
--- a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const int r[4] = func(F.arr);
+  int r[4] = func(F.arr);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.fxc.hlsl
index f5feba0..38a53be 100644
--- a/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/array_in_struct.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const int r[4] = func(F.arr);
+  int r[4] = func(F.arr);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.dxc.hlsl
index fa36f9e..04a638c 100644
--- a/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int F = 0;
-  const int r = func(F);
+  int r = func(F);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.fxc.hlsl
index fa36f9e..04a638c 100644
--- a/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/i32.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int F = 0;
-  const int r = func(F);
+  int r = func(F);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.dxc.hlsl
index f726064..a55233b 100644
--- a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const int r = func(F.i);
+  int r = func(F.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.fxc.hlsl
index f726064..a55233b 100644
--- a/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const int r = func(F.i);
+  int r = func(F.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.dxc.hlsl
index c166cc2..e9276c0 100644
--- a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F[4] = (str[4])0;
-  const str r = func(F[2]);
+  str r = func(F[2]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.fxc.hlsl
index c166cc2..e9276c0 100644
--- a/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/struct_in_array.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F[4] = (str[4])0;
-  const str r = func(F[2]);
+  str r = func(F[2]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 8bc0349..bfb7164 100644
--- a/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float2x2 F = float2x2(0.0f, 0.0f, 0.0f, 0.0f);
-  const float2 r = func(F[1]);
+  float2 r = func(F[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 8bc0349..bfb7164 100644
--- a/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float2x2 F = float2x2(0.0f, 0.0f, 0.0f, 0.0f);
-  const float2 r = func(F[1]);
+  float2 r = func(F[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.dxc.hlsl
index 67932df..e050b02 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float4 F = float4(0.0f, 0.0f, 0.0f, 0.0f);
-  const float4 r = func(F);
+  float4 r = func(F);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.fxc.hlsl
index 67932df..e050b02 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float4 F = float4(0.0f, 0.0f, 0.0f, 0.0f);
-  const float4 r = func(F);
+  float4 r = func(F);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index aec4b25..22eb9df 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float2x4 F = float2x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float4 r = func(F[1]);
+  float4 r = func(F[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index aec4b25..22eb9df 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   float2x4 F = float2x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
-  const float4 r = func(F[1]);
+  float4 r = func(F[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index 8cbef3d..6065c4f 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const float4 r = func(F.i);
+  float4 r = func(F.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index 8cbef3d..6065c4f 100644
--- a/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/function/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -9,6 +9,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   str F = (str)0;
-  const float4 r = func(F.i);
+  float4 r = func(F.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.dxc.hlsl
index 6fc7d6c..30aef48 100644
--- a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.dxc.hlsl
@@ -11,6 +11,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r[4] = func(P.arr);
+  int r[4] = func(P.arr);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.fxc.hlsl
index 6fc7d6c..30aef48 100644
--- a/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/array_in_struct.wgsl.expected.fxc.hlsl
@@ -11,6 +11,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r[4] = func(P.arr);
+  int r[4] = func(P.arr);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.dxc.hlsl
index 1813860..84c885f 100644
--- a/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func(P);
+  int r = func(P);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.fxc.hlsl
index 1813860..84c885f 100644
--- a/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func(P);
+  int r = func(P);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.dxc.hlsl
index a2027f1..20f9465 100644
--- a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func(P.i);
+  int r = func(P.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.fxc.hlsl
index a2027f1..20f9465 100644
--- a/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func(P.i);
+  int r = func(P.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.dxc.hlsl
index 077d5c3..822323d 100644
--- a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const str r = func(P[2]);
+  str r = func(P[2]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.fxc.hlsl
index 077d5c3..822323d 100644
--- a/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/struct_in_array.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const str r = func(P[2]);
+  str r = func(P[2]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index eb92433..697d099 100644
--- a/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 r = func(P[1]);
+  float2 r = func(P[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index eb92433..697d099 100644
--- a/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float2 r = func(P[1]);
+  float2 r = func(P[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.dxc.hlsl
index e7456b1..cea5076 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P);
+  float4 r = func(P);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.fxc.hlsl
index e7456b1..cea5076 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P);
+  float4 r = func(P);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index e0bb62e..749b1e1 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P[1]);
+  float4 r = func(P[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index e0bb62e..749b1e1 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P[1]);
+  float4 r = func(P[1]);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index d489348..507f1dd 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P.i);
+  float4 r = func(P.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index d489348..507f1dd 100644
--- a/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/private/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -10,6 +10,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func(P.i);
+  float4 r = func(P.i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/ptr.spvasm.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/ptr.spvasm.expected.dxc.hlsl
index abdb81c..d31e748 100644
--- a/test/tint/ptr_ref/load/param/ptr.spvasm.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/ptr.spvasm.expected.dxc.hlsl
@@ -1,13 +1,13 @@
 int func(int value, inout int pointer) {
-  const int x_9 = pointer;
+  int x_9 = pointer;
   return (value + x_9);
 }
 
 void main_1() {
   int i = 0;
   i = 123;
-  const int x_19 = i;
-  const int x_18 = func(x_19, i);
+  int x_19 = i;
+  int x_18 = func(x_19, i);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/param/ptr.spvasm.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/ptr.spvasm.expected.fxc.hlsl
index abdb81c..d31e748 100644
--- a/test/tint/ptr_ref/load/param/ptr.spvasm.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/ptr.spvasm.expected.fxc.hlsl
@@ -1,13 +1,13 @@
 int func(int value, inout int pointer) {
-  const int x_9 = pointer;
+  int x_9 = pointer;
   return (value + x_9);
 }
 
 void main_1() {
   int i = 0;
   i = 123;
-  const int x_19 = i;
-  const int x_18 = func(x_19, i);
+  int x_19 = i;
+  int x_18 = func(x_19, i);
   return;
 }
 
diff --git a/test/tint/ptr_ref/load/param/ptr.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/ptr.wgsl.expected.dxc.hlsl
index 696b0c2..f7417fa 100644
--- a/test/tint/ptr_ref/load/param/ptr.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/ptr.wgsl.expected.dxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int r = func(i, i);
+  int r = func(i, i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/ptr.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/ptr.wgsl.expected.fxc.hlsl
index 696b0c2..f7417fa 100644
--- a/test/tint/ptr_ref/load/param/ptr.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/ptr.wgsl.expected.fxc.hlsl
@@ -5,6 +5,6 @@
 [numthreads(1, 1, 1)]
 void main() {
   int i = 123;
-  const int r = func(i, i);
+  int r = func(i, i);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
index 5b8456d..0b1250a 100644
--- a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
@@ -18,6 +18,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r[4] = func_S_arr();
+  int r[4] = func_S_arr();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
index 5b8456d..0b1250a 100644
--- a/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
@@ -18,6 +18,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r[4] = func_S_arr();
+  int r[4] = func_S_arr();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.dxc.hlsl
index 102f890..fc78e1f 100644
--- a/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S();
+  int r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.fxc.hlsl
index 102f890..fc78e1f 100644
--- a/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S();
+  int r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.dxc.hlsl
index a4b67dc..26ef051 100644
--- a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S_i();
+  int r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.fxc.hlsl
index a4b67dc..26ef051 100644
--- a/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S_i();
+  int r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
index d82020a..fa6ff3f 100644
--- a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 ByteAddressBuffer S : register(t0);
 
 str S_load(uint offset) {
-  const str tint_symbol = {asint(S.Load((offset + 0u)))};
+  str tint_symbol = {asint(S.Load((offset + 0u)))};
   return tint_symbol;
 }
 
@@ -15,7 +15,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
-  const str r = func_S_X(tint_symbol_1);
+  uint tint_symbol_1[1] = {2u};
+  str r = func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
index d82020a..fa6ff3f 100644
--- a/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 ByteAddressBuffer S : register(t0);
 
 str S_load(uint offset) {
-  const str tint_symbol = {asint(S.Load((offset + 0u)))};
+  str tint_symbol = {asint(S.Load((offset + 0u)))};
   return tint_symbol;
 }
 
@@ -15,7 +15,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
-  const str r = func_S_X(tint_symbol_1);
+  uint tint_symbol_1[1] = {2u};
+  str r = func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 73cf967..a30223c 100644
--- a/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float2 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float2 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 73cf967..a30223c 100644
--- a/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float2 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float2 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.dxc.hlsl
index 43818da..6a07f39 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S();
+  float4 r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.fxc.hlsl
index 43818da..6a07f39 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S();
+  float4 r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index a6fa304..bad0609 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float4 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float4 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index a6fa304..bad0609 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float4 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float4 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index 9ce97475..20cc61c 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index 9ce97475..20cc61c 100644
--- a/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/storage/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -6,6 +6,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.dxc.hlsl
index 2a043b8..8f18e5d 100644
--- a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.dxc.hlsl
@@ -21,6 +21,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int4 r[4] = func_S_arr();
+  int4 r[4] = func_S_arr();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.fxc.hlsl
index 2a043b8..8f18e5d 100644
--- a/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/array_in_struct.wgsl.expected.fxc.hlsl
@@ -21,6 +21,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int4 r[4] = func_S_arr();
+  int4 r[4] = func_S_arr();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.dxc.hlsl
index f39c739..7a78c95 100644
--- a/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.dxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S();
+  int r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.fxc.hlsl
index f39c739..7a78c95 100644
--- a/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/i32.wgsl.expected.fxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S();
+  int r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.dxc.hlsl
index 0b42b10..9e81630 100644
--- a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S_i();
+  int r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.fxc.hlsl
index 0b42b10..9e81630 100644
--- a/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int r = func_S_i();
+  int r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.dxc.hlsl
index c0c677b..c488b4e 100644
--- a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.dxc.hlsl
@@ -8,7 +8,7 @@
 
 str S_load(uint offset) {
   const uint scalar_offset = ((offset + 0u)) / 4;
-  const str tint_symbol = {asint(S[scalar_offset / 4])};
+  str tint_symbol = {asint(S[scalar_offset / 4])};
   return tint_symbol;
 }
 
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
-  const str r = func_S_X(tint_symbol_1);
+  uint tint_symbol_1[1] = {2u};
+  str r = func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.fxc.hlsl
index c0c677b..c488b4e 100644
--- a/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/struct_in_array.wgsl.expected.fxc.hlsl
@@ -8,7 +8,7 @@
 
 str S_load(uint offset) {
   const uint scalar_offset = ((offset + 0u)) / 4;
-  const str tint_symbol = {asint(S[scalar_offset / 4])};
+  str tint_symbol = {asint(S[scalar_offset / 4])};
   return tint_symbol;
 }
 
@@ -18,7 +18,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
-  const str r = func_S_X(tint_symbol_1);
+  uint tint_symbol_1[1] = {2u};
+  str r = func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 2a5424a..b4882be 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float2 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float2 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 2a5424a..b4882be 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float2 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float2 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.dxc.hlsl
index 1e398ca..f24d90a 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.dxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S();
+  float4 r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.fxc.hlsl
index 1e398ca..f24d90a 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32.wgsl.expected.fxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S();
+  float4 r = func_S();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index facfe13..e207889 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -9,7 +9,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float4 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float4 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index facfe13..e207889 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -9,7 +9,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
-  const float4 r = func_S_X(tint_symbol);
+  uint tint_symbol[1] = {1u};
+  float4 r = func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index 3f505bd..8b920a9 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index 3f505bd..8b920a9 100644
--- a/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/uniform/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -8,6 +8,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
   return;
 }
diff --git a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
index 14498cd..6380d2a 100644
--- a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
@@ -16,12 +16,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S.arr[i] = 0;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r[4] = func_S_arr();
+  int r[4] = func_S_arr();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
index 14498cd..6380d2a 100644
--- a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
@@ -16,12 +16,12 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S.arr[i] = 0;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r[4] = func_S_arr();
+  int r[4] = func_S_arr();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.dxc.hlsl
index b3368a2..96c2edd 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
     S = 0;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r = func_S();
+  int r = func_S();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.fxc.hlsl
index b3368a2..96c2edd 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
     S = 0;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r = func_S();
+  int r = func_S();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
index 8cf40a2..c5c02b1 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -14,11 +14,11 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r = func_S_i();
+  int r = func_S_i();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
index 8cf40a2..c5c02b1 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -14,11 +14,11 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int r = func_S_i();
+  int r = func_S_i();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
index 1b5ca94..2e25900 100644
--- a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
@@ -15,14 +15,14 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i_1 = idx;
-      const str tint_symbol_2 = (str)0;
+      uint i_1 = idx;
+      str tint_symbol_2 = (str)0;
       S[i_1] = tint_symbol_2;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_3[1] = {2u};
-  const str r = func_S_X(tint_symbol_3);
+  uint tint_symbol_3[1] = {2u};
+  str r = func_S_X(tint_symbol_3);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
index 1b5ca94..2e25900 100644
--- a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
@@ -15,14 +15,14 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i_1 = idx;
-      const str tint_symbol_2 = (str)0;
+      uint i_1 = idx;
+      str tint_symbol_2 = (str)0;
       S[i_1] = tint_symbol_2;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_3[1] = {2u};
-  const str r = func_S_X(tint_symbol_3);
+  uint tint_symbol_3[1] = {2u};
+  str r = func_S_X(tint_symbol_3);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 9ce5c2e..987588e 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -13,8 +13,8 @@
     S = float2x2((0.0f).xx, (0.0f).xx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
-  const float2 r = func_S_X(tint_symbol_2);
+  uint tint_symbol_2[1] = {1u};
+  float2 r = func_S_X(tint_symbol_2);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 9ce5c2e..987588e 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -13,8 +13,8 @@
     S = float2x2((0.0f).xx, (0.0f).xx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
-  const float2 r = func_S_X(tint_symbol_2);
+  uint tint_symbol_2[1] = {1u};
+  float2 r = func_S_X(tint_symbol_2);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.dxc.hlsl
index 0273faf..6bb6748 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
     S = (0.0f).xxxx;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float4 r = func_S();
+  float4 r = func_S();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.fxc.hlsl
index 0273faf..6bb6748 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
     S = (0.0f).xxxx;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float4 r = func_S();
+  float4 r = func_S();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index 4a0f881..7629af7 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -13,8 +13,8 @@
     S = float2x4((0.0f).xxxx, (0.0f).xxxx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
-  const float4 r = func_S_X(tint_symbol_2);
+  uint tint_symbol_2[1] = {1u};
+  float4 r = func_S_X(tint_symbol_2);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index 4a0f881..7629af7 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -13,8 +13,8 @@
     S = float2x4((0.0f).xxxx, (0.0f).xxxx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
-  const float4 r = func_S_X(tint_symbol_2);
+  uint tint_symbol_2[1] = {1u};
+  float4 r = func_S_X(tint_symbol_2);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index 5c05d92..d01fa06 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -14,11 +14,11 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index 5c05d92..d01fa06 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -14,11 +14,11 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float4 r = func_S_i();
+  float4 r = func_S_i();
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.dxc.hlsl
index ba0930f..bf2ee5e 100644
--- a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.dxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout int pointer[4]) {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.fxc.hlsl
index ba0930f..bf2ee5e 100644
--- a/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/function/array_in_struct.wgsl.expected.fxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout int pointer[4]) {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.dxc.hlsl
index 13c0184..6ef765a 100644
--- a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.dxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout str pointer) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.fxc.hlsl
index 13c0184..6ef765a 100644
--- a/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/function/struct_in_array.wgsl.expected.fxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout str pointer) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.dxc.hlsl
index c6c407b..9ea78f6 100644
--- a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.dxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout int pointer[4]) {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.fxc.hlsl
index c6c407b..9ea78f6 100644
--- a/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/private/array_in_struct.wgsl.expected.fxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout int pointer[4]) {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.dxc.hlsl
index ecc8458..5eff375 100644
--- a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.dxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout str pointer) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.fxc.hlsl
index ecc8458..5eff375 100644
--- a/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/private/struct_in_array.wgsl.expected.fxc.hlsl
@@ -3,7 +3,7 @@
 };
 
 void func(inout str pointer) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   pointer = tint_symbol;
 }
 
diff --git a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
index f451a25..2468eda 100644
--- a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 void func_S_arr() {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   S_store(0u, tint_symbol);
 }
 
diff --git a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
index f451a25..2468eda 100644
--- a/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/array_in_struct.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 void func_S_arr() {
-  const int tint_symbol[4] = (int[4])0;
+  int tint_symbol[4] = (int[4])0;
   S_store(0u, tint_symbol);
 }
 
diff --git a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
index 1ff9f70..68cbcfb 100644
--- a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.dxc.hlsl
@@ -9,13 +9,13 @@
 }
 
 void func_S_X(uint pointer[1]) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   S_store((4u * pointer[0]), tint_symbol);
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
+  uint tint_symbol_1[1] = {2u};
   func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
index 1ff9f70..68cbcfb 100644
--- a/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/struct_in_array.wgsl.expected.fxc.hlsl
@@ -9,13 +9,13 @@
 }
 
 void func_S_X(uint pointer[1]) {
-  const str tint_symbol = (str)0;
+  str tint_symbol = (str)0;
   S_store((4u * pointer[0]), tint_symbol);
 }
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol_1[1] = {2u};
+  uint tint_symbol_1[1] = {2u};
   func_S_X(tint_symbol_1);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 58d9409..b5ea527 100644
--- a/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
+  uint tint_symbol[1] = {1u};
   func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 58d9409..b5ea527 100644
--- a/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
+  uint tint_symbol[1] = {1u};
   func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index 780407b..a02fc40 100644
--- a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
+  uint tint_symbol[1] = {1u};
   func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index 780407b..a02fc40 100644
--- a/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/storage/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const uint tint_symbol[1] = {1u};
+  uint tint_symbol[1] = {1u};
   func_S_X(tint_symbol);
   return;
 }
diff --git a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
index 7a28ceb..277b1b4 100644
--- a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 groupshared str S;
 
 void func_S_arr() {
-  const int tint_symbol_2[4] = (int[4])0;
+  int tint_symbol_2[4] = (int[4])0;
   S.arr = tint_symbol_2;
 }
 
@@ -16,7 +16,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S.arr[i] = 0;
     }
   }
diff --git a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
index 7a28ceb..277b1b4 100644
--- a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 groupshared str S;
 
 void func_S_arr() {
-  const int tint_symbol_2[4] = (int[4])0;
+  int tint_symbol_2[4] = (int[4])0;
   S.arr = tint_symbol_2;
 }
 
@@ -16,7 +16,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       S.arr[i] = 0;
     }
   }
diff --git a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
index a8ddec6..4fb0055 100644
--- a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
diff --git a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
index a8ddec6..4fb0055 100644
--- a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
diff --git a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
index 592ab89..39b3e52 100644
--- a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 groupshared str S[4];
 
 void func_S_X(uint pointer[1]) {
-  const str tint_symbol_4 = (str)0;
+  str tint_symbol_4 = (str)0;
   S[pointer[0]] = tint_symbol_4;
 }
 
@@ -16,13 +16,13 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i_1 = idx;
-      const str tint_symbol_2 = (str)0;
+      uint i_1 = idx;
+      str tint_symbol_2 = (str)0;
       S[i_1] = tint_symbol_2;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_3[1] = {2u};
+  uint tint_symbol_3[1] = {2u};
   func_S_X(tint_symbol_3);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
index 592ab89..39b3e52 100644
--- a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 groupshared str S[4];
 
 void func_S_X(uint pointer[1]) {
-  const str tint_symbol_4 = (str)0;
+  str tint_symbol_4 = (str)0;
   S[pointer[0]] = tint_symbol_4;
 }
 
@@ -16,13 +16,13 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 4u); idx = (idx + 1u)) {
-      const uint i_1 = idx;
-      const str tint_symbol_2 = (str)0;
+      uint i_1 = idx;
+      str tint_symbol_2 = (str)0;
       S[i_1] = tint_symbol_2;
     }
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_3[1] = {2u};
+  uint tint_symbol_3[1] = {2u};
   func_S_X(tint_symbol_3);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
index 4364c02..8513cd9 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
     S = float2x2((0.0f).xx, (0.0f).xx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
+  uint tint_symbol_2[1] = {1u};
   func_S_X(tint_symbol_2);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
index 4364c02..8513cd9 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
     S = float2x2((0.0f).xx, (0.0f).xx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
+  uint tint_symbol_2[1] = {1u};
   func_S_X(tint_symbol_2);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
index 084b6f0..58c35da 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.dxc.hlsl
@@ -20,7 +20,7 @@
     S = float2x4((0.0f).xxxx, (0.0f).xxxx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
+  uint tint_symbol_2[1] = {1u};
   func_S_X(tint_symbol_2);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
index 084b6f0..58c35da 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.fxc.hlsl
@@ -20,7 +20,7 @@
     S = float2x4((0.0f).xxxx, (0.0f).xxxx);
   }
   GroupMemoryBarrierWithGroupSync();
-  const uint tint_symbol_2[1] = {1u};
+  uint tint_symbol_2[1] = {1u};
   func_S_X(tint_symbol_2);
 }
 
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
index e9f5ab4..9a545e5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
index e9f5ab4..9a545e5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const str tint_symbol_2 = (str)0;
+    str tint_symbol_2 = (str)0;
     S = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
diff --git a/test/tint/ptr_sugar/array.wgsl.expected.dxc.hlsl b/test/tint/ptr_sugar/array.wgsl.expected.dxc.hlsl
index c876ea4..ed5097a 100644
--- a/test/tint/ptr_sugar/array.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_sugar/array.wgsl.expected.dxc.hlsl
@@ -12,14 +12,14 @@
 
 void deref_let() {
   int a[10] = (int[10])0;
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
 
 void no_deref_let() {
   int a[10] = (int[10])0;
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
diff --git a/test/tint/ptr_sugar/array.wgsl.expected.fxc.hlsl b/test/tint/ptr_sugar/array.wgsl.expected.fxc.hlsl
index c876ea4..ed5097a 100644
--- a/test/tint/ptr_sugar/array.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_sugar/array.wgsl.expected.fxc.hlsl
@@ -12,14 +12,14 @@
 
 void deref_let() {
   int a[10] = (int[10])0;
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
 
 void no_deref_let() {
   int a[10] = (int[10])0;
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
diff --git a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.dxc.hlsl b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.dxc.hlsl
index e995a25..a42bc9d 100644
--- a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.dxc.hlsl
@@ -4,25 +4,25 @@
 
 void deref() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_1 = 0;
+  int tint_symbol_1 = 0;
   set_vector_element(a, tint_symbol_1, (a[tint_symbol_1] + 42));
 }
 
 void no_deref() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_3 = 0;
+  int tint_symbol_3 = 0;
   set_vector_element(a, tint_symbol_3, (a[tint_symbol_3] + 42));
 }
 
 void deref_inc() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_5 = 0;
+  int tint_symbol_5 = 0;
   set_vector_element(a, tint_symbol_5, (a[tint_symbol_5] + 1));
 }
 
 void no_deref_inc() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_7 = 0;
+  int tint_symbol_7 = 0;
   set_vector_element(a, tint_symbol_7, (a[tint_symbol_7] + 1));
 }
 
diff --git a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.fxc.hlsl b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.fxc.hlsl
index e995a25..a42bc9d 100644
--- a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.fxc.hlsl
@@ -4,25 +4,25 @@
 
 void deref() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_1 = 0;
+  int tint_symbol_1 = 0;
   set_vector_element(a, tint_symbol_1, (a[tint_symbol_1] + 42));
 }
 
 void no_deref() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_3 = 0;
+  int tint_symbol_3 = 0;
   set_vector_element(a, tint_symbol_3, (a[tint_symbol_3] + 42));
 }
 
 void deref_inc() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_5 = 0;
+  int tint_symbol_5 = 0;
   set_vector_element(a, tint_symbol_5, (a[tint_symbol_5] + 1));
 }
 
 void no_deref_inc() {
   int3 a = int3(0, 0, 0);
-  const int tint_symbol_7 = 0;
+  int tint_symbol_7 = 0;
   set_vector_element(a, tint_symbol_7, (a[tint_symbol_7] + 1));
 }
 
diff --git a/test/tint/ptr_sugar/vector_index.wgsl.expected.dxc.hlsl b/test/tint/ptr_sugar/vector_index.wgsl.expected.dxc.hlsl
index 7d0de2e..72fa55c 100644
--- a/test/tint/ptr_sugar/vector_index.wgsl.expected.dxc.hlsl
+++ b/test/tint/ptr_sugar/vector_index.wgsl.expected.dxc.hlsl
@@ -12,14 +12,14 @@
 
 void deref_let() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
 
 void no_deref_let() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
@@ -33,7 +33,7 @@
 
 void no_deref_var() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
diff --git a/test/tint/ptr_sugar/vector_index.wgsl.expected.fxc.hlsl b/test/tint/ptr_sugar/vector_index.wgsl.expected.fxc.hlsl
index 7d0de2e..72fa55c 100644
--- a/test/tint/ptr_sugar/vector_index.wgsl.expected.fxc.hlsl
+++ b/test/tint/ptr_sugar/vector_index.wgsl.expected.fxc.hlsl
@@ -12,14 +12,14 @@
 
 void deref_let() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
 
 void no_deref_let() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
@@ -33,7 +33,7 @@
 
 void no_deref_var() {
   int3 a = int3(0, 0, 0);
-  const int i = 0;
+  int i = 0;
   int b = a[i];
   a[0] = 42;
 }
diff --git a/test/tint/samples/compute_boids.wgsl.expected.dxc.hlsl b/test/tint/samples/compute_boids.wgsl.expected.dxc.hlsl
index c51b8e4..0ac0dbe 100644
--- a/test/tint/samples/compute_boids.wgsl.expected.dxc.hlsl
+++ b/test/tint/samples/compute_boids.wgsl.expected.dxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol_2 vert_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vert_main_inner(tint_symbol.a_particlePos, tint_symbol.a_particleVel, tint_symbol.a_pos);
+  float4 inner_result = vert_main_inner(tint_symbol.a_particlePos, tint_symbol.a_particleVel, tint_symbol.a_pos);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -29,7 +29,7 @@
 }
 
 tint_symbol_3 frag_main() {
-  const float4 inner_result_1 = frag_main_inner();
+  float4 inner_result_1 = frag_main_inner();
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/samples/compute_boids.wgsl.expected.fxc.hlsl b/test/tint/samples/compute_boids.wgsl.expected.fxc.hlsl
index c51b8e4..0ac0dbe 100644
--- a/test/tint/samples/compute_boids.wgsl.expected.fxc.hlsl
+++ b/test/tint/samples/compute_boids.wgsl.expected.fxc.hlsl
@@ -14,7 +14,7 @@
 }
 
 tint_symbol_2 vert_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vert_main_inner(tint_symbol.a_particlePos, tint_symbol.a_particleVel, tint_symbol.a_pos);
+  float4 inner_result = vert_main_inner(tint_symbol.a_particlePos, tint_symbol.a_particleVel, tint_symbol.a_pos);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -29,7 +29,7 @@
 }
 
 tint_symbol_3 frag_main() {
-  const float4 inner_result_1 = frag_main_inner();
+  float4 inner_result_1 = frag_main_inner();
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/samples/cube.wgsl.expected.dxc.hlsl b/test/tint/samples/cube.wgsl.expected.dxc.hlsl
index 9d7239e..518ce1a 100644
--- a/test/tint/samples/cube.wgsl.expected.dxc.hlsl
+++ b/test/tint/samples/cube.wgsl.expected.dxc.hlsl
@@ -35,8 +35,8 @@
 }
 
 tint_symbol_2 vtx_main(tint_symbol_1 tint_symbol) {
-  const VertexInput tint_symbol_6 = {tint_symbol.cur_position, tint_symbol.color};
-  const VertexOutput inner_result = vtx_main_inner(tint_symbol_6);
+  VertexInput tint_symbol_6 = {tint_symbol.cur_position, tint_symbol.color};
+  VertexOutput inner_result = vtx_main_inner(tint_symbol_6);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.vtxFragColor = inner_result.vtxFragColor;
   wrapper_result.Position = inner_result.Position;
@@ -55,7 +55,7 @@
 }
 
 tint_symbol_5 frag_main(tint_symbol_4 tint_symbol_3) {
-  const float4 inner_result_1 = frag_main_inner(tint_symbol_3.fragColor);
+  float4 inner_result_1 = frag_main_inner(tint_symbol_3.fragColor);
   tint_symbol_5 wrapper_result_1 = (tint_symbol_5)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/samples/cube.wgsl.expected.fxc.hlsl b/test/tint/samples/cube.wgsl.expected.fxc.hlsl
index 9d7239e..518ce1a 100644
--- a/test/tint/samples/cube.wgsl.expected.fxc.hlsl
+++ b/test/tint/samples/cube.wgsl.expected.fxc.hlsl
@@ -35,8 +35,8 @@
 }
 
 tint_symbol_2 vtx_main(tint_symbol_1 tint_symbol) {
-  const VertexInput tint_symbol_6 = {tint_symbol.cur_position, tint_symbol.color};
-  const VertexOutput inner_result = vtx_main_inner(tint_symbol_6);
+  VertexInput tint_symbol_6 = {tint_symbol.cur_position, tint_symbol.color};
+  VertexOutput inner_result = vtx_main_inner(tint_symbol_6);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.vtxFragColor = inner_result.vtxFragColor;
   wrapper_result.Position = inner_result.Position;
@@ -55,7 +55,7 @@
 }
 
 tint_symbol_5 frag_main(tint_symbol_4 tint_symbol_3) {
-  const float4 inner_result_1 = frag_main_inner(tint_symbol_3.fragColor);
+  float4 inner_result_1 = frag_main_inner(tint_symbol_3.fragColor);
   tint_symbol_5 wrapper_result_1 = (tint_symbol_5)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/samples/simple.wgsl.expected.dxc.hlsl b/test/tint/samples/simple.wgsl.expected.dxc.hlsl
index 5259446..da00a03 100644
--- a/test/tint/samples/simple.wgsl.expected.dxc.hlsl
+++ b/test/tint/samples/simple.wgsl.expected.dxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/samples/simple.wgsl.expected.fxc.hlsl b/test/tint/samples/simple.wgsl.expected.fxc.hlsl
index 5259446..da00a03 100644
--- a/test/tint/samples/simple.wgsl.expected.fxc.hlsl
+++ b/test/tint/samples/simple.wgsl.expected.fxc.hlsl
@@ -12,7 +12,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/samples/simple_vertex.spvasm.expected.dxc.hlsl b/test/tint/samples/simple_vertex.spvasm.expected.dxc.hlsl
index 1971edd..32b9b95 100644
--- a/test/tint/samples/simple_vertex.spvasm.expected.dxc.hlsl
+++ b/test/tint/samples/simple_vertex.spvasm.expected.dxc.hlsl
@@ -14,12 +14,12 @@
 
 main_out main_inner() {
   main_1();
-  const main_out tint_symbol_1 = {gl_Position};
+  main_out tint_symbol_1 = {gl_Position};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const main_out inner_result = main_inner();
+  main_out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.gl_Position = inner_result.gl_Position;
   return wrapper_result;
diff --git a/test/tint/samples/simple_vertex.spvasm.expected.fxc.hlsl b/test/tint/samples/simple_vertex.spvasm.expected.fxc.hlsl
index 1971edd..32b9b95 100644
--- a/test/tint/samples/simple_vertex.spvasm.expected.fxc.hlsl
+++ b/test/tint/samples/simple_vertex.spvasm.expected.fxc.hlsl
@@ -14,12 +14,12 @@
 
 main_out main_inner() {
   main_1();
-  const main_out tint_symbol_1 = {gl_Position};
+  main_out tint_symbol_1 = {gl_Position};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const main_out inner_result = main_inner();
+  main_out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.gl_Position = inner_result.gl_Position;
   return wrapper_result;
diff --git a/test/tint/samples/triangle.wgsl.expected.dxc.hlsl b/test/tint/samples/triangle.wgsl.expected.dxc.hlsl
index ee8118cd..827cc24 100644
--- a/test/tint/samples/triangle.wgsl.expected.dxc.hlsl
+++ b/test/tint/samples/triangle.wgsl.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 float4 vtx_main_inner(uint VertexIndex) {
-  const float2 tint_symbol_4[3] = {float2(0.0f, 0.5f), (-0.5f).xx, float2(0.5f, -0.5f)};
+  float2 tint_symbol_4[3] = {float2(0.0f, 0.5f), (-0.5f).xx, float2(0.5f, -0.5f)};
   return float4(tint_symbol_4[VertexIndex], 0.0f, 1.0f);
 }
 
 tint_symbol_2 vtx_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vtx_main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = vtx_main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -26,7 +26,7 @@
 }
 
 tint_symbol_3 frag_main() {
-  const float4 inner_result_1 = frag_main_inner();
+  float4 inner_result_1 = frag_main_inner();
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/samples/triangle.wgsl.expected.fxc.hlsl b/test/tint/samples/triangle.wgsl.expected.fxc.hlsl
index ee8118cd..827cc24 100644
--- a/test/tint/samples/triangle.wgsl.expected.fxc.hlsl
+++ b/test/tint/samples/triangle.wgsl.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 float4 vtx_main_inner(uint VertexIndex) {
-  const float2 tint_symbol_4[3] = {float2(0.0f, 0.5f), (-0.5f).xx, float2(0.5f, -0.5f)};
+  float2 tint_symbol_4[3] = {float2(0.0f, 0.5f), (-0.5f).xx, float2(0.5f, -0.5f)};
   return float4(tint_symbol_4[VertexIndex], 0.0f, 1.0f);
 }
 
 tint_symbol_2 vtx_main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = vtx_main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = vtx_main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -26,7 +26,7 @@
 }
 
 tint_symbol_3 frag_main() {
-  const float4 inner_result_1 = frag_main_inner();
+  float4 inner_result_1 = frag_main_inner();
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/shadowing/alias/let.wgsl.expected.dxc.hlsl b/test/tint/shadowing/alias/let.wgsl.expected.dxc.hlsl
index ad5e104..7b1a2a0 100644
--- a/test/tint/shadowing/alias/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/alias/let.wgsl.expected.dxc.hlsl
@@ -5,9 +5,9 @@
 
 void f() {
   {
-    const int a_1 = 0;
-    const int b = a_1;
+    int a_1 = 0;
+    int b = a_1;
   }
-  const int a_2 = 0;
-  const int b = a_2;
+  int a_2 = 0;
+  int b = a_2;
 }
diff --git a/test/tint/shadowing/alias/let.wgsl.expected.fxc.hlsl b/test/tint/shadowing/alias/let.wgsl.expected.fxc.hlsl
index ad5e104..7b1a2a0 100644
--- a/test/tint/shadowing/alias/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/alias/let.wgsl.expected.fxc.hlsl
@@ -5,9 +5,9 @@
 
 void f() {
   {
-    const int a_1 = 0;
-    const int b = a_1;
+    int a_1 = 0;
+    int b = a_1;
   }
-  const int a_2 = 0;
-  const int b = a_2;
+  int a_2 = 0;
+  int b = a_2;
 }
diff --git a/test/tint/shadowing/alias/param.wgsl.expected.dxc.hlsl b/test/tint/shadowing/alias/param.wgsl.expected.dxc.hlsl
index b48a6b1..7993dee 100644
--- a/test/tint/shadowing/alias/param.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/alias/param.wgsl.expected.dxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void f(int a_1) {
-  const int b = a_1;
+  int b = a_1;
 }
diff --git a/test/tint/shadowing/alias/param.wgsl.expected.fxc.hlsl b/test/tint/shadowing/alias/param.wgsl.expected.fxc.hlsl
index b48a6b1..7993dee 100644
--- a/test/tint/shadowing/alias/param.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/alias/param.wgsl.expected.fxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void f(int a_1) {
-  const int b = a_1;
+  int b = a_1;
 }
diff --git a/test/tint/shadowing/function/let.wgsl.expected.dxc.hlsl b/test/tint/shadowing/function/let.wgsl.expected.dxc.hlsl
index 3319c80..d74070f 100644
--- a/test/tint/shadowing/function/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/function/let.wgsl.expected.dxc.hlsl
@@ -8,6 +8,6 @@
     int a_1 = 1;
     int b = a_1;
   }
-  const int a_2 = 1;
-  const int b = a_2;
+  int a_2 = 1;
+  int b = a_2;
 }
diff --git a/test/tint/shadowing/function/let.wgsl.expected.fxc.hlsl b/test/tint/shadowing/function/let.wgsl.expected.fxc.hlsl
index 3319c80..d74070f 100644
--- a/test/tint/shadowing/function/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/function/let.wgsl.expected.fxc.hlsl
@@ -8,6 +8,6 @@
     int a_1 = 1;
     int b = a_1;
   }
-  const int a_2 = 1;
-  const int b = a_2;
+  int a_2 = 1;
+  int b = a_2;
 }
diff --git a/test/tint/shadowing/function/param.wgsl.expected.dxc.hlsl b/test/tint/shadowing/function/param.wgsl.expected.dxc.hlsl
index f06b78f..09e237e 100644
--- a/test/tint/shadowing/function/param.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/function/param.wgsl.expected.dxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void a(int a_1) {
-  const int b = a_1;
+  int b = a_1;
 }
diff --git a/test/tint/shadowing/function/param.wgsl.expected.fxc.hlsl b/test/tint/shadowing/function/param.wgsl.expected.fxc.hlsl
index f06b78f..09e237e 100644
--- a/test/tint/shadowing/function/param.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/function/param.wgsl.expected.fxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void a(int a_1) {
-  const int b = a_1;
+  int b = a_1;
 }
diff --git a/test/tint/shadowing/param/let.wgsl.expected.dxc.hlsl b/test/tint/shadowing/param/let.wgsl.expected.dxc.hlsl
index b78fca1..33ab9f1 100644
--- a/test/tint/shadowing/param/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/param/let.wgsl.expected.dxc.hlsl
@@ -5,7 +5,7 @@
 
 void f(int a) {
   {
-    const int a_1 = a;
-    const int b = a_1;
+    int a_1 = a;
+    int b = a_1;
   }
 }
diff --git a/test/tint/shadowing/param/let.wgsl.expected.fxc.hlsl b/test/tint/shadowing/param/let.wgsl.expected.fxc.hlsl
index b78fca1..33ab9f1 100644
--- a/test/tint/shadowing/param/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/param/let.wgsl.expected.fxc.hlsl
@@ -5,7 +5,7 @@
 
 void f(int a) {
   {
-    const int a_1 = a;
-    const int b = a_1;
+    int a_1 = a;
+    int b = a_1;
   }
 }
diff --git a/test/tint/shadowing/short_names/let.wgsl.expected.dxc.hlsl b/test/tint/shadowing/short_names/let.wgsl.expected.dxc.hlsl
index 0e6094b..8a019ba 100644
--- a/test/tint/shadowing/short_names/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/short_names/let.wgsl.expected.dxc.hlsl
@@ -5,9 +5,9 @@
 
 void f() {
   {
-    const int vec3f = 1;
-    const int b = vec3f;
+    int vec3f = 1;
+    int b = vec3f;
   }
-  const float3 c = (0.0f).xxx;
-  const float3 d = (0.0f).xxx;
+  float3 c = (0.0f).xxx;
+  float3 d = (0.0f).xxx;
 }
diff --git a/test/tint/shadowing/short_names/let.wgsl.expected.fxc.hlsl b/test/tint/shadowing/short_names/let.wgsl.expected.fxc.hlsl
index 0e6094b..8a019ba 100644
--- a/test/tint/shadowing/short_names/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/short_names/let.wgsl.expected.fxc.hlsl
@@ -5,9 +5,9 @@
 
 void f() {
   {
-    const int vec3f = 1;
-    const int b = vec3f;
+    int vec3f = 1;
+    int b = vec3f;
   }
-  const float3 c = (0.0f).xxx;
-  const float3 d = (0.0f).xxx;
+  float3 c = (0.0f).xxx;
+  float3 d = (0.0f).xxx;
 }
diff --git a/test/tint/shadowing/short_names/param.wgsl.expected.dxc.hlsl b/test/tint/shadowing/short_names/param.wgsl.expected.dxc.hlsl
index 9cd33b7..2bebfca 100644
--- a/test/tint/shadowing/short_names/param.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/short_names/param.wgsl.expected.dxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void f(float3 vec3f) {
-  const float3 b = vec3f;
+  float3 b = vec3f;
 }
diff --git a/test/tint/shadowing/short_names/param.wgsl.expected.fxc.hlsl b/test/tint/shadowing/short_names/param.wgsl.expected.fxc.hlsl
index 9cd33b7..2bebfca 100644
--- a/test/tint/shadowing/short_names/param.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/short_names/param.wgsl.expected.fxc.hlsl
@@ -4,5 +4,5 @@
 }
 
 void f(float3 vec3f) {
-  const float3 b = vec3f;
+  float3 b = vec3f;
 }
diff --git a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.dxc.hlsl b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.dxc.hlsl
index b3bb46b..3e15c85 100644
--- a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.dxc.hlsl
@@ -18,16 +18,16 @@
 };
 
 float4 main_inner(uint VertexIndex) {
-  const float4 tint_symbol = (0.0f).xxxx;
-  const float4 tint_symbol_1 = (1.0f).xxxx;
-  const int tint_symbol_2 = vec4f();
-  const float tint_symbol_3 = vec2f(tint_symbol_2);
-  const bool tint_symbol_4 = vec2i(tint_symbol_3);
+  float4 tint_symbol = (0.0f).xxxx;
+  float4 tint_symbol_1 = (1.0f).xxxx;
+  int tint_symbol_2 = vec4f();
+  float tint_symbol_3 = vec2f(tint_symbol_2);
+  bool tint_symbol_4 = vec2i(tint_symbol_3);
   return (tint_symbol_4 ? tint_symbol_1 : tint_symbol);
 }
 
 tint_symbol_7 main(tint_symbol_6 tint_symbol_5) {
-  const float4 inner_result = main_inner(tint_symbol_5.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol_5.VertexIndex);
   tint_symbol_7 wrapper_result = (tint_symbol_7)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.fxc.hlsl b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.fxc.hlsl
index b3bb46b..3e15c85 100644
--- a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.fxc.hlsl
@@ -18,16 +18,16 @@
 };
 
 float4 main_inner(uint VertexIndex) {
-  const float4 tint_symbol = (0.0f).xxxx;
-  const float4 tint_symbol_1 = (1.0f).xxxx;
-  const int tint_symbol_2 = vec4f();
-  const float tint_symbol_3 = vec2f(tint_symbol_2);
-  const bool tint_symbol_4 = vec2i(tint_symbol_3);
+  float4 tint_symbol = (0.0f).xxxx;
+  float4 tint_symbol_1 = (1.0f).xxxx;
+  int tint_symbol_2 = vec4f();
+  float tint_symbol_3 = vec2f(tint_symbol_2);
+  bool tint_symbol_4 = vec2i(tint_symbol_3);
   return (tint_symbol_4 ? tint_symbol_1 : tint_symbol);
 }
 
 tint_symbol_7 main(tint_symbol_6 tint_symbol_5) {
-  const float4 inner_result = main_inner(tint_symbol_5.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol_5.VertexIndex);
   tint_symbol_7 wrapper_result = (tint_symbol_7)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.dxc.hlsl b/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.dxc.hlsl
index e32fc26..491d290 100644
--- a/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.fxc.hlsl b/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.fxc.hlsl
index e32fc26..491d290 100644
--- a/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/renamer.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.dxc.hlsl b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.dxc.hlsl
index 170aef3..fca2096 100644
--- a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.dxc.hlsl
@@ -9,14 +9,14 @@
 };
 
 float4 main_inner(uint VertexIndex) {
-  const vec4f s = {1};
-  const float f = float(s.i);
-  const bool b = bool(f);
+  vec4f s = {1};
+  float f = float(s.i);
+  bool b = bool(f);
   return (b ? (1.0f).xxxx : (0.0f).xxxx);
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.fxc.hlsl b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.fxc.hlsl
index 170aef3..fca2096 100644
--- a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.fxc.hlsl
@@ -9,14 +9,14 @@
 };
 
 float4 main_inner(uint VertexIndex) {
-  const vec4f s = {1};
-  const float f = float(s.i);
-  const bool b = bool(f);
+  vec4f s = {1};
+  float f = float(s.i);
+  bool b = bool(f);
   return (b ? (1.0f).xxxx : (0.0f).xxxx);
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/shadowing/struct/let.wgsl.expected.dxc.hlsl b/test/tint/shadowing/struct/let.wgsl.expected.dxc.hlsl
index c4cb81d5..96ed541 100644
--- a/test/tint/shadowing/struct/let.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/struct/let.wgsl.expected.dxc.hlsl
@@ -9,9 +9,9 @@
 
 void f() {
   {
-    const a a_1 = (a)0;
-    const a b = a_1;
+    a a_1 = (a)0;
+    a b = a_1;
   }
-  const a a_2 = (a)0;
-  const a b = a_2;
+  a a_2 = (a)0;
+  a b = a_2;
 }
diff --git a/test/tint/shadowing/struct/let.wgsl.expected.fxc.hlsl b/test/tint/shadowing/struct/let.wgsl.expected.fxc.hlsl
index c4cb81d5..96ed541 100644
--- a/test/tint/shadowing/struct/let.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/struct/let.wgsl.expected.fxc.hlsl
@@ -9,9 +9,9 @@
 
 void f() {
   {
-    const a a_1 = (a)0;
-    const a b = a_1;
+    a a_1 = (a)0;
+    a b = a_1;
   }
-  const a a_2 = (a)0;
-  const a b = a_2;
+  a a_2 = (a)0;
+  a b = a_2;
 }
diff --git a/test/tint/shadowing/struct/param.wgsl.expected.dxc.hlsl b/test/tint/shadowing/struct/param.wgsl.expected.dxc.hlsl
index 03c3814..1f4c339 100644
--- a/test/tint/shadowing/struct/param.wgsl.expected.dxc.hlsl
+++ b/test/tint/shadowing/struct/param.wgsl.expected.dxc.hlsl
@@ -8,5 +8,5 @@
 };
 
 void f(a a_1) {
-  const a b = a_1;
+  a b = a_1;
 }
diff --git a/test/tint/shadowing/struct/param.wgsl.expected.fxc.hlsl b/test/tint/shadowing/struct/param.wgsl.expected.fxc.hlsl
index 03c3814..1f4c339 100644
--- a/test/tint/shadowing/struct/param.wgsl.expected.fxc.hlsl
+++ b/test/tint/shadowing/struct/param.wgsl.expected.fxc.hlsl
@@ -8,5 +8,5 @@
 };
 
 void f(a a_1) {
-  const a b = a_1;
+  a b = a_1;
 }
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.dxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.dxc.hlsl
index e80d207..0adc404 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.dxc.hlsl
@@ -25,8 +25,8 @@
   OuterS s = (OuterS)0;
   {
     S1 tint_symbol_1[8] = s.a1;
-    const uint tint_symbol_4 = getNextIndex();
-    const uint tint_symbol_2_save = tint_symbol_4;
+    uint tint_symbol_4 = getNextIndex();
+    uint tint_symbol_2_save = tint_symbol_4;
     InnerS tint_symbol_3[8] = tint_symbol_1[tint_symbol_2_save].a2;
     tint_symbol_3[uniforms[0].y] = v;
     tint_symbol_1[tint_symbol_2_save].a2 = tint_symbol_3;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.fxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.fxc.hlsl
index e80d207..0adc404 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/indexing_with_side_effect_func.wgsl.expected.fxc.hlsl
@@ -25,8 +25,8 @@
   OuterS s = (OuterS)0;
   {
     S1 tint_symbol_1[8] = s.a1;
-    const uint tint_symbol_4 = getNextIndex();
-    const uint tint_symbol_2_save = tint_symbol_4;
+    uint tint_symbol_4 = getNextIndex();
+    uint tint_symbol_2_save = tint_symbol_4;
     InnerS tint_symbol_3[8] = tint_symbol_1[tint_symbol_2_save].a2;
     tint_symbol_3[uniforms[0].y] = v;
     tint_symbol_1[tint_symbol_2_save].a2 = tint_symbol_3;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.dxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.dxc.hlsl
index f411372..932efcc 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
   OuterS s = (OuterS)0;
   {
     S1 tint_symbol_1[8] = s.a1;
-    const uint tint_symbol_2_save = uniforms[0].x;
+    uint tint_symbol_2_save = uniforms[0].x;
     InnerS tint_symbol_3[8] = tint_symbol_1[tint_symbol_2_save].a2;
     tint_symbol_3[uniforms[0].y] = v;
     tint_symbol_1[tint_symbol_2_save].a2 = tint_symbol_3;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.fxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.fxc.hlsl
index f411372..932efcc 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_array_struct_array.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
   OuterS s = (OuterS)0;
   {
     S1 tint_symbol_1[8] = s.a1;
-    const uint tint_symbol_2_save = uniforms[0].x;
+    uint tint_symbol_2_save = uniforms[0].x;
     InnerS tint_symbol_3[8] = tint_symbol_1[tint_symbol_2_save].a2;
     tint_symbol_3[uniforms[0].y] = v;
     tint_symbol_1[tint_symbol_2_save].a2 = tint_symbol_3;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.dxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.dxc.hlsl
index 1676c4b..57bae19 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.dxc.hlsl
@@ -19,7 +19,7 @@
   OuterS s1 = (OuterS)0;
   float3 v = float3(0.0f, 0.0f, 0.0f);
   set_vector_element(v, s1.a1[uniforms[0].x], 1.0f);
-  const uint tint_symbol = f(s1.a1[uniforms[0].x]);
+  uint tint_symbol = f(s1.a1[uniforms[0].x]);
   set_vector_element(v, tint_symbol, 1.0f);
   return;
 }
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.fxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.fxc.hlsl
index 1676c4b..57bae19 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/vector_assign.wgsl.expected.fxc.hlsl
@@ -19,7 +19,7 @@
   OuterS s1 = (OuterS)0;
   float3 v = float3(0.0f, 0.0f, 0.0f);
   set_vector_element(v, s1.a1[uniforms[0].x], 1.0f);
-  const uint tint_symbol = f(s1.a1[uniforms[0].x]);
+  uint tint_symbol = f(s1.a1[uniforms[0].x]);
   set_vector_element(v, tint_symbol, 1.0f);
   return;
 }
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.dxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.dxc.hlsl
index 8cedd87..a8628ef 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.dxc.hlsl
@@ -13,7 +13,7 @@
 void main() {
   InnerS v = (InnerS)0;
   OuterS s1 = (OuterS)0;
-  const uint p_save = uniforms[0].x;
+  uint p_save = uniforms[0].x;
   {
     InnerS tint_symbol_1[8] = s1.a1;
     tint_symbol_1[p_save] = v;
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.fxc.hlsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.fxc.hlsl
index 8cedd87..a8628ef 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.fxc.hlsl
@@ -13,7 +13,7 @@
 void main() {
   InnerS v = (InnerS)0;
   OuterS s1 = (OuterS)0;
-  const uint p_save = uniforms[0].x;
+  uint p_save = uniforms[0].x;
   {
     InnerS tint_symbol_1[8] = s1.a1;
     tint_symbol_1[p_save] = v;
diff --git a/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.dxc.hlsl b/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.dxc.hlsl
index 12c8813..437a07d 100644
--- a/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.dxc.hlsl
@@ -4,9 +4,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int tint_symbol = f(1, 2, 3);
-  const int tint_symbol_1 = f(4, 5, 6);
-  const int tint_symbol_2 = f(8, 9, 10);
-  const int tint_symbol_3 = f(7, tint_symbol_2, 11);
+  int tint_symbol = f(1, 2, 3);
+  int tint_symbol_1 = f(4, 5, 6);
+  int tint_symbol_2 = f(8, 9, 10);
+  int tint_symbol_3 = f(7, tint_symbol_2, 11);
   return;
 }
diff --git a/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.fxc.hlsl b/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.fxc.hlsl
index 12c8813..437a07d 100644
--- a/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/assign/phony/multiple_side_effects.wgsl.expected.fxc.hlsl
@@ -4,9 +4,9 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int tint_symbol = f(1, 2, 3);
-  const int tint_symbol_1 = f(4, 5, 6);
-  const int tint_symbol_2 = f(8, 9, 10);
-  const int tint_symbol_3 = f(7, tint_symbol_2, 11);
+  int tint_symbol = f(1, 2, 3);
+  int tint_symbol_1 = f(4, 5, 6);
+  int tint_symbol_2 = f(8, 9, 10);
+  int tint_symbol_3 = f(7, tint_symbol_2, 11);
   return;
 }
diff --git a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.dxc.hlsl
index b3add26..bad2fa5 100644
--- a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.dxc.hlsl
@@ -25,8 +25,8 @@
 
 void main() {
   S x = (S)0;
-  const int tint_symbol_save = foo();
-  const int tint_symbol_1 = bar();
+  int tint_symbol_save = foo();
+  int tint_symbol_1 = bar();
   {
     int4 tint_symbol_3[4] = x.a;
     set_vector_element(tint_symbol_3[tint_symbol_save], tint_symbol_1, (x.a[tint_symbol_save][tint_symbol_1] + 5));
diff --git a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.fxc.hlsl
index b3add26..bad2fa5 100644
--- a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.fxc.hlsl
@@ -25,8 +25,8 @@
 
 void main() {
   S x = (S)0;
-  const int tint_symbol_save = foo();
-  const int tint_symbol_1 = bar();
+  int tint_symbol_save = foo();
+  int tint_symbol_1 = bar();
   {
     int4 tint_symbol_3[4] = x.a;
     set_vector_element(tint_symbol_3[tint_symbol_save], tint_symbol_1, (x.a[tint_symbol_save][tint_symbol_1] + 5));
diff --git a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.dxc.hlsl
index cd21f94..aeb066f 100644
--- a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.dxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.fxc.hlsl
index cd21f94..aeb066f 100644
--- a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.fxc.hlsl
@@ -15,7 +15,7 @@
 }
 
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/for_loop.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/for_loop.wgsl.expected.dxc.hlsl
index ab9b8ee..7c05eb7 100644
--- a/test/tint/statements/compound_assign/for_loop.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/for_loop.wgsl.expected.dxc.hlsl
@@ -24,17 +24,17 @@
 void foo() {
   float a[4] = (float[4])0;
   {
-    const int tint_symbol_save = idx1();
+    int tint_symbol_save = idx1();
     a[tint_symbol_save] = (a[tint_symbol_save] * 2.0f);
     while (true) {
-      const int tint_symbol_2 = idx2();
+      int tint_symbol_2 = idx2();
       if (!((a[tint_symbol_2] < 10.0f))) {
         break;
       }
       {
       }
       {
-        const int tint_symbol_1_save = idx3();
+        int tint_symbol_1_save = idx3();
         a[tint_symbol_1_save] = (a[tint_symbol_1_save] + 1.0f);
       }
     }
diff --git a/test/tint/statements/compound_assign/for_loop.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/for_loop.wgsl.expected.fxc.hlsl
index ab9b8ee..7c05eb7 100644
--- a/test/tint/statements/compound_assign/for_loop.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/for_loop.wgsl.expected.fxc.hlsl
@@ -24,17 +24,17 @@
 void foo() {
   float a[4] = (float[4])0;
   {
-    const int tint_symbol_save = idx1();
+    int tint_symbol_save = idx1();
     a[tint_symbol_save] = (a[tint_symbol_save] * 2.0f);
     while (true) {
-      const int tint_symbol_2 = idx2();
+      int tint_symbol_2 = idx2();
       if (!((a[tint_symbol_2] < 10.0f))) {
         break;
       }
       {
       }
       {
-        const int tint_symbol_1_save = idx3();
+        int tint_symbol_1_save = idx3();
         a[tint_symbol_1_save] = (a[tint_symbol_1_save] + 1.0f);
       }
     }
diff --git a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.dxc.hlsl
index 66d92d9..3fa081d 100644
--- a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer v : register(u0);
 
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.fxc.hlsl
index 66d92d9..3fa081d 100644
--- a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer v : register(u0);
 
 int tint_mod(int lhs, int rhs) {
-  const int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
+  int rhs_or_one = (((rhs == 0) | ((lhs == -2147483648) & (rhs == -1))) ? 1 : rhs);
   if (any(((uint((lhs | rhs_or_one)) & 2147483648u) != 0u))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.dxc.hlsl
index 0a20781..08004fe 100644
--- a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.dxc.hlsl
@@ -6,8 +6,8 @@
 RWByteAddressBuffer v : register(u0);
 
 int4 tint_mod(int4 lhs, int rhs) {
-  const int4 r = int4((rhs).xxxx);
-  const int4 rhs_or_one = (((r == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (r == (-1).xxxx))) ? (1).xxxx : r);
+  int4 r = int4((rhs).xxxx);
+  int4 rhs_or_one = (((r == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (r == (-1).xxxx))) ? (1).xxxx : r);
   if (any(((uint4((lhs | rhs_or_one)) & (2147483648u).xxxx) != (0u).xxxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.fxc.hlsl
index 0a20781..08004fe 100644
--- a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.fxc.hlsl
@@ -6,8 +6,8 @@
 RWByteAddressBuffer v : register(u0);
 
 int4 tint_mod(int4 lhs, int rhs) {
-  const int4 r = int4((rhs).xxxx);
-  const int4 rhs_or_one = (((r == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (r == (-1).xxxx))) ? (1).xxxx : r);
+  int4 r = int4((rhs).xxxx);
+  int4 rhs_or_one = (((r == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (r == (-1).xxxx))) ? (1).xxxx : r);
   if (any(((uint4((lhs | rhs_or_one)) & (2147483648u).xxxx) != (0u).xxxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.dxc.hlsl b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.dxc.hlsl
index 5ef8841..e95b429 100644
--- a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer v : register(u0);
 
 int4 tint_mod(int4 lhs, int4 rhs) {
-  const int4 rhs_or_one = (((rhs == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (rhs == (-1).xxxx))) ? (1).xxxx : rhs);
+  int4 rhs_or_one = (((rhs == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (rhs == (-1).xxxx))) ? (1).xxxx : rhs);
   if (any(((uint4((lhs | rhs_or_one)) & (2147483648u).xxxx) != (0u).xxxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.fxc.hlsl b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.fxc.hlsl
index 5ef8841..e95b429 100644
--- a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer v : register(u0);
 
 int4 tint_mod(int4 lhs, int4 rhs) {
-  const int4 rhs_or_one = (((rhs == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (rhs == (-1).xxxx))) ? (1).xxxx : rhs);
+  int4 rhs_or_one = (((rhs == (0).xxxx) | ((lhs == (-2147483648).xxxx) & (rhs == (-1).xxxx))) ? (1).xxxx : rhs);
   if (any(((uint4((lhs | rhs_or_one)) & (2147483648u).xxxx) != (0u).xxxx))) {
     return (lhs - ((lhs / rhs_or_one) * rhs_or_one));
   } else {
diff --git a/test/tint/statements/decrement/complex.wgsl.expected.dxc.hlsl b/test/tint/statements/decrement/complex.wgsl.expected.dxc.hlsl
index 37b5133..8d8d087 100644
--- a/test/tint/statements/decrement/complex.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/decrement/complex.wgsl.expected.dxc.hlsl
@@ -38,9 +38,9 @@
 
 void main() {
   {
-    const int tint_symbol_save = idx1();
-    const int tint_symbol_save_1 = idx2();
-    const int tint_symbol_1 = idx3();
+    int tint_symbol_save = idx1();
+    int tint_symbol_save_1 = idx2();
+    int tint_symbol_1 = idx3();
     buffer.Store((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))))) - 1)));
     while (true) {
       if (!((v < 10u))) {
@@ -49,9 +49,9 @@
       {
       }
       {
-        const int tint_symbol_2_save = idx4();
-        const int tint_symbol_2_save_1 = idx5();
-        const int tint_symbol_3 = idx6();
+        int tint_symbol_2_save = idx4();
+        int tint_symbol_2_save_1 = idx5();
+        int tint_symbol_3 = idx6();
         buffer.Store((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))))) - 1)));
       }
     }
diff --git a/test/tint/statements/decrement/complex.wgsl.expected.fxc.hlsl b/test/tint/statements/decrement/complex.wgsl.expected.fxc.hlsl
index 37b5133..8d8d087 100644
--- a/test/tint/statements/decrement/complex.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/decrement/complex.wgsl.expected.fxc.hlsl
@@ -38,9 +38,9 @@
 
 void main() {
   {
-    const int tint_symbol_save = idx1();
-    const int tint_symbol_save_1 = idx2();
-    const int tint_symbol_1 = idx3();
+    int tint_symbol_save = idx1();
+    int tint_symbol_save_1 = idx2();
+    int tint_symbol_1 = idx3();
     buffer.Store((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))))) - 1)));
     while (true) {
       if (!((v < 10u))) {
@@ -49,9 +49,9 @@
       {
       }
       {
-        const int tint_symbol_2_save = idx4();
-        const int tint_symbol_2_save_1 = idx5();
-        const int tint_symbol_3 = idx6();
+        int tint_symbol_2_save = idx4();
+        int tint_symbol_2_save_1 = idx5();
+        int tint_symbol_3 = idx6();
         buffer.Store((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))))) - 1)));
       }
     }
diff --git a/test/tint/statements/decrement/vector_component.wgsl.expected.dxc.hlsl b/test/tint/statements/decrement/vector_component.wgsl.expected.dxc.hlsl
index f585795..cc37da7 100644
--- a/test/tint/statements/decrement/vector_component.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/decrement/vector_component.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer a : register(u0);
 
 void main() {
-  const int tint_symbol_1 = 1;
+  int tint_symbol_1 = 1;
   a.Store((4u * uint(tint_symbol_1)), asuint((a.Load((4u * uint(tint_symbol_1))) - 1u)));
   a.Store(8u, asuint((a.Load(8u) - 1u)));
 }
diff --git a/test/tint/statements/decrement/vector_component.wgsl.expected.fxc.hlsl b/test/tint/statements/decrement/vector_component.wgsl.expected.fxc.hlsl
index f585795..cc37da7 100644
--- a/test/tint/statements/decrement/vector_component.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/decrement/vector_component.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer a : register(u0);
 
 void main() {
-  const int tint_symbol_1 = 1;
+  int tint_symbol_1 = 1;
   a.Store((4u * uint(tint_symbol_1)), asuint((a.Load((4u * uint(tint_symbol_1))) - 1u)));
   a.Store(8u, asuint((a.Load(8u) - 1u)));
 }
diff --git a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.dxc.hlsl b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.dxc.hlsl
index 2f5f807..8ea00c1 100644
--- a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.dxc.hlsl
@@ -28,11 +28,11 @@
   int x = 0;
   tint_symbol_2 tint_symbol_1 = (tint_symbol_2)0;
   if (!(tint_discarded)) {
-    const atomic_compare_exchange_result_i32 tint_symbol_3 = aatomicCompareExchangeWeak(0u, 0, 1);
+    atomic_compare_exchange_result_i32 tint_symbol_3 = aatomicCompareExchangeWeak(0u, 0, 1);
     tint_symbol_1.old_value = tint_symbol_3.old_value;
     tint_symbol_1.exchanged = tint_symbol_3.exchanged;
   }
-  const tint_symbol_2 result = tint_symbol_1;
+  tint_symbol_2 result = tint_symbol_1;
   if (result.exchanged) {
     x = result.old_value;
   }
@@ -40,7 +40,7 @@
 }
 
 tint_symbol foo() {
-  const int inner_result = foo_inner();
+  int inner_result = foo_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.fxc.hlsl b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.fxc.hlsl
index 2f5f807..8ea00c1 100644
--- a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.fxc.hlsl
@@ -28,11 +28,11 @@
   int x = 0;
   tint_symbol_2 tint_symbol_1 = (tint_symbol_2)0;
   if (!(tint_discarded)) {
-    const atomic_compare_exchange_result_i32 tint_symbol_3 = aatomicCompareExchangeWeak(0u, 0, 1);
+    atomic_compare_exchange_result_i32 tint_symbol_3 = aatomicCompareExchangeWeak(0u, 0, 1);
     tint_symbol_1.old_value = tint_symbol_3.old_value;
     tint_symbol_1.exchanged = tint_symbol_3.exchanged;
   }
-  const tint_symbol_2 result = tint_symbol_1;
+  tint_symbol_2 result = tint_symbol_1;
   if (result.exchanged) {
     x = result.old_value;
   }
@@ -40,7 +40,7 @@
 }
 
 tint_symbol foo() {
-  const int inner_result = foo_inner();
+  int inner_result = foo_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.dxc.hlsl b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.dxc.hlsl
index 195b93a..4d11905 100644
--- a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.dxc.hlsl
@@ -50,7 +50,7 @@
 }
 
 tint_symbol_3 foo(tint_symbol_2 tint_symbol_1) {
-  const int inner_result = foo_inner(tint_symbol_1.tint_symbol, tint_symbol_1.coord);
+  int inner_result = foo_inner(tint_symbol_1.tint_symbol, tint_symbol_1.coord);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.fxc.hlsl b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.fxc.hlsl
index 195b93a..4d11905 100644
--- a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.fxc.hlsl
@@ -50,7 +50,7 @@
 }
 
 tint_symbol_3 foo(tint_symbol_2 tint_symbol_1) {
-  const int inner_result = foo_inner(tint_symbol_1.tint_symbol, tint_symbol_1.coord);
+  int inner_result = foo_inner(tint_symbol_1.tint_symbol, tint_symbol_1.coord);
   tint_symbol_3 wrapper_result = (tint_symbol_3)0;
   wrapper_result.value = inner_result;
   if (tint_discarded) {
diff --git a/test/tint/statements/increment/complex.wgsl.expected.dxc.hlsl b/test/tint/statements/increment/complex.wgsl.expected.dxc.hlsl
index 1e38d83..32aba90 100644
--- a/test/tint/statements/increment/complex.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/increment/complex.wgsl.expected.dxc.hlsl
@@ -38,9 +38,9 @@
 
 void main() {
   {
-    const int tint_symbol_save = idx1();
-    const int tint_symbol_save_1 = idx2();
-    const int tint_symbol_1 = idx3();
+    int tint_symbol_save = idx1();
+    int tint_symbol_save_1 = idx2();
+    int tint_symbol_1 = idx3();
     buffer.Store((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))))) + 1)));
     while (true) {
       if (!((v < 10u))) {
@@ -49,9 +49,9 @@
       {
       }
       {
-        const int tint_symbol_2_save = idx4();
-        const int tint_symbol_2_save_1 = idx5();
-        const int tint_symbol_3 = idx6();
+        int tint_symbol_2_save = idx4();
+        int tint_symbol_2_save_1 = idx5();
+        int tint_symbol_3 = idx6();
         buffer.Store((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))))) + 1)));
       }
     }
diff --git a/test/tint/statements/increment/complex.wgsl.expected.fxc.hlsl b/test/tint/statements/increment/complex.wgsl.expected.fxc.hlsl
index 1e38d83..32aba90 100644
--- a/test/tint/statements/increment/complex.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/increment/complex.wgsl.expected.fxc.hlsl
@@ -38,9 +38,9 @@
 
 void main() {
   {
-    const int tint_symbol_save = idx1();
-    const int tint_symbol_save_1 = idx2();
-    const int tint_symbol_1 = idx3();
+    int tint_symbol_save = idx1();
+    int tint_symbol_save_1 = idx2();
+    int tint_symbol_1 = idx3();
     buffer.Store((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_save)) + (16u * uint(tint_symbol_save_1))) + (4u * uint(tint_symbol_1))))) + 1)));
     while (true) {
       if (!((v < 10u))) {
@@ -49,9 +49,9 @@
       {
       }
       {
-        const int tint_symbol_2_save = idx4();
-        const int tint_symbol_2_save_1 = idx5();
-        const int tint_symbol_3 = idx6();
+        int tint_symbol_2_save = idx4();
+        int tint_symbol_2_save_1 = idx5();
+        int tint_symbol_3 = idx6();
         buffer.Store((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))), asuint((asint(buffer.Load((((64u * uint(tint_symbol_2_save)) + (16u * uint(tint_symbol_2_save_1))) + (4u * uint(tint_symbol_3))))) + 1)));
       }
     }
diff --git a/test/tint/statements/increment/vector_component.wgsl.expected.dxc.hlsl b/test/tint/statements/increment/vector_component.wgsl.expected.dxc.hlsl
index 6f0066f..f820fba 100644
--- a/test/tint/statements/increment/vector_component.wgsl.expected.dxc.hlsl
+++ b/test/tint/statements/increment/vector_component.wgsl.expected.dxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer a : register(u0);
 
 void main() {
-  const int tint_symbol_1 = 1;
+  int tint_symbol_1 = 1;
   a.Store((4u * uint(tint_symbol_1)), asuint((a.Load((4u * uint(tint_symbol_1))) + 1u)));
   a.Store(8u, asuint((a.Load(8u) + 1u)));
 }
diff --git a/test/tint/statements/increment/vector_component.wgsl.expected.fxc.hlsl b/test/tint/statements/increment/vector_component.wgsl.expected.fxc.hlsl
index 6f0066f..f820fba 100644
--- a/test/tint/statements/increment/vector_component.wgsl.expected.fxc.hlsl
+++ b/test/tint/statements/increment/vector_component.wgsl.expected.fxc.hlsl
@@ -6,7 +6,7 @@
 RWByteAddressBuffer a : register(u0);
 
 void main() {
-  const int tint_symbol_1 = 1;
+  int tint_symbol_1 = 1;
   a.Store((4u * uint(tint_symbol_1)), asuint((a.Load((4u * uint(tint_symbol_1))) + 1u)));
   a.Store(8u, asuint((a.Load(8u) + 1u)));
 }
diff --git a/test/tint/struct/type_initializer.wgsl.expected.dxc.hlsl b/test/tint/struct/type_initializer.wgsl.expected.dxc.hlsl
index 83e59e0..6d633cd 100644
--- a/test/tint/struct/type_initializer.wgsl.expected.dxc.hlsl
+++ b/test/tint/struct/type_initializer.wgsl.expected.dxc.hlsl
@@ -19,28 +19,28 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = 42;
-  const S1 empty = (S1)0;
-  const S1 nonempty = {1, 2, 3, 4};
-  const S1 nonempty_with_expr = {1, x, (x + 1), nonempty.d};
-  const S3 nested_empty = (S3)0;
-  const S3 nested_nonempty = {1, {2, 3, 4, 5}, {6, {7, 8, 9, 10}}};
-  const S1 tint_symbol = {2, x, (x + 1), nested_nonempty.i.f.d};
-  const S2 tint_symbol_1 = {6, nonempty};
-  const S3 nested_nonempty_with_expr = {1, tint_symbol, tint_symbol_1};
-  const int subexpr_empty = 0;
-  const int subexpr_nonempty = 2;
-  const S1 tint_symbol_2 = {1, x, (x + 1), nonempty.d};
-  const int subexpr_nonempty_with_expr = tint_symbol_2.c;
-  const S1 subexpr_nested_empty = (S1)0;
-  const S1 subexpr_nested_nonempty = {2, 3, 4, 5};
-  const S1 tint_symbol_3 = {2, x, (x + 1), nested_nonempty.i.f.d};
-  const S2 tint_symbol_4 = {1, tint_symbol_3};
-  const S1 subexpr_nested_nonempty_with_expr = tint_symbol_4.f;
-  const T aosoa_empty[2] = (T[2])0;
-  const T aosoa_nonempty[2] = {{{1, 2}}, {{3, 4}}};
-  const int tint_symbol_5[2] = {1, (aosoa_nonempty[0].a[0] + 1)};
-  const T tint_symbol_6 = {tint_symbol_5};
-  const T aosoa_nonempty_with_expr[2] = {tint_symbol_6, aosoa_nonempty[1]};
+  int x = 42;
+  S1 empty = (S1)0;
+  S1 nonempty = {1, 2, 3, 4};
+  S1 nonempty_with_expr = {1, x, (x + 1), nonempty.d};
+  S3 nested_empty = (S3)0;
+  S3 nested_nonempty = {1, {2, 3, 4, 5}, {6, {7, 8, 9, 10}}};
+  S1 tint_symbol = {2, x, (x + 1), nested_nonempty.i.f.d};
+  S2 tint_symbol_1 = {6, nonempty};
+  S3 nested_nonempty_with_expr = {1, tint_symbol, tint_symbol_1};
+  int subexpr_empty = 0;
+  int subexpr_nonempty = 2;
+  S1 tint_symbol_2 = {1, x, (x + 1), nonempty.d};
+  int subexpr_nonempty_with_expr = tint_symbol_2.c;
+  S1 subexpr_nested_empty = (S1)0;
+  S1 subexpr_nested_nonempty = {2, 3, 4, 5};
+  S1 tint_symbol_3 = {2, x, (x + 1), nested_nonempty.i.f.d};
+  S2 tint_symbol_4 = {1, tint_symbol_3};
+  S1 subexpr_nested_nonempty_with_expr = tint_symbol_4.f;
+  T aosoa_empty[2] = (T[2])0;
+  T aosoa_nonempty[2] = {{{1, 2}}, {{3, 4}}};
+  int tint_symbol_5[2] = {1, (aosoa_nonempty[0].a[0] + 1)};
+  T tint_symbol_6 = {tint_symbol_5};
+  T aosoa_nonempty_with_expr[2] = {tint_symbol_6, aosoa_nonempty[1]};
   return;
 }
diff --git a/test/tint/struct/type_initializer.wgsl.expected.fxc.hlsl b/test/tint/struct/type_initializer.wgsl.expected.fxc.hlsl
index 83e59e0..6d633cd 100644
--- a/test/tint/struct/type_initializer.wgsl.expected.fxc.hlsl
+++ b/test/tint/struct/type_initializer.wgsl.expected.fxc.hlsl
@@ -19,28 +19,28 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const int x = 42;
-  const S1 empty = (S1)0;
-  const S1 nonempty = {1, 2, 3, 4};
-  const S1 nonempty_with_expr = {1, x, (x + 1), nonempty.d};
-  const S3 nested_empty = (S3)0;
-  const S3 nested_nonempty = {1, {2, 3, 4, 5}, {6, {7, 8, 9, 10}}};
-  const S1 tint_symbol = {2, x, (x + 1), nested_nonempty.i.f.d};
-  const S2 tint_symbol_1 = {6, nonempty};
-  const S3 nested_nonempty_with_expr = {1, tint_symbol, tint_symbol_1};
-  const int subexpr_empty = 0;
-  const int subexpr_nonempty = 2;
-  const S1 tint_symbol_2 = {1, x, (x + 1), nonempty.d};
-  const int subexpr_nonempty_with_expr = tint_symbol_2.c;
-  const S1 subexpr_nested_empty = (S1)0;
-  const S1 subexpr_nested_nonempty = {2, 3, 4, 5};
-  const S1 tint_symbol_3 = {2, x, (x + 1), nested_nonempty.i.f.d};
-  const S2 tint_symbol_4 = {1, tint_symbol_3};
-  const S1 subexpr_nested_nonempty_with_expr = tint_symbol_4.f;
-  const T aosoa_empty[2] = (T[2])0;
-  const T aosoa_nonempty[2] = {{{1, 2}}, {{3, 4}}};
-  const int tint_symbol_5[2] = {1, (aosoa_nonempty[0].a[0] + 1)};
-  const T tint_symbol_6 = {tint_symbol_5};
-  const T aosoa_nonempty_with_expr[2] = {tint_symbol_6, aosoa_nonempty[1]};
+  int x = 42;
+  S1 empty = (S1)0;
+  S1 nonempty = {1, 2, 3, 4};
+  S1 nonempty_with_expr = {1, x, (x + 1), nonempty.d};
+  S3 nested_empty = (S3)0;
+  S3 nested_nonempty = {1, {2, 3, 4, 5}, {6, {7, 8, 9, 10}}};
+  S1 tint_symbol = {2, x, (x + 1), nested_nonempty.i.f.d};
+  S2 tint_symbol_1 = {6, nonempty};
+  S3 nested_nonempty_with_expr = {1, tint_symbol, tint_symbol_1};
+  int subexpr_empty = 0;
+  int subexpr_nonempty = 2;
+  S1 tint_symbol_2 = {1, x, (x + 1), nonempty.d};
+  int subexpr_nonempty_with_expr = tint_symbol_2.c;
+  S1 subexpr_nested_empty = (S1)0;
+  S1 subexpr_nested_nonempty = {2, 3, 4, 5};
+  S1 tint_symbol_3 = {2, x, (x + 1), nested_nonempty.i.f.d};
+  S2 tint_symbol_4 = {1, tint_symbol_3};
+  S1 subexpr_nested_nonempty_with_expr = tint_symbol_4.f;
+  T aosoa_empty[2] = (T[2])0;
+  T aosoa_nonempty[2] = {{{1, 2}}, {{3, 4}}};
+  int tint_symbol_5[2] = {1, (aosoa_nonempty[0].a[0] + 1)};
+  T tint_symbol_6 = {tint_symbol_5};
+  T aosoa_nonempty_with_expr[2] = {tint_symbol_6, aosoa_nonempty[1]};
   return;
 }
diff --git a/test/tint/types/function_scope_declarations.wgsl.expected.dxc.hlsl b/test/tint/types/function_scope_declarations.wgsl.expected.dxc.hlsl
index a373898..93a082c 100644
--- a/test/tint/types/function_scope_declarations.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/function_scope_declarations.wgsl.expected.dxc.hlsl
@@ -5,24 +5,24 @@
 [numthreads(1, 1, 1)]
 void main() {
   bool bool_var = false;
-  const bool bool_let = false;
+  bool bool_let = false;
   int i32_var = 0;
-  const int i32_let = 0;
+  int i32_let = 0;
   uint u32_var = 0u;
-  const uint u32_let = 0u;
+  uint u32_let = 0u;
   float f32_var = 0.0f;
-  const float f32_let = 0.0f;
+  float f32_let = 0.0f;
   int2 v2i32_var = (0).xx;
-  const int2 v2i32_let = (0).xx;
+  int2 v2i32_let = (0).xx;
   uint3 v3u32_var = (0u).xxx;
-  const uint3 v3u32_let = (0u).xxx;
+  uint3 v3u32_let = (0u).xxx;
   float4 v4f32_var = (0.0f).xxxx;
-  const float4 v4f32_let = (0.0f).xxxx;
+  float4 v4f32_let = (0.0f).xxxx;
   float2x3 m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float3x4 m3x4_let = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
+  float3x4 m3x4_let = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
   float arr_var[4] = (float[4])0;
-  const float arr_let[4] = (float[4])0;
+  float arr_let[4] = (float[4])0;
   S struct_var = (S)0;
-  const S struct_let = (S)0;
+  S struct_let = (S)0;
   return;
 }
diff --git a/test/tint/types/function_scope_declarations.wgsl.expected.fxc.hlsl b/test/tint/types/function_scope_declarations.wgsl.expected.fxc.hlsl
index a373898..93a082c 100644
--- a/test/tint/types/function_scope_declarations.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/function_scope_declarations.wgsl.expected.fxc.hlsl
@@ -5,24 +5,24 @@
 [numthreads(1, 1, 1)]
 void main() {
   bool bool_var = false;
-  const bool bool_let = false;
+  bool bool_let = false;
   int i32_var = 0;
-  const int i32_let = 0;
+  int i32_let = 0;
   uint u32_var = 0u;
-  const uint u32_let = 0u;
+  uint u32_let = 0u;
   float f32_var = 0.0f;
-  const float f32_let = 0.0f;
+  float f32_let = 0.0f;
   int2 v2i32_var = (0).xx;
-  const int2 v2i32_let = (0).xx;
+  int2 v2i32_let = (0).xx;
   uint3 v3u32_var = (0u).xxx;
-  const uint3 v3u32_let = (0u).xxx;
+  uint3 v3u32_let = (0u).xxx;
   float4 v4f32_var = (0.0f).xxxx;
-  const float4 v4f32_let = (0.0f).xxxx;
+  float4 v4f32_let = (0.0f).xxxx;
   float2x3 m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float3x4 m3x4_let = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
+  float3x4 m3x4_let = float3x4((0.0f).xxxx, (0.0f).xxxx, (0.0f).xxxx);
   float arr_var[4] = (float[4])0;
-  const float arr_let[4] = (float[4])0;
+  float arr_let[4] = (float[4])0;
   S struct_var = (S)0;
-  const S struct_let = (S)0;
+  S struct_let = (S)0;
   return;
 }
diff --git a/test/tint/types/functions/return_types.wgsl.expected.dxc.hlsl b/test/tint/types/functions/return_types.wgsl.expected.dxc.hlsl
index 2e82c6e..8410487 100644
--- a/test/tint/types/functions/return_types.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/return_types.wgsl.expected.dxc.hlsl
@@ -36,12 +36,12 @@
 
 typedef float ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const float tint_symbol[4] = (float[4])0;
+  float tint_symbol[4] = (float[4])0;
   return tint_symbol;
 }
 
 S ret_struct() {
-  const S tint_symbol_1 = (S)0;
+  S tint_symbol_1 = (S)0;
   return tint_symbol_1;
 }
 
diff --git a/test/tint/types/functions/return_types.wgsl.expected.fxc.hlsl b/test/tint/types/functions/return_types.wgsl.expected.fxc.hlsl
index 2e82c6e..8410487 100644
--- a/test/tint/types/functions/return_types.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/return_types.wgsl.expected.fxc.hlsl
@@ -36,12 +36,12 @@
 
 typedef float ret_arr_ret[4];
 ret_arr_ret ret_arr() {
-  const float tint_symbol[4] = (float[4])0;
+  float tint_symbol[4] = (float[4])0;
   return tint_symbol;
 }
 
 S ret_struct() {
-  const S tint_symbol_1 = (S)0;
+  S tint_symbol_1 = (S)0;
   return tint_symbol_1;
 }
 
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.dxc.hlsl
index c764ee6..49b32a1 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 };
 
 void main_inner(uint3 local_invocation_id, uint local_invocation_index, uint3 global_invocation_id, uint3 workgroup_id, uint3 num_workgroups) {
-  const uint foo = ((((local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
+  uint foo = ((((local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.fxc.hlsl
index c764ee6..49b32a1 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 };
 
 void main_inner(uint3 local_invocation_id, uint local_invocation_index, uint3 global_invocation_id, uint3 workgroup_id, uint3 num_workgroups) {
-  const uint foo = ((((local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
+  uint foo = ((((local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + workgroup_id.x) + num_workgroups.x);
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.dxc.hlsl
index 1014e9d..d1b82ab 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.dxc.hlsl
@@ -17,12 +17,12 @@
 };
 
 void main_inner(ComputeInputs inputs) {
-  const uint foo = ((((inputs.local_invocation_id.x + inputs.local_invocation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
+  uint foo = ((((inputs.local_invocation_id.x + inputs.local_invocation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
 }
 
 [numthreads(1, 1, 1)]
 void main(tint_symbol_1 tint_symbol) {
-  const ComputeInputs tint_symbol_4 = {tint_symbol.local_invocation_id, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol.workgroup_id, tint_symbol_3[0].xyz};
+  ComputeInputs tint_symbol_4 = {tint_symbol.local_invocation_id, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol.workgroup_id, tint_symbol_3[0].xyz};
   main_inner(tint_symbol_4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.fxc.hlsl
index 1014e9d..d1b82ab 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.fxc.hlsl
@@ -17,12 +17,12 @@
 };
 
 void main_inner(ComputeInputs inputs) {
-  const uint foo = ((((inputs.local_invocation_id.x + inputs.local_invocation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
+  uint foo = ((((inputs.local_invocation_id.x + inputs.local_invocation_index) + inputs.global_invocation_id.x) + inputs.workgroup_id.x) + inputs.num_workgroups.x);
 }
 
 [numthreads(1, 1, 1)]
 void main(tint_symbol_1 tint_symbol) {
-  const ComputeInputs tint_symbol_4 = {tint_symbol.local_invocation_id, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol.workgroup_id, tint_symbol_3[0].xyz};
+  ComputeInputs tint_symbol_4 = {tint_symbol.local_invocation_id, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol.workgroup_id, tint_symbol_3[0].xyz};
   main_inner(tint_symbol_4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.dxc.hlsl
index e72a9d2..850cf2e 100644
--- a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.dxc.hlsl
@@ -12,13 +12,13 @@
 };
 
 void main_inner(ComputeInputs0 inputs0, uint local_invocation_index, uint3 global_invocation_id, ComputeInputs1 inputs1) {
-  const uint foo = (((inputs0.local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + inputs1.workgroup_id.x);
+  uint foo = (((inputs0.local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + inputs1.workgroup_id.x);
 }
 
 [numthreads(1, 1, 1)]
 void main(tint_symbol_1 tint_symbol) {
-  const ComputeInputs0 tint_symbol_2 = {tint_symbol.local_invocation_id};
-  const ComputeInputs1 tint_symbol_3 = {tint_symbol.workgroup_id};
+  ComputeInputs0 tint_symbol_2 = {tint_symbol.local_invocation_id};
+  ComputeInputs1 tint_symbol_3 = {tint_symbol.workgroup_id};
   main_inner(tint_symbol_2, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol_3);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.fxc.hlsl
index e72a9d2..850cf2e 100644
--- a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.fxc.hlsl
@@ -12,13 +12,13 @@
 };
 
 void main_inner(ComputeInputs0 inputs0, uint local_invocation_index, uint3 global_invocation_id, ComputeInputs1 inputs1) {
-  const uint foo = (((inputs0.local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + inputs1.workgroup_id.x);
+  uint foo = (((inputs0.local_invocation_id.x + local_invocation_index) + global_invocation_id.x) + inputs1.workgroup_id.x);
 }
 
 [numthreads(1, 1, 1)]
 void main(tint_symbol_1 tint_symbol) {
-  const ComputeInputs0 tint_symbol_2 = {tint_symbol.local_invocation_id};
-  const ComputeInputs1 tint_symbol_3 = {tint_symbol.workgroup_id};
+  ComputeInputs0 tint_symbol_2 = {tint_symbol.local_invocation_id};
+  ComputeInputs1 tint_symbol_3 = {tint_symbol.workgroup_id};
   main_inner(tint_symbol_2, tint_symbol.local_invocation_index, tint_symbol.global_invocation_id, tint_symbol_3);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.dxc.hlsl
index 8e1d0db..9d79e16 100644
--- a/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const ComputeInputs tint_symbol = {WaveGetLaneIndex(), WaveGetLaneCount()};
+  ComputeInputs tint_symbol = {WaveGetLaneIndex(), WaveGetLaneCount()};
   main_inner(tint_symbol);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.dxc.hlsl
index 3631210..fc97df2 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.dxc.hlsl
@@ -7,8 +7,8 @@
 
 void main_inner(float4 position, bool front_facing, uint sample_index, uint sample_mask) {
   if (front_facing) {
-    const float4 foo = position;
-    const uint bar = (sample_index + sample_mask);
+    float4 foo = position;
+    uint bar = (sample_index + sample_mask);
   }
 }
 
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.fxc.hlsl
index 3631210..fc97df2 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.fxc.hlsl
@@ -7,8 +7,8 @@
 
 void main_inner(float4 position, bool front_facing, uint sample_index, uint sample_mask) {
   if (front_facing) {
-    const float4 foo = position;
-    const uint bar = (sample_index + sample_mask);
+    float4 foo = position;
+    uint bar = (sample_index + sample_mask);
   }
 }
 
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.dxc.hlsl
index b879c8f..471e0a0 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.dxc.hlsl
@@ -13,13 +13,13 @@
 
 void main_inner(FragmentInputs inputs) {
   if (inputs.front_facing) {
-    const float4 foo = inputs.position;
-    const uint bar = (inputs.sample_index + inputs.sample_mask);
+    float4 foo = inputs.position;
+    uint bar = (inputs.sample_index + inputs.sample_mask);
   }
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.front_facing, tint_symbol.sample_index, tint_symbol.sample_mask};
+  FragmentInputs tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.front_facing, tint_symbol.sample_index, tint_symbol.sample_mask};
   main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.fxc.hlsl
index b879c8f..471e0a0 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.fxc.hlsl
@@ -13,13 +13,13 @@
 
 void main_inner(FragmentInputs inputs) {
   if (inputs.front_facing) {
-    const float4 foo = inputs.position;
-    const uint bar = (inputs.sample_index + inputs.sample_mask);
+    float4 foo = inputs.position;
+    uint bar = (inputs.sample_index + inputs.sample_mask);
   }
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.front_facing, tint_symbol.sample_index, tint_symbol.sample_mask};
+  FragmentInputs tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.front_facing, tint_symbol.sample_index, tint_symbol.sample_mask};
   main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.dxc.hlsl
index e54969e..29b19e6 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.dxc.hlsl
@@ -6,10 +6,10 @@
 };
 
 void main_inner(int loc0, uint loc1, float loc2, float4 loc3) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
 }
 
 void main(tint_symbol_1 tint_symbol) {
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.fxc.hlsl
index e54969e..29b19e6 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.fxc.hlsl
@@ -6,10 +6,10 @@
 };
 
 void main_inner(int loc0, uint loc1, float loc2, float4 loc3) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
 }
 
 void main(tint_symbol_1 tint_symbol) {
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.dxc.hlsl
index 44d85fb..64bb6fd 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.dxc.hlsl
@@ -8,12 +8,12 @@
 };
 
 void main_inner(int loc0, uint loc1, float loc2, float4 loc3, float16_t loc4, vector<float16_t, 3> loc5) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
-  const float16_t x = loc4;
-  const vector<float16_t, 3> y = loc5;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
+  float16_t x = loc4;
+  vector<float16_t, 3> y = loc5;
 }
 
 void main(tint_symbol_1 tint_symbol) {
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.dxc.hlsl
index 9564509..326c1cd 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.dxc.hlsl
@@ -12,14 +12,14 @@
 };
 
 void main_inner(FragmentInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
+  FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
   main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.fxc.hlsl
index 9564509..326c1cd 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.fxc.hlsl
@@ -12,14 +12,14 @@
 };
 
 void main_inner(FragmentInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
+  FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
   main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.dxc.hlsl
index 15a56ef..7e152de 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.dxc.hlsl
@@ -16,16 +16,16 @@
 };
 
 void main_inner(FragmentInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
-  const float16_t x = inputs.loc4;
-  const vector<float16_t, 3> y = inputs.loc5;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
+  float16_t x = inputs.loc4;
+  vector<float16_t, 3> y = inputs.loc5;
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5};
+  FragmentInputs tint_symbol_2 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5};
   main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.dxc.hlsl
index 325b786..4778ea5 100644
--- a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.dxc.hlsl
@@ -19,18 +19,18 @@
 
 void main_inner(FragmentInputs0 inputs0, bool front_facing, uint loc1, uint sample_index, FragmentInputs1 inputs1, float loc2) {
   if (front_facing) {
-    const float4 foo = inputs0.position;
-    const uint bar = (sample_index + inputs1.sample_mask);
-    const int i = inputs0.loc0;
-    const uint u = loc1;
-    const float f = loc2;
-    const float4 v = inputs1.loc3;
+    float4 foo = inputs0.position;
+    uint bar = (sample_index + inputs1.sample_mask);
+    int i = inputs0.loc0;
+    uint u = loc1;
+    float f = loc2;
+    float4 v = inputs1.loc3;
   }
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
-  const FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.sample_mask};
+  FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
+  FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.sample_mask};
   main_inner(tint_symbol_2, tint_symbol.front_facing, tint_symbol.loc1, tint_symbol.sample_index, tint_symbol_3, tint_symbol.loc2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.fxc.hlsl
index 325b786..4778ea5 100644
--- a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.fxc.hlsl
@@ -19,18 +19,18 @@
 
 void main_inner(FragmentInputs0 inputs0, bool front_facing, uint loc1, uint sample_index, FragmentInputs1 inputs1, float loc2) {
   if (front_facing) {
-    const float4 foo = inputs0.position;
-    const uint bar = (sample_index + inputs1.sample_mask);
-    const int i = inputs0.loc0;
-    const uint u = loc1;
-    const float f = loc2;
-    const float4 v = inputs1.loc3;
+    float4 foo = inputs0.position;
+    uint bar = (sample_index + inputs1.sample_mask);
+    int i = inputs0.loc0;
+    uint u = loc1;
+    float f = loc2;
+    float4 v = inputs1.loc3;
   }
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
-  const FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.sample_mask};
+  FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
+  FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.sample_mask};
   main_inner(tint_symbol_2, tint_symbol.front_facing, tint_symbol.loc1, tint_symbol.sample_index, tint_symbol_3, tint_symbol.loc2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.dxc.hlsl
index cb9d49a..24f7a77 100644
--- a/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.dxc.hlsl
@@ -22,20 +22,20 @@
 
 void main_inner(FragmentInputs0 inputs0, bool front_facing, uint loc1, uint sample_index, FragmentInputs1 inputs1, float loc2, float16_t loc4) {
   if (front_facing) {
-    const float4 foo = inputs0.position;
-    const uint bar = (sample_index + inputs1.sample_mask);
-    const int i = inputs0.loc0;
-    const uint u = loc1;
-    const float f = loc2;
-    const float4 v = inputs1.loc3;
-    const float16_t x = loc4;
-    const vector<float16_t, 3> y = inputs1.loc5;
+    float4 foo = inputs0.position;
+    uint bar = (sample_index + inputs1.sample_mask);
+    int i = inputs0.loc0;
+    uint u = loc1;
+    float f = loc2;
+    float4 v = inputs1.loc3;
+    float16_t x = loc4;
+    vector<float16_t, 3> y = inputs1.loc5;
   }
 }
 
 void main(tint_symbol_1 tint_symbol) {
-  const FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
-  const FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.loc5, tint_symbol.sample_mask};
+  FragmentInputs0 tint_symbol_2 = {float4(tint_symbol.position.xyz, (1.0f / tint_symbol.position.w)), tint_symbol.loc0};
+  FragmentInputs1 tint_symbol_3 = {tint_symbol.loc3, tint_symbol.loc5, tint_symbol.sample_mask};
   main_inner(tint_symbol_2, tint_symbol.front_facing, tint_symbol.loc1, tint_symbol.sample_index, tint_symbol_3, tint_symbol.loc2, tint_symbol.loc4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.dxc.hlsl
index 2b972d7..9822d87 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main1() {
-  const float inner_result = main1_inner();
+  float inner_result = main1_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -22,7 +22,7 @@
 }
 
 tint_symbol_1 main2() {
-  const uint inner_result_1 = main2_inner();
+  uint inner_result_1 = main2_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.fxc.hlsl
index 2b972d7..9822d87 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main1() {
-  const float inner_result = main1_inner();
+  float inner_result = main1_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -22,7 +22,7 @@
 }
 
 tint_symbol_1 main2() {
-  const uint inner_result_1 = main2_inner();
+  uint inner_result_1 = main2_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.dxc.hlsl
index 2d2e660..58cf4f8 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.dxc.hlsl
@@ -8,12 +8,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1.0f, 1u};
+  FragmentOutputs tint_symbol_1 = {1.0f, 1u};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.frag_depth = inner_result.frag_depth;
   wrapper_result.sample_mask = inner_result.sample_mask;
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.fxc.hlsl
index 2d2e660..58cf4f8 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.fxc.hlsl
@@ -8,12 +8,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1.0f, 1u};
+  FragmentOutputs tint_symbol_1 = {1.0f, 1u};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.frag_depth = inner_result.frag_depth;
   wrapper_result.sample_mask = inner_result.sample_mask;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.dxc.hlsl
index 0a9e48f..625e2ea 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main0() {
-  const int inner_result = main0_inner();
+  int inner_result = main0_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -22,7 +22,7 @@
 }
 
 tint_symbol_1 main1() {
-  const uint inner_result_1 = main1_inner();
+  uint inner_result_1 = main1_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
@@ -37,7 +37,7 @@
 }
 
 tint_symbol_2 main2() {
-  const float inner_result_2 = main2_inner();
+  float inner_result_2 = main2_inner();
   tint_symbol_2 wrapper_result_2 = (tint_symbol_2)0;
   wrapper_result_2.value = inner_result_2;
   return wrapper_result_2;
@@ -52,7 +52,7 @@
 }
 
 tint_symbol_3 main3() {
-  const float4 inner_result_3 = main3_inner();
+  float4 inner_result_3 = main3_inner();
   tint_symbol_3 wrapper_result_3 = (tint_symbol_3)0;
   wrapper_result_3.value = inner_result_3;
   return wrapper_result_3;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.fxc.hlsl
index 0a9e48f..625e2ea 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main0() {
-  const int inner_result = main0_inner();
+  int inner_result = main0_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -22,7 +22,7 @@
 }
 
 tint_symbol_1 main1() {
-  const uint inner_result_1 = main1_inner();
+  uint inner_result_1 = main1_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
@@ -37,7 +37,7 @@
 }
 
 tint_symbol_2 main2() {
-  const float inner_result_2 = main2_inner();
+  float inner_result_2 = main2_inner();
   tint_symbol_2 wrapper_result_2 = (tint_symbol_2)0;
   wrapper_result_2.value = inner_result_2;
   return wrapper_result_2;
@@ -52,7 +52,7 @@
 }
 
 tint_symbol_3 main3() {
-  const float4 inner_result_3 = main3_inner();
+  float4 inner_result_3 = main3_inner();
   tint_symbol_3 wrapper_result_3 = (tint_symbol_3)0;
   wrapper_result_3.value = inner_result_3;
   return wrapper_result_3;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.dxc.hlsl
index d8826de..5bd872d 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main0() {
-  const int inner_result = main0_inner();
+  int inner_result = main0_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
@@ -22,7 +22,7 @@
 }
 
 tint_symbol_1 main1() {
-  const uint inner_result_1 = main1_inner();
+  uint inner_result_1 = main1_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
@@ -37,7 +37,7 @@
 }
 
 tint_symbol_2 main2() {
-  const float inner_result_2 = main2_inner();
+  float inner_result_2 = main2_inner();
   tint_symbol_2 wrapper_result_2 = (tint_symbol_2)0;
   wrapper_result_2.value = inner_result_2;
   return wrapper_result_2;
@@ -52,7 +52,7 @@
 }
 
 tint_symbol_3 main3() {
-  const float4 inner_result_3 = main3_inner();
+  float4 inner_result_3 = main3_inner();
   tint_symbol_3 wrapper_result_3 = (tint_symbol_3)0;
   wrapper_result_3.value = inner_result_3;
   return wrapper_result_3;
@@ -67,7 +67,7 @@
 }
 
 tint_symbol_4 main4() {
-  const float16_t inner_result_4 = main4_inner();
+  float16_t inner_result_4 = main4_inner();
   tint_symbol_4 wrapper_result_4 = (tint_symbol_4)0;
   wrapper_result_4.value = inner_result_4;
   return wrapper_result_4;
@@ -82,7 +82,7 @@
 }
 
 tint_symbol_5 main5() {
-  const vector<float16_t, 3> inner_result_5 = main5_inner();
+  vector<float16_t, 3> inner_result_5 = main5_inner();
   tint_symbol_5 wrapper_result_5 = (tint_symbol_5)0;
   wrapper_result_5.value = inner_result_5;
   return wrapper_result_5;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.dxc.hlsl
index 09216c3..0989957 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.dxc.hlsl
@@ -12,12 +12,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.fxc.hlsl
index 09216c3..0989957 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.fxc.hlsl
@@ -12,12 +12,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.dxc.hlsl
index b3a78ae..acf0e10 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.dxc.hlsl
@@ -16,12 +16,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
+  FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.dxc.hlsl
index 8658875..12c18a9 100644
--- a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.dxc.hlsl
@@ -16,12 +16,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.frag_depth = inner_result.frag_depth;
diff --git a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.fxc.hlsl
index 8658875..12c18a9 100644
--- a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.fxc.hlsl
@@ -16,12 +16,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.frag_depth = inner_result.frag_depth;
diff --git a/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.dxc.hlsl
index ca07eba..8532d6a 100644
--- a/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.dxc.hlsl
@@ -20,12 +20,12 @@
 };
 
 FragmentOutputs main_inner() {
-  const FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f), float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
+  FragmentOutputs tint_symbol_1 = {1, 2.0f, 1u, 1.0f, 2u, float4(1.0f, 2.0f, 3.0f, 4.0f), float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const FragmentOutputs inner_result = main_inner();
+  FragmentOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.frag_depth = inner_result.frag_depth;
diff --git a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.dxc.hlsl
index 8e884cd..ae911c1 100644
--- a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.dxc.hlsl
@@ -27,7 +27,7 @@
 }
 
 void main(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.none, tint_symbol_1.flat, tint_symbol_1.perspective_center, tint_symbol_1.perspective_centroid, tint_symbol_1.perspective_sample, tint_symbol_1.linear_center, tint_symbol_1.linear_centroid, tint_symbol_1.linear_sample, tint_symbol_1.perspective_default, tint_symbol_1.linear_default};
+  In tint_symbol_3 = {tint_symbol_1.none, tint_symbol_1.flat, tint_symbol_1.perspective_center, tint_symbol_1.perspective_centroid, tint_symbol_1.perspective_sample, tint_symbol_1.linear_center, tint_symbol_1.linear_centroid, tint_symbol_1.linear_sample, tint_symbol_1.perspective_default, tint_symbol_1.linear_default};
   main_inner(tint_symbol_3);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.fxc.hlsl
index 8e884cd..ae911c1 100644
--- a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.fxc.hlsl
@@ -27,7 +27,7 @@
 }
 
 void main(tint_symbol_2 tint_symbol_1) {
-  const In tint_symbol_3 = {tint_symbol_1.none, tint_symbol_1.flat, tint_symbol_1.perspective_center, tint_symbol_1.perspective_centroid, tint_symbol_1.perspective_sample, tint_symbol_1.linear_center, tint_symbol_1.linear_centroid, tint_symbol_1.linear_sample, tint_symbol_1.perspective_default, tint_symbol_1.linear_default};
+  In tint_symbol_3 = {tint_symbol_1.none, tint_symbol_1.flat, tint_symbol_1.perspective_center, tint_symbol_1.perspective_centroid, tint_symbol_1.perspective_sample, tint_symbol_1.linear_center, tint_symbol_1.linear_centroid, tint_symbol_1.linear_sample, tint_symbol_1.perspective_default, tint_symbol_1.linear_default};
   main_inner(tint_symbol_3);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.dxc.hlsl
index ef17951..6cc080a 100644
--- a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.dxc.hlsl
@@ -14,12 +14,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_4 = (Interface)0;
+  Interface tint_symbol_4 = (Interface)0;
   return tint_symbol_4;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.i = inner_result.i;
   wrapper_result.u = inner_result.u;
@@ -45,8 +45,8 @@
 }
 
 tint_symbol_3 frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_5 = {tint_symbol_1.i, tint_symbol_1.u, tint_symbol_1.vi, tint_symbol_1.vu, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
-  const int inner_result_1 = frag_main_inner(tint_symbol_5);
+  Interface tint_symbol_5 = {tint_symbol_1.i, tint_symbol_1.u, tint_symbol_1.vi, tint_symbol_1.vu, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  int inner_result_1 = frag_main_inner(tint_symbol_5);
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.fxc.hlsl
index ef17951..6cc080a 100644
--- a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.fxc.hlsl
@@ -14,12 +14,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_4 = (Interface)0;
+  Interface tint_symbol_4 = (Interface)0;
   return tint_symbol_4;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.i = inner_result.i;
   wrapper_result.u = inner_result.u;
@@ -45,8 +45,8 @@
 }
 
 tint_symbol_3 frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_5 = {tint_symbol_1.i, tint_symbol_1.u, tint_symbol_1.vi, tint_symbol_1.vu, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
-  const int inner_result_1 = frag_main_inner(tint_symbol_5);
+  Interface tint_symbol_5 = {tint_symbol_1.i, tint_symbol_1.u, tint_symbol_1.vi, tint_symbol_1.vu, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  int inner_result_1 = frag_main_inner(tint_symbol_5);
   tint_symbol_3 wrapper_result_1 = (tint_symbol_3)0;
   wrapper_result_1.value = inner_result_1;
   return wrapper_result_1;
diff --git a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.dxc.hlsl
index 1929097..eee99a6 100644
--- a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.dxc.hlsl
@@ -22,12 +22,12 @@
 };
 
 Out main_inner() {
-  const Out tint_symbol_1 = (Out)0;
+  Out tint_symbol_1 = (Out)0;
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const Out inner_result = main_inner();
+  Out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   wrapper_result.none = inner_result.none;
diff --git a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.fxc.hlsl
index 1929097..eee99a6 100644
--- a/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/interpolate_return_struct.wgsl.expected.fxc.hlsl
@@ -22,12 +22,12 @@
 };
 
 Out main_inner() {
-  const Out tint_symbol_1 = (Out)0;
+  Out tint_symbol_1 = (Out)0;
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const Out inner_result = main_inner();
+  Out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   wrapper_result.none = inner_result.none;
diff --git a/test/tint/types/functions/shader_io/invariant.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/invariant.wgsl.expected.dxc.hlsl
index 9bf6b97..c52fac4 100644
--- a/test/tint/types/functions/shader_io/invariant.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/invariant.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/invariant.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/invariant.wgsl.expected.fxc.hlsl
index 9bf6b97..c52fac4 100644
--- a/test/tint/types/functions/shader_io/invariant.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/invariant.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.dxc.hlsl
index b99e552..43e5f1f 100644
--- a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 Out main_inner() {
-  const Out tint_symbol_1 = (Out)0;
+  Out tint_symbol_1 = (Out)0;
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const Out inner_result = main_inner();
+  Out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.fxc.hlsl
index b99e552..43e5f1f 100644
--- a/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 Out main_inner() {
-  const Out tint_symbol_1 = (Out)0;
+  Out tint_symbol_1 = (Out)0;
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const Out inner_result = main_inner();
+  Out inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.dxc.hlsl
index ca5dbf6..c238fc2 100644
--- a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.dxc.hlsl
@@ -10,12 +10,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_3 = {0.40000000596046447754f, 0.60000002384185791016f, (0.0f).xxxx};
+  Interface tint_symbol_3 = {0.40000000596046447754f, 0.60000002384185791016f, (0.0f).xxxx};
   return tint_symbol_3;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.col1 = inner_result.col1;
   wrapper_result.col2 = inner_result.col2;
@@ -30,12 +30,12 @@
 };
 
 void frag_main_inner(Interface colors) {
-  const float r = colors.col1;
-  const float g = colors.col2;
+  float r = colors.col1;
+  float g = colors.col2;
 }
 
 void frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   frag_main_inner(tint_symbol_4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.fxc.hlsl
index ca5dbf6..c238fc2 100644
--- a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.fxc.hlsl
@@ -10,12 +10,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_3 = {0.40000000596046447754f, 0.60000002384185791016f, (0.0f).xxxx};
+  Interface tint_symbol_3 = {0.40000000596046447754f, 0.60000002384185791016f, (0.0f).xxxx};
   return tint_symbol_3;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.col1 = inner_result.col1;
   wrapper_result.col2 = inner_result.col2;
@@ -30,12 +30,12 @@
 };
 
 void frag_main_inner(Interface colors) {
-  const float r = colors.col1;
-  const float g = colors.col2;
+  float r = colors.col1;
+  float g = colors.col2;
 }
 
 void frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   frag_main_inner(tint_symbol_4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.dxc.hlsl
index e5ba250..aac0032 100644
--- a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.dxc.hlsl
@@ -10,12 +10,12 @@
 };
 
 Interface vert_main_inner() {
-  const Interface tint_symbol_3 = {0.40000000596046447754f, float16_t(0.599609375h), (0.0f).xxxx};
+  Interface tint_symbol_3 = {0.40000000596046447754f, float16_t(0.599609375h), (0.0f).xxxx};
   return tint_symbol_3;
 }
 
 tint_symbol vert_main() {
-  const Interface inner_result = vert_main_inner();
+  Interface inner_result = vert_main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.col1 = inner_result.col1;
   wrapper_result.col2 = inner_result.col2;
@@ -30,12 +30,12 @@
 };
 
 void frag_main_inner(Interface colors) {
-  const float r = colors.col1;
-  const float16_t g = colors.col2;
+  float r = colors.col1;
+  float16_t g = colors.col2;
 }
 
 void frag_main(tint_symbol_2 tint_symbol_1) {
-  const Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
+  Interface tint_symbol_4 = {tint_symbol_1.col1, tint_symbol_1.col2, float4(tint_symbol_1.pos.xyz, (1.0f / tint_symbol_1.pos.w))};
   frag_main_inner(tint_symbol_4);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.dxc.hlsl
index 0e90b3c..ebb275b 100644
--- a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.dxc.hlsl
@@ -4,7 +4,7 @@
 };
 
 VertexOutput foo(float x) {
-  const VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f), 42};
+  VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f), 42};
   return tint_symbol_2;
 }
 
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vert_main1() {
-  const VertexOutput inner_result = vert_main1_inner();
+  VertexOutput inner_result = vert_main1_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   wrapper_result.loc0 = inner_result.loc0;
@@ -35,7 +35,7 @@
 }
 
 tint_symbol_1 vert_main2() {
-  const VertexOutput inner_result_1 = vert_main2_inner();
+  VertexOutput inner_result_1 = vert_main2_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.pos = inner_result_1.pos;
   wrapper_result_1.loc0 = inner_result_1.loc0;
diff --git a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.fxc.hlsl
index 0e90b3c..ebb275b 100644
--- a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.fxc.hlsl
@@ -4,7 +4,7 @@
 };
 
 VertexOutput foo(float x) {
-  const VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f), 42};
+  VertexOutput tint_symbol_2 = {float4(x, x, x, 1.0f), 42};
   return tint_symbol_2;
 }
 
@@ -18,7 +18,7 @@
 }
 
 tint_symbol vert_main1() {
-  const VertexOutput inner_result = vert_main1_inner();
+  VertexOutput inner_result = vert_main1_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.pos = inner_result.pos;
   wrapper_result.loc0 = inner_result.loc0;
@@ -35,7 +35,7 @@
 }
 
 tint_symbol_1 vert_main2() {
-  const VertexOutput inner_result_1 = vert_main2_inner();
+  VertexOutput inner_result_1 = vert_main2_inner();
   tint_symbol_1 wrapper_result_1 = (tint_symbol_1)0;
   wrapper_result_1.pos = inner_result_1.pos;
   wrapper_result_1.loc0 = inner_result_1.loc0;
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.dxc.hlsl
index 52427a5..a243d03 100644
--- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.dxc.hlsl
@@ -19,14 +19,14 @@
 }
 
 void frag_main_inner(S input) {
-  const float f = input.f;
-  const uint u = input.u;
-  const float4 v = input.v;
+  float f = input.f;
+  uint u = input.u;
+  float4 v = input.v;
   output_store(0u, input);
 }
 
 void frag_main(tint_symbol_1 tint_symbol) {
-  const S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w))};
+  S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w))};
   frag_main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.fxc.hlsl
index 52427a5..a243d03 100644
--- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.fxc.hlsl
@@ -19,14 +19,14 @@
 }
 
 void frag_main_inner(S input) {
-  const float f = input.f;
-  const uint u = input.u;
-  const float4 v = input.v;
+  float f = input.f;
+  uint u = input.u;
+  float4 v = input.v;
   output_store(0u, input);
 }
 
 void frag_main(tint_symbol_1 tint_symbol) {
-  const S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w))};
+  S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w))};
   frag_main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.dxc.hlsl
index 655283b..ee8861a 100644
--- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.dxc.hlsl
@@ -25,16 +25,16 @@
 }
 
 void frag_main_inner(S input) {
-  const float f = input.f;
-  const uint u = input.u;
-  const float4 v = input.v;
-  const float16_t x = input.x;
-  const vector<float16_t, 3> y = input.y;
+  float f = input.f;
+  uint u = input.u;
+  float4 v = input.v;
+  float16_t x = input.x;
+  vector<float16_t, 3> y = input.y;
   output_store(0u, input);
 }
 
 void frag_main(tint_symbol_1 tint_symbol) {
-  const S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w)), tint_symbol.x, tint_symbol.y};
+  S tint_symbol_2 = {tint_symbol.f, tint_symbol.u, float4(tint_symbol.v.xyz, (1.0f / tint_symbol.v.w)), tint_symbol.x, tint_symbol.y};
   frag_main_inner(tint_symbol_2);
   return;
 }
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.dxc.hlsl
index cb5f7c7..3ac8133 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.dxc.hlsl
@@ -7,12 +7,12 @@
 };
 
 float4 main_inner(uint vertex_index, uint instance_index) {
-  const uint foo = (vertex_index + instance_index);
+  uint foo = (vertex_index + instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
+  float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.fxc.hlsl
index cb5f7c7..3ac8133 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.fxc.hlsl
@@ -7,12 +7,12 @@
 };
 
 float4 main_inner(uint vertex_index, uint instance_index) {
-  const uint foo = (vertex_index + instance_index);
+  uint foo = (vertex_index + instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
+  float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.dxc.hlsl
index 74369c8..90cd618 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.dxc.hlsl
@@ -11,13 +11,13 @@
 };
 
 float4 main_inner(VertexInputs inputs) {
-  const uint foo = (inputs.vertex_index + inputs.instance_index);
+  uint foo = (inputs.vertex_index + inputs.instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.instance_index};
-  const float4 inner_result = main_inner(tint_symbol_3);
+  VertexInputs tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.instance_index};
+  float4 inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.fxc.hlsl
index 74369c8..90cd618 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.fxc.hlsl
@@ -11,13 +11,13 @@
 };
 
 float4 main_inner(VertexInputs inputs) {
-  const uint foo = (inputs.vertex_index + inputs.instance_index);
+  uint foo = (inputs.vertex_index + inputs.instance_index);
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.instance_index};
-  const float4 inner_result = main_inner(tint_symbol_3);
+  VertexInputs tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.instance_index};
+  float4 inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.dxc.hlsl
index c803987..2749e7e 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.dxc.hlsl
@@ -9,15 +9,15 @@
 };
 
 float4 main_inner(int loc0, uint loc1, float loc2, float4 loc3) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3);
+  float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.fxc.hlsl
index c803987..2749e7e 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations.wgsl.expected.fxc.hlsl
@@ -9,15 +9,15 @@
 };
 
 float4 main_inner(int loc0, uint loc1, float loc2, float4 loc3) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3);
+  float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations_f16.wgsl.expected.dxc.hlsl
index 6962a01..f6ab754 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_f16.wgsl.expected.dxc.hlsl
@@ -11,17 +11,17 @@
 };
 
 float4 main_inner(int loc0, uint loc1, float loc2, float4 loc3, float16_t loc4, vector<float16_t, 3> loc5) {
-  const int i = loc0;
-  const uint u = loc1;
-  const float f = loc2;
-  const float4 v = loc3;
-  const float16_t x = loc4;
-  const vector<float16_t, 3> y = loc5;
+  int i = loc0;
+  uint u = loc1;
+  float f = loc2;
+  float4 v = loc3;
+  float16_t x = loc4;
+  vector<float16_t, 3> y = loc5;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5);
+  float4 inner_result = main_inner(tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.dxc.hlsl
index 4ef6fb7..e527ab4 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.dxc.hlsl
@@ -15,16 +15,16 @@
 };
 
 float4 main_inner(VertexInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3);
+  VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.fxc.hlsl
index 4ef6fb7..e527ab4 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.fxc.hlsl
@@ -15,16 +15,16 @@
 };
 
 float4 main_inner(VertexInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3);
+  VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.dxc.hlsl
index dcb2c0d..6d2279e 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.dxc.hlsl
@@ -19,18 +19,18 @@
 };
 
 float4 main_inner(VertexInputs inputs) {
-  const int i = inputs.loc0;
-  const uint u = inputs.loc1;
-  const float f = inputs.loc2;
-  const float4 v = inputs.loc3;
-  const float16_t x = inputs.loc4;
-  const vector<float16_t, 3> y = inputs.loc5;
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  float4 v = inputs.loc3;
+  float16_t x = inputs.loc4;
+  vector<float16_t, 3> y = inputs.loc5;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5};
-  const float4 inner_result = main_inner(tint_symbol_3);
+  VertexInputs tint_symbol_3 = {tint_symbol.loc0, tint_symbol.loc1, tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc4, tint_symbol.loc5};
+  float4 inner_result = main_inner(tint_symbol_3);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.dxc.hlsl
index 39b42ef..775505f 100644
--- a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.dxc.hlsl
@@ -19,18 +19,18 @@
 };
 
 float4 main_inner(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
-  const uint foo = (inputs0.vertex_index + instance_index);
-  const int i = inputs0.loc0;
-  const uint u = loc1;
-  const float f = inputs1.loc2;
-  const float4 v = inputs1.loc3;
+  uint foo = (inputs0.vertex_index + instance_index);
+  int i = inputs0.loc0;
+  uint u = loc1;
+  float f = inputs1.loc2;
+  float4 v = inputs1.loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
-  const VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
+  VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
+  VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.fxc.hlsl
index 39b42ef..775505f 100644
--- a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.fxc.hlsl
@@ -19,18 +19,18 @@
 };
 
 float4 main_inner(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
-  const uint foo = (inputs0.vertex_index + instance_index);
-  const int i = inputs0.loc0;
-  const uint u = loc1;
-  const float f = inputs1.loc2;
-  const float4 v = inputs1.loc3;
+  uint foo = (inputs0.vertex_index + instance_index);
+  int i = inputs0.loc0;
+  uint u = loc1;
+  float f = inputs1.loc2;
+  float4 v = inputs1.loc3;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
-  const VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3};
-  const float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
+  VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
+  VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3};
+  float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.dxc.hlsl
index dfac345..6056c22 100644
--- a/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.dxc.hlsl
@@ -22,20 +22,20 @@
 };
 
 float4 main_inner(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1, float16_t loc4) {
-  const uint foo = (inputs0.vertex_index + instance_index);
-  const int i = inputs0.loc0;
-  const uint u = loc1;
-  const float f = inputs1.loc2;
-  const float4 v = inputs1.loc3;
-  const float16_t x = loc4;
-  const vector<float16_t, 3> y = inputs1.loc5;
+  uint foo = (inputs0.vertex_index + instance_index);
+  int i = inputs0.loc0;
+  uint u = loc1;
+  float f = inputs1.loc2;
+  float4 v = inputs1.loc3;
+  float16_t x = loc4;
+  vector<float16_t, 3> y = inputs1.loc5;
   return (0.0f).xxxx;
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
-  const VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc5};
-  const float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4, tint_symbol.loc4);
+  VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
+  VertexInputs1 tint_symbol_4 = {tint_symbol.loc2, tint_symbol.loc3, tint_symbol.loc5};
+  float4 inner_result = main_inner(tint_symbol_3, tint_symbol.loc1, tint_symbol.instance_index, tint_symbol_4, tint_symbol.loc4);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.dxc.hlsl
index d08b5d5..fd38426 100644
--- a/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.fxc.hlsl
index d08b5d5..fd38426 100644
--- a/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_builtins.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.dxc.hlsl
index eeaba96..8b3acfb 100644
--- a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.dxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 VertexOutputs main_inner() {
-  const VertexOutputs tint_symbol_1 = {float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  VertexOutputs tint_symbol_1 = {float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const VertexOutputs inner_result = main_inner();
+  VertexOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.position = inner_result.position;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.fxc.hlsl
index eeaba96..8b3acfb 100644
--- a/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_builtins_struct.wgsl.expected.fxc.hlsl
@@ -6,12 +6,12 @@
 };
 
 VertexOutputs main_inner() {
-  const VertexOutputs tint_symbol_1 = {float4(1.0f, 2.0f, 3.0f, 4.0f)};
+  VertexOutputs tint_symbol_1 = {float4(1.0f, 2.0f, 3.0f, 4.0f)};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const VertexOutputs inner_result = main_inner();
+  VertexOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.position = inner_result.position;
   return wrapper_result;
diff --git a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.dxc.hlsl
index 0dad730..98edf31 100644
--- a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.dxc.hlsl
@@ -14,12 +14,12 @@
 };
 
 VertexOutputs main_inner() {
-  const VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx};
+  VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const VertexOutputs inner_result = main_inner();
+  VertexOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.fxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.fxc.hlsl
index 0dad730..98edf31 100644
--- a/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_locations_struct.wgsl.expected.fxc.hlsl
@@ -14,12 +14,12 @@
 };
 
 VertexOutputs main_inner() {
-  const VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx};
+  VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const VertexOutputs inner_result = main_inner();
+  VertexOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.dxc.hlsl b/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.dxc.hlsl
index 32c2611..61d22b7 100644
--- a/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/functions/shader_io/vertex_output_locations_struct_f16.wgsl.expected.dxc.hlsl
@@ -18,12 +18,12 @@
 };
 
 VertexOutputs main_inner() {
-  const VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx, float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
+  VertexOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f), (0.0f).xxxx, float16_t(2.25h), vector<float16_t, 3>(float16_t(3.0h), float16_t(5.0h), float16_t(8.0h))};
   return tint_symbol_1;
 }
 
 tint_symbol main() {
-  const VertexOutputs inner_result = main_inner();
+  VertexOutputs inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.loc0 = inner_result.loc0;
   wrapper_result.loc1 = inner_result.loc1;
diff --git a/test/tint/types/module_scope_private_initializers.wgsl.expected.dxc.hlsl b/test/tint/types/module_scope_private_initializers.wgsl.expected.dxc.hlsl
index 3ab84bb..9ea06eb 100644
--- a/test/tint/types/module_scope_private_initializers.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/module_scope_private_initializers.wgsl.expected.dxc.hlsl
@@ -3,6 +3,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float x = (a + b);
+  float x = (a + b);
   return;
 }
diff --git a/test/tint/types/module_scope_private_initializers.wgsl.expected.fxc.hlsl b/test/tint/types/module_scope_private_initializers.wgsl.expected.fxc.hlsl
index 3ab84bb..9ea06eb 100644
--- a/test/tint/types/module_scope_private_initializers.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/module_scope_private_initializers.wgsl.expected.fxc.hlsl
@@ -3,6 +3,6 @@
 
 [numthreads(1, 1, 1)]
 void main() {
-  const float x = (a + b);
+  float x = (a + b);
   return;
 }
diff --git a/test/tint/types/module_scope_used_in_functions.wgsl.expected.dxc.hlsl b/test/tint/types/module_scope_used_in_functions.wgsl.expected.dxc.hlsl
index 8d5915c..70b43bd 100644
--- a/test/tint/types/module_scope_used_in_functions.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/module_scope_used_in_functions.wgsl.expected.dxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 void foo(float a) {
-  const float b = 2.0f;
+  float b = 2.0f;
   bar(a, b);
   no_uses();
 }
diff --git a/test/tint/types/module_scope_used_in_functions.wgsl.expected.fxc.hlsl b/test/tint/types/module_scope_used_in_functions.wgsl.expected.fxc.hlsl
index 8d5915c..70b43bd 100644
--- a/test/tint/types/module_scope_used_in_functions.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/module_scope_used_in_functions.wgsl.expected.fxc.hlsl
@@ -18,7 +18,7 @@
 }
 
 void foo(float a) {
-  const float b = 2.0f;
+  float b = 2.0f;
   bar(a, b);
   no_uses();
 }
diff --git a/test/tint/types/module_scope_var.wgsl.expected.dxc.hlsl b/test/tint/types/module_scope_var.wgsl.expected.dxc.hlsl
index ae021cf..469edef 100644
--- a/test/tint/types/module_scope_var.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/module_scope_var.wgsl.expected.dxc.hlsl
@@ -31,9 +31,9 @@
   v3u32_var = (0u).xxx;
   v4f32_var = (0.0f).xxxx;
   m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float tint_symbol_2[4] = (float[4])0;
+  float tint_symbol_2[4] = (float[4])0;
   arr_var = tint_symbol_2;
-  const S tint_symbol_3 = (S)0;
+  S tint_symbol_3 = (S)0;
   struct_var = tint_symbol_3;
   wg_var = 42.0f;
 }
diff --git a/test/tint/types/module_scope_var.wgsl.expected.fxc.hlsl b/test/tint/types/module_scope_var.wgsl.expected.fxc.hlsl
index ae021cf..469edef 100644
--- a/test/tint/types/module_scope_var.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/module_scope_var.wgsl.expected.fxc.hlsl
@@ -31,9 +31,9 @@
   v3u32_var = (0u).xxx;
   v4f32_var = (0.0f).xxxx;
   m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float tint_symbol_2[4] = (float[4])0;
+  float tint_symbol_2[4] = (float[4])0;
   arr_var = tint_symbol_2;
-  const S tint_symbol_3 = (S)0;
+  S tint_symbol_3 = (S)0;
   struct_var = tint_symbol_3;
   wg_var = 42.0f;
 }
diff --git a/test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl b/test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl
index 4693209..d8a3e84 100644
--- a/test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/module_scope_var_initializers.wgsl.expected.dxc.hlsl
@@ -23,9 +23,9 @@
   v3u32_var = (0u).xxx;
   v4f32_var = (0.0f).xxxx;
   m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float tint_symbol[4] = (float[4])0;
+  float tint_symbol[4] = (float[4])0;
   arr_var = tint_symbol;
-  const S tint_symbol_1 = (S)0;
+  S tint_symbol_1 = (S)0;
   struct_var = tint_symbol_1;
   return;
 }
diff --git a/test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl b/test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl
index 4693209..d8a3e84 100644
--- a/test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/module_scope_var_initializers.wgsl.expected.fxc.hlsl
@@ -23,9 +23,9 @@
   v3u32_var = (0u).xxx;
   v4f32_var = (0.0f).xxxx;
   m2x3_var = float2x3((0.0f).xxx, (0.0f).xxx);
-  const float tint_symbol[4] = (float[4])0;
+  float tint_symbol[4] = (float[4])0;
   arr_var = tint_symbol;
-  const S tint_symbol_1 = (S)0;
+  S tint_symbol_1 = (S)0;
   struct_var = tint_symbol_1;
   return;
 }
diff --git a/test/tint/types/module_scope_vars_pointers.wgsl.expected.dxc.hlsl b/test/tint/types/module_scope_vars_pointers.wgsl.expected.dxc.hlsl
index 416a3a1..9957007 100644
--- a/test/tint/types/module_scope_vars_pointers.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/module_scope_vars_pointers.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
     w = 0.0f;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float x = (p + w);
+  float x = (p + w);
   p = x;
 }
 
diff --git a/test/tint/types/module_scope_vars_pointers.wgsl.expected.fxc.hlsl b/test/tint/types/module_scope_vars_pointers.wgsl.expected.fxc.hlsl
index 416a3a1..9957007 100644
--- a/test/tint/types/module_scope_vars_pointers.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/module_scope_vars_pointers.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
     w = 0.0f;
   }
   GroupMemoryBarrierWithGroupSync();
-  const float x = (p + w);
+  float x = (p + w);
   p = x;
 }
 
diff --git a/test/tint/types/short_names/short_names.wgsl.expected.dxc.hlsl b/test/tint/types/short_names/short_names.wgsl.expected.dxc.hlsl
index e32fc26..491d290 100644
--- a/test/tint/types/short_names/short_names.wgsl.expected.dxc.hlsl
+++ b/test/tint/types/short_names/short_names.wgsl.expected.dxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/types/short_names/short_names.wgsl.expected.fxc.hlsl b/test/tint/types/short_names/short_names.wgsl.expected.fxc.hlsl
index e32fc26..491d290 100644
--- a/test/tint/types/short_names/short_names.wgsl.expected.fxc.hlsl
+++ b/test/tint/types/short_names/short_names.wgsl.expected.fxc.hlsl
@@ -10,7 +10,7 @@
 }
 
 tint_symbol_2 main(tint_symbol_1 tint_symbol) {
-  const float4 inner_result = main_inner(tint_symbol.VertexIndex);
+  float4 inner_result = main_inner(tint_symbol.VertexIndex);
   tint_symbol_2 wrapper_result = (tint_symbol_2)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/unicode/identifiers.wgsl.expected.dxc.hlsl b/test/tint/unicode/identifiers.wgsl.expected.dxc.hlsl
index d82de3a..f869b8f 100644
--- a/test/tint/unicode/identifiers.wgsl.expected.dxc.hlsl
+++ b/test/tint/unicode/identifiers.wgsl.expected.dxc.hlsl
@@ -4,6 +4,6 @@
 
 void tint_symbol_4() {
   int tint_symbol_5 = 0;
-  const float tint_symbol_6 = tint_symbol_2(tint_symbol_5);
+  float tint_symbol_6 = tint_symbol_2(tint_symbol_5);
   return;
 }
diff --git a/test/tint/unicode/identifiers.wgsl.expected.fxc.hlsl b/test/tint/unicode/identifiers.wgsl.expected.fxc.hlsl
index d82de3a..f869b8f 100644
--- a/test/tint/unicode/identifiers.wgsl.expected.fxc.hlsl
+++ b/test/tint/unicode/identifiers.wgsl.expected.fxc.hlsl
@@ -4,6 +4,6 @@
 
 void tint_symbol_4() {
   int tint_symbol_5 = 0;
-  const float tint_symbol_6 = tint_symbol_2(tint_symbol_5);
+  float tint_symbol_6 = tint_symbol_2(tint_symbol_5);
   return;
 }
diff --git a/test/tint/var/inferred/function.wgsl.expected.dxc.hlsl b/test/tint/var/inferred/function.wgsl.expected.dxc.hlsl
index a0070ce..97f09dc 100644
--- a/test/tint/var/inferred/function.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/inferred/function.wgsl.expected.dxc.hlsl
@@ -15,13 +15,13 @@
 }
 
 MyStruct ret_MyStruct() {
-  const MyStruct tint_symbol_1 = (MyStruct)0;
+  MyStruct tint_symbol_1 = (MyStruct)0;
   return tint_symbol_1;
 }
 
 typedef float ret_MyArray_ret[10];
 ret_MyArray_ret ret_MyArray() {
-  const float tint_symbol_2[10] = (float[10])0;
+  float tint_symbol_2[10] = (float[10])0;
   return tint_symbol_2;
 }
 
@@ -52,7 +52,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/var/inferred/function.wgsl.expected.fxc.hlsl b/test/tint/var/inferred/function.wgsl.expected.fxc.hlsl
index a0070ce..97f09dc 100644
--- a/test/tint/var/inferred/function.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/inferred/function.wgsl.expected.fxc.hlsl
@@ -15,13 +15,13 @@
 }
 
 MyStruct ret_MyStruct() {
-  const MyStruct tint_symbol_1 = (MyStruct)0;
+  MyStruct tint_symbol_1 = (MyStruct)0;
   return tint_symbol_1;
 }
 
 typedef float ret_MyArray_ret[10];
 ret_MyArray_ret ret_MyArray() {
-  const float tint_symbol_2[10] = (float[10])0;
+  float tint_symbol_2[10] = (float[10])0;
   return tint_symbol_2;
 }
 
@@ -52,7 +52,7 @@
 }
 
 tint_symbol main() {
-  const float4 inner_result = main_inner();
+  float4 inner_result = main_inner();
   tint_symbol wrapper_result = (tint_symbol)0;
   wrapper_result.value = inner_result;
   return wrapper_result;
diff --git a/test/tint/var/inferred/global.wgsl.expected.dxc.hlsl b/test/tint/var/inferred/global.wgsl.expected.dxc.hlsl
index 221f4df..2a15099 100644
--- a/test/tint/var/inferred/global.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/inferred/global.wgsl.expected.dxc.hlsl
@@ -22,21 +22,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int l1 = v1;
-  const uint l2 = v2;
-  const float l3 = v3;
-  const int3 l4 = v4;
-  const uint3 l5 = v5;
-  const float3 l6 = v6;
-  const MyStruct l7 = v7;
-  const float l8[10] = v8;
-  const int l9 = v9;
-  const uint l10 = v10;
-  const float l11 = v11;
-  const MyStruct l12 = v12;
-  const MyStruct l13 = v13;
-  const float l14[10] = v14;
-  const int3 l15 = v15;
-  const float3 l16 = v16;
+  int l1 = v1;
+  uint l2 = v2;
+  float l3 = v3;
+  int3 l4 = v4;
+  uint3 l5 = v5;
+  float3 l6 = v6;
+  MyStruct l7 = v7;
+  float l8[10] = v8;
+  int l9 = v9;
+  uint l10 = v10;
+  float l11 = v11;
+  MyStruct l12 = v12;
+  MyStruct l13 = v13;
+  float l14[10] = v14;
+  int3 l15 = v15;
+  float3 l16 = v16;
   return;
 }
diff --git a/test/tint/var/inferred/global.wgsl.expected.fxc.hlsl b/test/tint/var/inferred/global.wgsl.expected.fxc.hlsl
index 221f4df..2a15099 100644
--- a/test/tint/var/inferred/global.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/inferred/global.wgsl.expected.fxc.hlsl
@@ -22,21 +22,21 @@
 
 [numthreads(1, 1, 1)]
 void f() {
-  const int l1 = v1;
-  const uint l2 = v2;
-  const float l3 = v3;
-  const int3 l4 = v4;
-  const uint3 l5 = v5;
-  const float3 l6 = v6;
-  const MyStruct l7 = v7;
-  const float l8[10] = v8;
-  const int l9 = v9;
-  const uint l10 = v10;
-  const float l11 = v11;
-  const MyStruct l12 = v12;
-  const MyStruct l13 = v13;
-  const float l14[10] = v14;
-  const int3 l15 = v15;
-  const float3 l16 = v16;
+  int l1 = v1;
+  uint l2 = v2;
+  float l3 = v3;
+  int3 l4 = v4;
+  uint3 l5 = v5;
+  float3 l6 = v6;
+  MyStruct l7 = v7;
+  float l8[10] = v8;
+  int l9 = v9;
+  uint l10 = v10;
+  float l11 = v11;
+  MyStruct l12 = v12;
+  MyStruct l13 = v13;
+  float l14[10] = v14;
+  int3 l15 = v15;
+  float3 l16 = v16;
   return;
 }
diff --git a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.dxc.hlsl b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.dxc.hlsl
index 97ae139..c1668e1 100644
--- a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.dxc.hlsl
@@ -7,8 +7,8 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 3u);
-      const uint i_1 = (idx % 3u);
+      uint i = (idx / 3u);
+      uint i_1 = (idx % 3u);
       zero[i][i_1] = 0;
     }
   }
diff --git a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.fxc.hlsl b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.fxc.hlsl
index 97ae139..c1668e1 100644
--- a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.fxc.hlsl
@@ -7,8 +7,8 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 6u); idx = (idx + 1u)) {
-      const uint i = (idx / 3u);
-      const uint i_1 = (idx % 3u);
+      uint i = (idx / 3u);
+      uint i_1 = (idx % 3u);
       zero[i][i_1] = 0;
     }
   }
diff --git a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.dxc.hlsl b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.dxc.hlsl
index 34f2593..37b6934 100644
--- a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.dxc.hlsl
@@ -7,7 +7,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 3u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       zero[i] = 0;
     }
   }
diff --git a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.fxc.hlsl b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.fxc.hlsl
index 34f2593..37b6934 100644
--- a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.fxc.hlsl
@@ -7,7 +7,7 @@
 void main_inner(uint local_invocation_index) {
   {
     for(uint idx = local_invocation_index; (idx < 3u); idx = (idx + 1u)) {
-      const uint i = idx;
+      uint i = idx;
       zero[i] = 0;
     }
   }
diff --git a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.dxc.hlsl b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.dxc.hlsl
index d9bc441..43570bd 100644
--- a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.dxc.hlsl
@@ -9,7 +9,7 @@
     v = 0;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int i = v;
+  int i = v;
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.fxc.hlsl b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.fxc.hlsl
index d9bc441..43570bd 100644
--- a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.fxc.hlsl
@@ -9,7 +9,7 @@
     v = 0;
   }
   GroupMemoryBarrierWithGroupSync();
-  const int i = v;
+  int i = v;
 }
 
 [numthreads(1, 1, 1)]
diff --git a/test/tint/var/initialization/workgroup/struct.wgsl.expected.dxc.hlsl b/test/tint/var/initialization/workgroup/struct.wgsl.expected.dxc.hlsl
index 277f3c9..176c584 100644
--- a/test/tint/var/initialization/workgroup/struct.wgsl.expected.dxc.hlsl
+++ b/test/tint/var/initialization/workgroup/struct.wgsl.expected.dxc.hlsl
@@ -11,7 +11,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const S tint_symbol_2 = (S)0;
+    S tint_symbol_2 = (S)0;
     v = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();
diff --git a/test/tint/var/initialization/workgroup/struct.wgsl.expected.fxc.hlsl b/test/tint/var/initialization/workgroup/struct.wgsl.expected.fxc.hlsl
index 277f3c9..176c584 100644
--- a/test/tint/var/initialization/workgroup/struct.wgsl.expected.fxc.hlsl
+++ b/test/tint/var/initialization/workgroup/struct.wgsl.expected.fxc.hlsl
@@ -11,7 +11,7 @@
 
 void main_inner(uint local_invocation_index) {
   {
-    const S tint_symbol_2 = (S)0;
+    S tint_symbol_2 = (S)0;
     v = tint_symbol_2;
   }
   GroupMemoryBarrierWithGroupSync();